What is the rest position?

   2810   2   1
User Avatar
Member
160 posts
Joined:
Offline
as said in the title.

i has been confused by this word for a long time.
User Avatar
Member
321 posts
Joined: July 2005
Offline
flyingc
as said in the title.

i has been confused by this word for a long time.
It's actually an attribute added to the points, which stores an alternate location for the points (confirm this by comparing difference in .geo files from a cube with and without the addition of a rest SOP).

The rest position information is then used by shaders that, for example, use 3D noise (noise based on position). Without rest position, if you move your cube, you fly “through” the noise. With the rest position added (and assuming that the shader has a parameter called ‘rest’) the noise lookup is done on that rest attribute, which typically is the cube at it's original (unmoved) location. Thus the noise sticks to the surface.
Antoine Durr
Floq FX
antoine@floqfx.com
_________________
User Avatar
Member
160 posts
Joined:
Offline
thank you .
I understand
  • Quick Links