O.K.

Here's a follow up question to my note yesterday:

If I use a view attach policy of

vp.setViewAttachPolicy(View.NOMINAL_HEAD);

I then call

getNominalEyeOffsetFromNominalScreen()

in my PhysicalBody object and get returned 0.4572 metres (the default).

However when the transform above my ViewPlatform positions the
ViewPlatform approximately 0.69 metres from an object in the scene
(a flat vertical surface) then the screen starts to pass into the object and
I can see what is behind.

I'd have expected this to occur when the transform positioned the ViewPlatform
at 0.4572 metres from the object.

Can anyone explain what's happening please ?

This is all on Java3D 1.2 beta 2 on WinNT 4.0

Thanks
Rob
 

Hi,

I have a scene with standard (default) View, ViewPlatform PhysicalBody etc, except
that I am setting the attach policy for the view by doing:

        vp.setViewAttachPolicy(View.NOMINAL_SCREEN);

Where vp is my ViewPlatform.

Now the problem is that when I rotate my ViewPlatform (e.g. about the Y-axis) I am
expecting to rotate about a point slap-bang in the middle of my screen. What actually
happens is that it appears to rotate about a point roughly 0.5m *in front* of my screen.

I can even place an object at this point and 'orbit' the ViewPlatform around it just by
doing this rotate.

This seems to be consistent with the getNominalEyeOffsetFromNominalScreen() method
in PhysicalBody returning an incorrect value. I am also seeing other inconsistencies with
this method when I try to use a NOMINAL_HEAD attach policy.

Am I missing the point here ? If anyone can explain or comment, I'd appreciate it.

Thanks
Rob
--
 

Rob Nugent
Development Manager
PeerLogic
[EMAIL PROTECTED]
http://www.peerlogic.com
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363
 

Reply via email to