H11 wood and stone materials not attached to geometry?

   5066   5   0
User Avatar
Member
30 posts
Joined: Aug. 2010
Offline
Hi,

the wood and stone patterns in the new H11 materials seem not to be attached to the geometry position. Instead they seem to be attached to the camera's position.

The checkerboard material e.g. looks ok.

I've attached a video with a simple camera move.

Anything I can do without diving into the SHOPs ?

Carsten

Attachments:
wood_stone.hipnc (932.9 KB)
untitled.avi (350.0 KB)

User Avatar
Member
8592 posts
Joined: July 2007
Offline
those are 3D procedural patterns computed by position not by uvs so if position changes they will not stick to it
all you need to do is add Rest SOP to your geometry before any deformation
this materials should use rest attribute prior to P if exists

from looking inside of them it seems that stone is ok but for wood you need to plug Rest Position VOP between GlobalP and first input of uvnoise node
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
30 posts
Joined: Aug. 2010
Offline
Hi,

thanks! I wasn't aware of the rest SOP in this case.

I've got still one issue with the stone material, though: I just added the rest sop to a sphere, but the result looks a bit odd: Part of the surface seems to be reverted to the inside ?! Besides, I need “polygons as sub/d” to get a decent rendering.

Carsten

Attachments:
stone_rest.hipnc (725.1 KB)
compare.png (140.3 KB)

User Avatar
Member
8592 posts
Joined: July 2007
Offline
it seems that stone material is not set up correctly either

connect GlobalP to first input of displacenml node

there is restpos connected there now which is in another coord system and therefore causing problems
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
30 posts
Joined: Aug. 2010
Offline
tamte
it seems that stone material is not set up correctly either

connect GlobalP to first input of displacenml node

there is restpos connected there now which is in another coord system and therefore causing problems

Yep, that solved it! Thank you very much for your help!

I suppose I should file a bug report?

Carsten
User Avatar
Staff
1449 posts
Joined: July 2005
Offline
Both of these issues are fixed in H 11.0.477.
@carstenw: thanks for spotting the bug
@tamte: thanks for investigating and describing the fixes
  • Quick Links