DG> Using either mm or m, you'll have to set up your view display your object
DG> correctly. The examples are generally set up to display objects in the -1 -> 1
DG> range around the origin.
I wonder where i can set this range? I've been seeking for this capability for
a while but found only view.setFieldOfView(fieldOfViewDistance); function
that changes _view angle_ in radians, but not the range in meters u r talking
about.
Thanks,
vladimir
-=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<
In your previous letter u wrote:
--------------------------------
>> From: Heiko Gottschling <[EMAIL PROTECTED]>
>>
>> I'd like to know what's the basic unit of measurement for Java3D.
>> In the Java3D tutorial there are some hints that it might be m (meter),
>> but it seems like the API doesn't say anything about it.
DG> The spec says in section 3.4: "The default units are meters".
>> Or doesn't it matter, as long as I only create my objects with the right
>> proportions?
DG> For the most part, yes. Using some of the advanced viewing capabilities of J3D,
DG> you'll want to make sure that your distances are correct (for example, in
DG> setting up a VR cave system), but otherwise you can treat the units as an
DG> arbitrary size.
>> I want to process some real-world data, which is specified in the unit of
>> mm (millimeter), would it be wise to convert everything to m?
DG> A simple way to handle this would be to put your mm data into a transform group
DG> with a transform which scales from mm to m (a uniform scale of 0.001). That way
DG> your definitions are in mm, but the Vworld sizes will be in meters.
DG> Using either mm or m, you'll have to set up your view display your object
DG> correctly. The examples are generally set up to display objects in the -1 -> 1
DG> range around the origin.
DG> Doug Gehringer
DG> Sun Microsystems
DG> ===========================================================================
DG> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
DG> of the message "signoff JAVA3D-INTEREST". For general help, send email to
DG> [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".