Heiko,
That's the whole point... Coordinates are all in doubles or floats but are
relative to the position of the Locale. 256 bit coordinates are used to
allow objects the size of an atom to be described, yet be positioned within
an area larger than the size of the known universe. This would allow me to
describe a virtual universe that could model an object the size of a planet,
yet also model a single atom on the face of that planet.
HiResCoords should allow all applications to use physical units (meters)
regardless of the scale or relative positioning of the objects in the
universe.
If you don't need the extra precision, just ignore it, and only use the bits
in the array that are appropriate for your application.
I agree that there are probably very few applications that require this
support, but it is a simple layer to put over the top of the Locale double
coordinate system - so why not?
Sincerely,
Daniel Selman
[EMAIL PROTECTED]
http://www.tornadolabs.com
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Heiko Gottschling
> Sent: 07 February 2000 21:32
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] HiResCoord - complete overkill ???
>
>
> Hi,
>
> I want to use two different Locales in my program and I came across the
> HiResCoord class which is needed to set the Locale's location within the
> VirtualUniverse.
>
> Just curious: what's the use of specifying these coordinates with a
> precision of 256 bits??? Why wouldn't double values do as well?
> Everything else in J3D is specified using doubles (or floats, even
> worse), why does the Locale have to be positioned so precisely?
>
>
>
> thx
> Heiko
>
> ==================================================================
> =========
> 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".