> If you need to see more of the scene, move the view platform back some
more.

How do you do this ?? In my application the initial scene is too close ...

Thanks,

Zoran



----- Original Message -----
From: "Mark Hood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 8:29 PM
Subject: Re: [JAVA3D] Blank Screen


> > Date:         Mon, 3 Jun 2002 17:14:15 +0000
> > From: Jayasree Tangirala <[EMAIL PROTECTED]>
> >
> > I am trying to depict some world coordinates onto the java3d screen. I
tried
> > to transform it suitably so that they fit onto the screen but it does
not
> > seem to work.  I am trying to depict the data on a 700 x 700 window.
>
> If you use SimpleUniverse and all the defaults, then you can call
> ViewingPlatform.setNominalViewingTransform() to move the view platform
back on
> along +Z.  This looks at the field of view (default 90 degrees) and
figures out
> how much the view platform has to move back to fully display the range
> [-1.0 .. +1.0] in virtual units, at the virtual world origin, across the
> width of the window.
>
> You're looking down the -Z axis of the virtual world by default, with +X
going
> to the right and +Y going up, so make sure your objects of interest are at
Z
> values that less than view platform origin.  Also check to see if your
front
> and back clip planes are set appropriately and your objects are not
getting
> clipped out (use the VIRTUAL_EYE clipping policies to make this easier).
>
> If you need to see more of the scene, move the view platform back some
more.
> You can also widen the field of view, but this will lead to distortion at
the
> wider angles.
>
> Hope that gets you going -- the dreaded blank screen can be tough to deal
with.
> The OpenGL redbook gives some tips in this domain that might apply to Java
3D;
> see Chapter 3, "Troubleshooting Transformations".
>
> -- Mark Hood
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to