Hi everyone.
I 've been having a swimming shader on a geometry while using the marble shader.
Static camera and the geometry with an animated translation in space.
I tried adding a rest positon inside the shader and geometry SOP. But without any luck the shader keeps swimming across the geo.
Any ideas on how I could solve this issue?
Thank you in advance!
Rest Position in Marble shader - H12
4180 6 1-
- dermiroth
- Member
- 3 posts
- Joined: 12月 2012
- Offline
-
- Erik_JE
- Member
- 299 posts
- Joined: 1月 2010
- Offline
-
- tamte
- Member
- 9058 posts
- Joined: 7月 2007
- Offline
without seeing your file it's just a guess but
applying rest position to geometry will not help until it is applied before any deformation happens
or
if you are applying it after deformation make sure to provide rest snapshot of that geometry as Rest SOP's second input (you can just branch timeshift SOP freeze geometry on any frame you like as rest and use that for second input)
you need to be careful if your geometry is changing topology between frames though
applying rest position to geometry will not help until it is applied before any deformation happens
or
if you are applying it after deformation make sure to provide rest snapshot of that geometry as Rest SOP's second input (you can just branch timeshift SOP freeze geometry on any frame you like as rest and use that for second input)
you need to be careful if your geometry is changing topology between frames though
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- dermiroth
- Member
- 3 posts
- Joined: 12月 2012
- Offline
It should work. Its just a matter of me applying it correctly!
I was able to solve this issue in the past with shader that had the Rest Position built in all ready.
Is just the marble shader does not have the Rest P built in.
They aren't any geometry deformations or topology change. I am just trying to render a turntable!
I 've attached the file below.
Thanks
I was able to solve this issue in the past with shader that had the Rest Position built in all ready.
Is just the marble shader does not have the Rest P built in.
They aren't any geometry deformations or topology change. I am just trying to render a turntable!
I 've attached the file below.
Thanks
-
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
Your getting confused in your order of operations. You are doing a sop level transform and then adding a rest sop and not piping the input through the right channel see attached . if you had in coming geometry with animation on at the sop level you could capture the first frame using a timeshift sop.
rob
rob
Gone fishing
-
- dermiroth
- Member
- 3 posts
- Joined: 12月 2012
- Offline
-
- tamte
- Member
- 9058 posts
- Joined: 7月 2007
- Offline
-
- Quick Links