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

Home » Public Forums » archive » Re: Perspective view when using IDLgrPolygon
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: Perspective view when using IDLgrPolygon [message #74102 is a reply to message #74101] Thu, 23 December 2010 06:48 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
johan writes:

> I am drawing a 3-D box by using IDLgrPolygon but I want the "back
> surface" to be projected "smaller", similar to things that are further
> away appears to be smaller. This box can be rotated in a 3-D view.

Set the PERSPECTIVE keyword on your view object to 2 for
a perspective projection.

> Also, I attached a lable to each of the 6 sides and display an object
> in the box, I do not want the current lable at the back to "shine
> through" the object in the box, i.e. looking at a single side of the
> box, I want it to display only 5 of the 6 lebles.

Generally speaking, objects are viewed front to back. You
may have to change the order of your objects to get the
view you want. Typically, this is done with the MOVE method
on an IDL_Container object or one of its subclasses (e.g., an
IDLgrModel object).

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: matrix operation
Next Topic: GERMAN FAKE PASSPORT,BELGIUM FAKE PASSPORT,ITALIAN FALSE PASSPORT,BUY FAKE PASSPORT

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

Current Time: Sat Oct 11 11:29:28 PDT 2025

Total time taken to generate the page: 0.96096 seconds