Jump to content
Sign in to follow this  
HM_2020

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

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!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Turns out a simple Timeshift after Materials in LOPS and Transform before works!  

Cheers!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×