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

Home » Public Forums » archive » 3d axes & perspective
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
3d axes & perspective [message #10567] Sun, 14 December 1997 00:00
Alvaro Ivanoff is currently offline  Alvaro Ivanoff
Messages: 3
Registered: September 1997
Junior Member
Hello,

I would like to be able to create 3d axes with a perspective to give it
more of a 3d look. The following simplified example demonstrates the
problem I am encountering.

pro test
create_view, az=(20), ay=(0), ax=(-70), zoom=.45, persp=.6
plot_3dbox,indgen(2),indgen(2),indgen(2)
end

This example works fine, except for the following error message that is
produced.
;% SURFACE: Illegal 3D transformation.
Because I�m using similar code in a loop for an animation, the message
is being constantly printed out which doesn�t look good and is probably
slowing down the animation itself. Is there a better way of doing this?

I�ve seen the example on how to create 3d axes on David Fanning�s
website, but it also uses the surface procedure and results in the same
error message when I try to manipulate the perspective. The create_view
procedure consists of a series of t3d commands. It is the last of
these, which moves the origin back to the center of the viewport, that
seems to cause the error message to occur. Again, the only problem is
the error message that is produced when adding perspective to the 3d
axes.

Any suggestions would be appreciated, thanks.

Alvaro Ivanoff
alvaro@atmosp.physics.utoronto.ca
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Circles in XOR mode
Next Topic: Re: off the box and already in trouble

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

Current Time: Sat Oct 11 05:20:22 PDT 2025

Total time taken to generate the page: 0.79828 seconds