It is possible to have isometric projections.
It's just a matter of setting an orthographic projection:
   view_.setProjectionPolicy(View.PARALLEL_PROJECTION);

(optional: you can change the scale, i.e. "zoom" explicitly, using:
           view_.setScreenScalePolicy(View.SCALE_EXPLICIT);
           view_.setScreenScale(scale);
)

and setting the camera such that the result is indeed isometric, i.e.
the angles between the projection of axes X,Y,Z are equal (see figure)
(that's what isometric projection is about, I hope this is what you have
in mind)
For example:

       TransformGroup tg = new TransformGroup();
       Transform3D t3d = new Transform3D();
       t3d.lookAt(new Point3d(1,1,1), new Point3d(0,0,0), new
Vector3d(0,1,0));
       t3d.invert();
       tg.setTransform(t3d);
       ViewPlatform viewPlatform = new ViewPlatform();
       view.attachViewPlatform(viewPlatform);
        tg.addChild(viewPlatform)

.... add tg to scene


Carlos


---------------------------------------------
Carlos D. Correa
Rutgers, the State University of New Jersey
http://www.caip.rutgers.edu/~cdcorrea
---------------------------------------------

Justin Couch wrote:

R K Shyamprakash wrote:

      Can somebody tell me is it possible to have isometric
projection in
Java 3D. if yes, how to achieve this.


No, it's not possible to do it. That is a 2D-only technique.


-- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant -------------------------------------------------------------------

===========================================================================

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".


<<inline: planes4.gif>>

Reply via email to