Hello,
  I have a simple question.  I'm given the following room, a point position 
in the room and the slope of line (also a point) which indicates the 
direction I'm looking at, the field of view midpoint.

After I construct the room, I don't understand how I set the TransformGroup, 
or other objects necessary, to fix the position and direction for the proper 
view of the room to be displayed.


Here is how the room is defined:

This class defines a Room.  A Room object, of size (xs,ys) is a rectangle 
defined by the four points (-xs/2,-ys/2) (-xs/2,ys/2) (xs/2,ys/2) 
(xs/2,-ys/2). 

                      -y
  (-xs/2,-ys/2)   |
         |-----------|-----------|
         |             |             |
         |             |             |
         |             |             |
         |             |(0,0)      |
  -x  <------------|-----------> +x
         |             |             |
         |             |             |
         |             |             |
         |             |             | 
         |             |             |
         |-----------|-----------|
                     +y           (xs/2,ys/2)
 
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to