Jump to content

Change seed, resimulate and flipbook automatically


syzmatrix

Recommended Posts

Have a look at the Wedge ROP.

You point it at another output ROP driver, like a Geometry ROP set up to render out your geometry sequence.

The Wedge ROP points to the ROP set up to render out whatever. You use stamp variable $WEDGE in the file name in your Geometry ROP something like this:

$HIP/geo/my_geometry_${WEDGE}_$F4.bgeo

The {} are required to properly qualify the variable btw.

The Wedge ROP can now change parameters anywhere in Houdini per wedge pass. You reference in those parameters using a complete path to the parameter. There are two modes as well: random or by iteration.

Link to comment
Share on other sites

I think what Syzmatrix is trying to say, is that he would like to automate the process and I guess it's particularly the part of, after a wedge is finished, triggering a flipbook.

I fantasized about this before, especially because the wedge ROP is very powerful tool to test multiple settings with a minimum amount of effort. The point is that if you generate 10 variations of a sim overnight, you have to manually load them in and flipbook them to get an idea of the result. The problem with this is, is that it can take a lot of time which feels a bit odd since the wedge ROP idea is the opposite. I haven't tested this, but one option would be to do a very quick and cheap mantra render after the sim by connecting a mantra rop to the sim ROP triggered by the Wedge ROP. If you set correct reference paths this should work. If you have access to a farm this makes sense since farm machines usually have no GPU, how ever if you run it on your local machine overnight, it would be faster to use a flipbook method.

I guess the next question would be: Can we trigger a flipbook using a post Python script on a ROP, and halt wedge until the flipbook is finished?

Link to comment
Share on other sites

  • 3 months later...
  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...