Forum

Far plane near plane

is it possible to set near plane and far plane for each object differently if all are displayed in one renderer with one connected perspective node ?

nope. near and far plane are directly related to the projection matrix. the matrix projects the z in view space so, that the range from near to far plane matches the range 1…0. this also influences the precision of the depth buffer…

mmm, are u sure ? :) actually i only want to set the far plane to let some objects dispear in the background.

maybe there is another way.

perhaps you could scramble your meshes using ArbitraryPoint (EX9.Geometry Vector).v4p (from kalle.Modules.EX9.Geometry ) and Clamp (3d)

it might be possible to make a small shader, in which the objects you want to clip are multiplied with a different matrix for the projection…

why not just fade them out with alpha? or fog…

after theyre faded out you can delete them or move them to another place to save drawing performance…

thanx for your thoughts.

@ele, your right, i was just looking for another way using farplane to some extent. i use fog anyway as u know ;)