c++ & pfThings

New Message Reply Date view Thread view Subject view Author view

From: Ken Lindsay (kl++at++rtjones.arc.nasa.gov)
Date: 03/24/2000 17:03:26


hi,

i tried recently to make a class which loads a geometry
model in the constructor and despite the apparent identity
between the pfScene generated by loading in main() vs
loading in contructor, performer crashed with a pfUpdateable
error which seemed quite obscure.

today i tried moving the file load from the main to a
member function init() routine and ran into the same
problem. is this a known phenomenon? is there some reference
counting that gets screwed up if you don't generate the
scene in main or routines called directly from main()? i
had written an app in c which did all the file loading in
non-main() functions and never had any problems.

thanks

ken
-==-

ken "fire a few neurons" lindsay kl++at++mars.arc.nasa.gov
NASA Ames Research Center Caelum Research Corp
Bldg 269, Room 281 (650) 604 0461 (lab)
Mail Stop 269-1 (650) 604 3594 (fax)
Moffett Field, CA 94035-1000 (650) 604 3181 (vox)

     When inlaws are outlawed, only outlaws will have inlaws


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Mar 24 2000 - 17:06:24 PST

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