Zak,
Are you trying to develop a Mercator projection or trying to apply a decal or
texture to an existing projection? If the latter, it should be a simple case of
slaving your texture coordinates to the coordinates of the split. If you are
trying to split an object already in 3D while making a Mercator projection you
may have to clone the object, put copies in each half of the split, then clip
appropriately. If you are dealing in latitude/longitude, remember that the
length of a unit of latitude is constant but the length of a unit of longitude
is equal to the degrees of longitude * cos(latitude). After you compute the
split point, apply your projection transform to get the desired Mercator
projection. Note: The Mercator projection is a method of projection and there
is no one answer to what it will look like. How and where you make the orange
peels fall is up to you.
- Gary Graf
Zak Nixon wrote:
> I agree, but say if you have an object to where the mercator projection cut
> it in half, how do you clip
> the object to where two 'seperate' objects would show up, respectively.
>
> 0oZako0
>
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gary L. Graf
> Sent: Wednesday, July 10, 2002 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Geometry
>
> Zak,
> I'm not totally sure of which problem you're looking at, but Mercator
> projections 'distort' the view only because the classic problem of how you
> go
> about projecting 3D into 2D. If you are placing objects, keep the
> mentality
> in 3D (i.e., Latitude and Longitude). If you use those coordinates, objects
> will always be placed correctly and will size and position correctly on the
> projection.
> - Gary Graf
>
> Zak Nixon wrote:
>
> > Has anyone done any work with mercator images in Java3D (especially
> handing
> > objects which are placed on these objects?)
> >
> > Thanks
> > Zak
> >
> >
> ===========================================================================
> > 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".
>
> ===========================================================================
> 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".