pfShadeModel -> segmentation faults

New Message Reply Date view Thread view Subject view Author view

Marc Erich Latoschik (marcl++at++TechFak.Uni-Bielefeld.DE)
Wed, 14 Oct 1998 17:23:14 +0200


Hello,
i have a small problem with pfShadeModel and
pfGetShadeModel. If there is geometrie loaded with no
pfGeoState attached, wich shading is used?
(I am asking because in one application i load a few
inventor files and they are shaded flat)

But the bigger problem is: When is use either of the global state
shading routines the application segmentation faults in that routine.
The man pages do not say anything about calling them in a specific
process (e.g. draw).
Has anyone an idea about that behaviour?

thx

-- 

bye Marc

******************************************************************************** Marc Erich Latoschik, AG-WBS, Technische Fakultaet der Universitaet Bielefeld

Universitaetsstrasse 25 Postfach 100 131 33501 Bielefeld Raum M4-122 Fon: (0521) 106 2919 Fax: (0521) 106 2962

marcl++at++techfak.uni-bielefeld.de http://www.TechFak.Uni-Bielefeld.DE/techfak/persons/marcl/ ********************************************************************************


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Oct 14 1998 - 08:23:26 PDT

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