HM_2020 Posted November 17, 2022 Share Posted November 17, 2022 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! Quote Link to comment Share on other sites More sharing options...
haggi Posted November 17, 2022 Share Posted November 17, 2022 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. Quote Link to comment Share on other sites More sharing options...
HM_2020 Posted November 18, 2022 Author Share Posted November 18, 2022 Turns out a simple Timeshift after Materials in LOPS and Transform before works! Cheers! Quote Link to comment Share on other sites More sharing options...
haggi Posted November 20, 2022 Share Posted November 20, 2022 Cool, good to know. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.