I want to apply a displacement to an object on the Y Axis only.
In my LW background the displacement input is a vector. So I have to feed the object normals and scale them with an image (displacement map). Therefor to apply displacement on the Y I would just feed a Vector with X=0, Y=1, Z=0 and scale it with the image.
Now I notice the displacement here is set on Material and the input it's a scalar. And no matter what I put there it seems to always displace on the polygons normal. Can I have access to the vector of displacement?
I've though I could set the displacement on an ICE tree, where I can probably replace the normals. But I don't know if ICE tree can be set to solve after Render Subdivision or it can only work with Display Subdivision.
Thanks for any highlights.
Cheers
Changing the normals of an object for displacement
-
probiner
- Posts: 127
- Joined: 17 Apr 2013, 09:52
-
Daniel Brassard
- Posts: 878
- Joined: 18 Mar 2010, 22:38
- Location: St. Thomas, Ontario
Re: Changing the normals of an object for displacement
Use a vector to scalar node or color to scalars node to feed into the displacement port in the render tree.
To scale, use a change range node.
If you are using normal maps, don't forget the XSINormalMap3 node.
To scale, use a change range node.
If you are using normal maps, don't forget the XSINormalMap3 node.
$ifndef "Softimage"
set "Softimage" "true"
$endif
set "Softimage" "true"
$endif
-
rray
- Moderator
- Posts: 1810
- Joined: 26 Sep 2009, 13:51
- Location: Bonn, Germany
Re: Changing the normals of an object for displacement
For using world space, use a vector_displacement_map node in displacement in which space_type is set to world space. For the input color, RGB = XYZ then.
softimage resources section updated Sep 26th 2026
-
probiner
- Posts: 127
- Joined: 17 Apr 2013, 09:52
Re: Changing the normals of an object for displacement
Yup, it worked. I used the Vector Displacement Node with Green channel set to 5,0 and input the Map in the scalar.
I first managed to do it on ICE by adding to "Get Point Position" a Y=x, and feeding it into "Set Point Position".
But ICE only works with Modeling Subdivision, not with Render Subdivision right?
Well I found very awkward I couldn't copy nodes from ICE tree to Render tree. In my ignorant head I though these two share most nodes utilities but I was so wrong, it's the other way around. This means there's 2 mindsets going on in parallel? Coming from a quite fragmented app I thought these were quite unified here.
Thanks for sorting it out..
Cheers
I first managed to do it on ICE by adding to "Get Point Position" a Y=x, and feeding it into "Set Point Position".
But ICE only works with Modeling Subdivision, not with Render Subdivision right?
Well I found very awkward I couldn't copy nodes from ICE tree to Render tree. In my ignorant head I though these two share most nodes utilities but I was so wrong, it's the other way around. This means there's 2 mindsets going on in parallel? Coming from a quite fragmented app I thought these were quite unified here.
Thanks for sorting it out..
Cheers