Rest Attributes samples

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
neonZorglub
OctaneRender Team
Posts: 1002
Joined: Sun Jul 31, 2016 10:08 pm

Rest Attributes
[Available from version 2025.1 Beta1 - 16.01]

Rest attributes remove texture shifting/distortion when using a texture projection that is not UV mapped (no UVs on the mesh) on a mesh with animated vertices.
When enabled, the projections will use rest vertex positions and normals to calculate the UVW coordinates.
Rest attributes don’t change during the animation so the texture mapping remains consistent.
Ref: viewtopic.php?f=33&t=84310

Here is a sample:
Rest_attributes_sample.zip
(163.45 KiB) Downloaded 65 times
restSample01_Frame0.png
Frame 0
restSample01_Frame10.png
Frame 10
restSample01_Frame20.png
Frame 20

There are 2 objects with animated meshes.
The Rest attributes are enabled with the Octane Geometry properties modifier.
Rollout 'Misc' :
Use Rest Position
Use Rest Normals
Rest Pos frame

Note that the Rest Pos frame is set to frame 20.

Settings for the textures applied to object:
Box and Cylindrical projection are used, and the Use rest attributes is enabled.
Note that those projections discard the existing UVs set in those particular meshes.
The Rest attributes will work with meshes that have no UVs.

Move the timeline, and observe that the textures are 'un-deformed' at frame 20, and for other frames, the vertices will keep the same UVs as in frame 20, deforming the texture accordingly.
Post Reply

Return to “Autodesk 3Ds Max”