Search - User list
Full Version: How to make PDG attributes work with Flipbooks?
Root » PDG/TOPs » How to make PDG attributes work with Flipbooks?
alexmajewski
For each work item I render a flipbook using a Python Script.

For each work item I would like to swap geometry in a File SOP using `@pdg_index` to alter the filepath.

When I try this, the PDG attributes don't work during the cook. But when I press on the little dots, now everything starts working. But of course if I recook, it will stop working again.

How can I solve this?

I'm attaching a small test scene showcasing my issue if that helps.

EDIT: I just figured out a workaround, which is to set the parameters using that Python Script itself. It's not very scalable, but at least it works.
alexwheezy
That's some complicated way to render from a viewport. I would use a FilePattern node that would read files from disc and load them into File SOP, and then use the next node ROP Fetch to reference the OpenGL node that would do all the rendering.
alexmajewski
Unfortunately, OpenGL ROP doesn't have that flipbook look, you know what I mean? It doesn't show the viewport guides, the background is black and not that iconic blue gradient.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB