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 #45952 is a reply to message #45950] Mon, 24 October 2005 10:24 Go to previous messageGo to previous message
Klemens Barfus is currently offline  Klemens Barfus
Messages: 45
Registered: December 2002
Member
Hi Rick,

its exactly the point you mentioned, that the object rotates out of the
view.
The volumes I want to visualize should fit all in the same way in the
view though they have different ranges in x, y and z direction.
When I rotate them around z and y axis I have to fit the viewplane_rect
to get for example a certain frame around the object.

Klemens



Rick Towler wrote:
>
>> 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 10:31:24 PDT 2025

Total time taken to generate the page: 0.64151 seconds