Dear all,

I have two problems about viewing my scene: My scene has a bounds with a center (x,y,z) and with a radius of r. What I am doing is creating a viewplatform (at 0,0,0) and rotate it a little bit to see my scene in 3D (PI/6), translate it to my center and move it a little bit back to view the objects.

Two questions:

1) I need to view my scene not in perspective but in parallel projection. If I apply
planView.setProjectionPolicy(View.PARALLEL_PROJECTION);
I see that my canvas is full of one object; I can't see the scene (see orto.jpg). But if I do not use this method I see the scene correctly (but in perspective ofcourse; see pers.jpg). What should I do to view in parallel projection?

2) When I run my application for the first time, the canvases on each tab does not show my scene immediately. If click to the second tab and come back to the first tab I could be able to see my scene. Is this a bug?

I am using j2sdk1.4.0_01 and java3d-1_3-beta2-windows-i586-opengl-sdk

Thanks
Ali

<<inline: orto.jpg>>

<<inline: pers.jpg>>

Reply via email to