Re: Toggle wireframe mode of pfGeoSets

New Message Reply Date view Thread view Subject view Author view

Space Magic Team (arnaud++at++pobox.oleane.com)
Tue, 20 Aug 1996 19:46:13 +0000


>Hi there,=20
>
>I got some trouble turning on and off the WireFrame Draw mode=20
>of a pfGeoset.

Hello Cyril !
the most practical I found to toggle on or off wireframe mode is as written
in perfly.
Just encapsulate your pfDraw() function between the two functions
pfuPreDrawStyle(style,scribeColor) and pfuPostDrawStyle(style).
I personaly use a value of PFUSTYLE_SCRIBED for value of argument style, and
a red scribeColor.
Hope this helps.

                                        Philippe Poutignat

 ____________________________________________________________________
| | /\ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= /\ | |
| -(*)- <[]> arnaud++at++POBOX.oleane.com <[]> -(*)- |
| | \/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= \/ | |
|--------------------------------------------------------------------|
| ______ _________ ____________ _________ ______ |
| /_/_/_/\ | Space | \/\/\/\/\/\/ | Space | /\_\_\_\ |
| /_/_/_/\/\ | ~~~~~~~ | \/\/\/\/\/ | ~~~~~~~ | /\/\_\_\_\ |
|/_/_/_/\/\/\ | Magic | \/\/\/\/ | Basic | /\/\/\_\_\_\|
|\_\_\_\/\/\/ '---------' \/\/\/ '---------' \/\/\/_/_/_/|
| \_\_\_\/\/ / ######### \ \/\/ / ######### \ \/\/_/_/_/ |
| \_\_\_\/ / ########### \ \/ / ########### \ \/_/_/_/ |
| '---------------' '---------------' |
|--------------------------------------------------------------------|
| o o Thomson Training & Simulation o o |
| o o Z.A. Les Boutries; 5, rue Leonardo da Vinci; B.P. 252 o o |
| o o 78703 Conflans Sainte Honorine Cedex France o o |
| o o Tel: [33] (1) 34903614 Fax: [33] (1) 34903602 o o |
|____________________________________________________________________|
   

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:23 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.