pfGeoState problem

New Message Reply Date view Thread view Subject view Author view

David RAPIDEL (diginext++at++imaginet.fr)
Tue, 10 Nov 1998 19:08:13 +0100


 Hello pfAll

I have a strange effect in my code :
I specify a pfGeoState with a pfGetGSetGState, then I change some
material properties like ambiant or specular coefficeients and I connect

it to a pfGeoSet with :
pfGSetGState(pState->gset, geoState);

The problem is that not only the pSate->gset material is change, but
also all gset that share something in the initial state. For example, if

I change the windshield (one pfGeoSet) of the model esprit.flt (a car),
all the windows are changed, but the coachwork stay intact.

The effect is exactly the same if I try :
 pfApplyGState(geoState), instead of pfGSetGState.

Thank you if you have the solution.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Nov 10 1998 - 10:11:52 PST

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