Jump to content

Possible to Transform & Offset (not retime) Ocean Spectrum?


HM_2020

Recommended Posts

This one has me stumped -  is it possible to move and offset (not retime!) Spectrums and corresponding Foam caches post sim?

I'm rendering an Ocean in Karma but need to transform and offset it at render time.

For previews I am timeshifting and transforming the Ocean Preview Grid with applied Spectrum, moving it around in camera to art direct where a wave is along with its Whitewater foam cache etc.  Works great, can easily take a long cache, offset it, move the whole ocean closer or farther from cam as per supervisors needs without having to resim etc.

Realized at render time, simply doing the same to the Spectrum wont work.  Thought to offset the Time in Spectrums but that of course just made totally new patterns in the waves.  And cant move it with a Transform really can you?   I am worried the only way is to bake the geo then move and offset? 

To be clear, I dont want to retime, or change the look or speed of the sim at all.  I simply want to take the cached foam and its corresponding ocean (which works when the spectrum is baked to geo and then moved), and move it in space, and offset its cache a few 100 frames so Karma renders it correctly.  

Cheers!

Link to comment
Share on other sites

Yes, that should be possible. If I'm not mistaken a karmaocean lop node is created together with the ocean in sops. Inside karmaocean lop network you can find a material library with the oceansurface shader and somewhere inside there is a `ocean_samplelayers` node which has an input called `samplepos`. You can try to add your offet before the transform input.

Link to comment
Share on other sites

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...