Message 1 of 13
Arnold + Time Node + Procedural Control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having a bit of an issue translating some OSL and workflows into Arnold and wondering if anyone has a good solution that does not involve keyframes.
Is there a way for Arnold to read time and then be able to manipulate that in the shader? @lee_griggs
I built a procedural animation system via OSL so instead of keyframes a user just turns on a checkbox and it will jitter the XY of the image offset and then they can input in a number to animate on every 2/3/4/5/etc frames to be like stop motion. Also to have it loop like old school animation cycles.
This relies entirely on reading the timeline (frame number) of the scene though and then doing math to that input. In Redshift "Frame Step" does not exist as a node so I wrote an OSL that just reads the scene frame number (since each scene could be 30fps , 24 fps, etc) and it worked great.
I'm using the same OSL code in Arnold but figuring out how to input it in Arnold though is not working for me. It compiles and works but does not update the XY image at all.
It started with this basic concept but then grew from there: https://www.youtube.com/watch?v=-KN-IGsLzS4
Is there a way for Arnold to read time and then be able to manipulate that in the shader? @lee_griggs
I built a procedural animation system via OSL so instead of keyframes a user just turns on a checkbox and it will jitter the XY of the image offset and then they can input in a number to animate on every 2/3/4/5/etc frames to be like stop motion. Also to have it loop like old school animation cycles.
This relies entirely on reading the timeline (frame number) of the scene though and then doing math to that input. In Redshift "Frame Step" does not exist as a node so I wrote an OSL that just reads the scene frame number (since each scene could be 30fps , 24 fps, etc) and it worked great.
I'm using the same OSL code in Arnold but figuring out how to input it in Arnold though is not working for me. It compiles and works but does not update the XY image at all.
It started with this basic concept but then grew from there: https://www.youtube.com/watch?v=-KN-IGsLzS4
I asked chat gpt and it said Arnold can not read time via Shader (looking specifically for Maya solution) but chat gpt is not always right! Hence asking here. I am trying my very best to not force keyframes into the shaders and would love to get it into Arnold if possible or some other fix or code.