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

Home » Public Forums » archive » Re: coordinates in threedimensional object graphics ?
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: coordinates in threedimensional object graphics ? [message #45957 is a reply to message #45952] Mon, 24 October 2005 09:31 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
> I play around with object graphics and try to build a routine which is
> able to visualize 3d objects of different sizes in th same way.

XOBJVIEW does this. I believe there is an object-ified version
available from the RSI user contrib library which probably adds a good
bit of flexibility.

> When I define the viewplane_rect and the zclip of my view, everything
> works fine before I rotate the view. Then the coordinate system is not
> the coordinate system of the defined axes anymore.

I'm not sure exactly what your issues are. When you rotate the object
does it rotate out of the view?

> Is there an easy way to calculate the coordinates for viewplane_rect and
> zclip from the coordinates of the rotated axes ?

While there probably is a way to do this, you'd be working backwards.
It is best to think of the view as fixed and (unless you are "zooming")
the viewplane_rect as fixed. You operate on the objects contained
within the view, manipulating their transforms to yield the desired
results. So your question is regarding transforming your models in some
way. Maybe you can add some details.


-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Inserting Wave File
Next Topic: random integers between 0 and 1,000,000

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

Current Time: Fri Oct 10 04:49:45 PDT 2025

Total time taken to generate the page: 0.71931 seconds