Dynamically created geoset does not run...!

New Message Reply Date view Thread view Subject view Author view

From: Stefano Mottura (mottura++at++itia.mi.cnr.it)
Date: 01/12/2000 07:45:40


Hello all!
I have a C++ application in Vega 3.4 (Irix 6.5) and this is the trouble:

I have an empty object created in GameGen, with only a DOF (=pfDCS) and
no geometry, empty.flt
I create a vgObject in LynX with dataset empty.flt and I put it in the
(only one) scene

In the runtime:
1) I get the pfNode of that object (by using vgGetObjPfNode)
2) I create an indexed pfGeoset, it's a cube, with obviously 6
PFGS_QUADS as geometric primitives
3) I create a pfGeode and I attach that pfGeoSet (mygeode->addGSet
(mygset))
4) At this point, the geode+geoset are attached to the pfNode of the
step #1
5) Noting appears in the vgScene, I cannot see any changes, also in
wireframe mode, also with front/back faces

6) I write the geometry tree from the pfnode of the step #1 included to
the geoset of the step #2 in a file in .pfb format, by using
pfdStoreFile (...) and I can see the new perfect geoset with perfly!!!

7) When the call at te pfdStoreFile occurs, there's a pfWarning:

"pfdStoreFile_pfb: found unregistered pfNode pre/post cull/draw function
0x......
 This function will not be saved. To have user function callback saved,
register them with pfdRegisterUserFunc".

( 8) In an other application I created geosets in the same way but all
was OK! )

All suggestions are appreciated

Thank you!

Stefano Mottura

--
Dr. Stefano Mottura
ITIA-CNR
Institute of Industrial Technologies and Automation
National Research Council
Viale Lombardia 20/A, 20131
Milano, ITALY

tel. +39-02-70643961 fax. +39-02-70643915

mottura++at++itia.mi.cnr.it


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jan 12 2000 - 07:43:52 PST

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