PDA

View Full Version : LW9 displacement nodes


Abigor
03-06-2007, 02:28 PM
hey all, i have a slight problem with the displacement nodes in 9....

while doing some dynamics calculations with a displaced (nodal) ground plane, i noticed the objects kept colliding with a flat plane on the ground, and not the displaced geometry.

i decided to deactivate the displacement nodes, and switch over to the standard old school displacement texture method. once i set this up, the dynamics worked properly again.

so... wats the deal with this? is there some sort of glitch that doesnt report proper displacement info to the dynamics calculations when using the node editor to set up displacements? has anyone else encountered this? found a work around? maybe im just missing something simple?

any insight would be apprecated. thanx everyone!

dpont
03-06-2007, 03:56 PM
Have made some basic tests with a subdivided plane
as FX Collision (object) + 3D Turbulence node input in Y Make Vector
input in Displacement Node Editor, add some Bounce 134%
and a -4m gravity, after calculation it works here.
43434

Denis.

Abigor
03-06-2007, 04:32 PM
aahhh, ok. i c, that works. however, my node tree was slightly different...

i saw an example on here of having a Normal ouput on a SPOT INFO node and a TURBULENCE node feeding into the Vector and Scale inputs respectivly, of a SCALE node. the Result was then input into the DISPLACEMENT node. i think the idea here was that it makes sure the displacement is oreinted correctly along the normals or something.

however, your MAKE VECTOR method has a Scale input (for x y or z) that goes to a Vector output. so, is there anyway to incorporate my above mentioned Normal SPOT INFO node with your MAKE VECTOR node?

and furthur... wat if i was displacing a sphere, and not just a plane. id assume the MAKE VECTOR node (since it seems to only work on 1 axis at a time) wouldnt realy work for that. and then where would that leave the dynamics? there has to be a way to get the displacements to work besides using the MAKE VECTOR node on x y or z, or besides feeding the same displacement into all 3 x y and z channels.

forgive me if im missing realy obvious things, but im new to nodes (arent we all though), but like realy new... haha. i only have a basic understanding. ;D

dpont
03-07-2007, 04:51 AM
I used the Make Vector only because I output a scalar
from the 3D procedural and I wanted to mimic Texture
Displacement on axis basis for height effect.
If you used Normal Displacement (As I know, I posted myself
such example a few weeks ago) you don't need a
Make Vector because you have already one vector with
the "Smoothed Normal" of the spot, then scaled
by a procedural.

Denis.