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

Home » Public Forums » archive » Re: How to change the 3D visual angel?
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: How to change the 3D visual angel? [message #59685] Mon, 07 April 2008 11:11 Go to previous message
rtowler is currently offline  rtowler
Messages: 28
Registered: June 2006
Junior Member
On Apr 5, 7:53 am, FOX <20thfox...@gmail.com> wrote:
> I use IDLgrVolume to plot volume data
> but there is something wrong with the visual angel, no matter how i
> rotate the model, the angel it's not good. i want to output the volume
> as xvolume or ivolume's default visualization.
> anything more than model rotate?

Yes, the dark angel of IDL object graphics is at work here ;)

This is a simple case of understanding OpenGL transformations which,
because we expect things to move on the screen as they do in life,
aren't intuitive. This is why I wrote an object graphics camera class
which you should take a look at:

http://www.acoustics.washington.edu/~towler/RHTgrCamera.html

For simplicities sake, I recommend starting with camera__define.zip
located at the bottom of the page. Using my camera class you'll be
able to manipulate your volume more intuitively. If you wish to
ultimately view the volume in iTools (I couldn't really tell from your
email), you can modify the camera code to output the transformation
matrix used to create the view you are interested in and then apply
that to your model before passing it to the iTool.


-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Pleasant Workbench Surprise
Next Topic: interpolation problem

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

Current Time: Sat Oct 11 04:07:59 PDT 2025

Total time taken to generate the page: 2.96046 seconds