unexpected results for View.setBackClipDistance(x)

Hi,

All I do is this:

        
        View view = simpleU.getViewer().getView();
        view.setBackClipDistance(x);

When I set x to 10, then objects at a distance from 20 are not rendered.

But When I set it to 15, then objects at a distance from 50 are not rendered! Well, I would have expected 30 according to the result when I set it to 10.

How can that be?

My test environment:
I have a ColoredCube at (0.0,0.0,0.0).
I have a player modell which looks at the ColoredCube and which I’m moving along the z-axis.
I determined my position from the Vector3f from the Transform3D from the TransformGroup of my playermodel.

thanx,

Usul

nevermind I made a stupid mistake.

but can anyone explain how the units are converted? like how many meters are there for one cordinate unit? because the API documentation talks of “meters”.

I believe the default convention is 1 unit == 1 meter.

But thats totally arbitrary, ofcourse.

JK