Hi Everybody
I have a question:
" Is it possible to represent parameters that a
virtual camera model has, via
Transform3D t3d1=new
Transform3D();
universe.getViewingPlatform().getViewPlatformTransform().getTransform(t3d1); ?" I need a vector known as UP and it's
often represented as a unit vector, in order to set the orientation of the
camera.
I also need where camera is looking at... the focus
point.
Considering the fact that there's a translation applied to the
viewingplatform of
<0,0,1/(tan(fieldOfVIew/2))> or <0,0,2.41.....> using
universe.getViewingPlatform().setNominalViewingTransform(); All that I can infer is that the initial UP vector is set to :
<0,1,0> and maybe the focus is <0,0,0>
The point here is, that, I developed a J3d
application wich is meant to navegate through a simple scene graph taking
advantage of the orbit behavior. But I don't know exactly where the camera is,
and where is appointing to, neither which is its orientation; and it's
imperative to know this because another ray tracing application needs this
info.
I hope you can tellme how can I achieve
this.
Thank you
|
- [JAVA3D] Texture mapping problems Kevin J. Duling
- Juan Miguel