comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLgrPoly[line|gon] and cv_coord
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLgrPoly[line|gon] and cv_coord [message #33558 is a reply to message #33504] Wed, 08 January 2003 13:49 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Rick Towler (rtowler@u.washington.edu) writes:

> I can't argue that there doesn't exist a graphics library whose coordinate
> system is not rectangular, but openGL's is.

Yes, this is probably true. In any case, it makes sense. :-)

> Try defining an IDLgrPolygon
> with [angle, radius, z] values instead of [x,y,z]. I don't think you'll get
> what you were expecting.

No, I'm sure not. But what I had in mind was defining an FSC_Polygon.
I'm pretty sure I could make one of those that allowed you
to specify angle, radius and z value. But you are probably right
that I would eventually have to translate it back to OpenGL's
rectangular coordinate system.

I guess rotations would be the same thing. In *my* odd coordinate
system you could appear to rotate about (3.459, 78.452), but to
actually implement it in my code I'd have to translate it
to the origin to take advantage of OpenGl, then translate it
back to where it was suppose to be. Lot's of bother, to be sure.
No one would volunteer to do it, I'm sure of that. :-)

Cheers,

David


--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLgrPoly[line|gon] and cv_coord
Next Topic: map_set coastline data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 14:50:12 PDT 2025

Total time taken to generate the page: 1.68237 seconds