--SOLVED THANKS--RE: Help: Problem of changing the color of a geoset

New Message Reply Date view Thread view Subject view Author view

Justin McCune (mccune++at++ait.nrl.navy.mil)
Tue, 20 Jan 1998 13:54:31 -0500 (EST)


Thanks for the replies,

        The problem turned out to be a dual error--
a part of my application was initialized improperly and set the color
after I had already set it once-- thereby setting it twice and to the
incorrect color.

This in combination with the call:

        gset_next->setAttr(PFGS_COLOR4,PFGS_OVERALL,&colorvec,NULL);

where colorvec is a pfVec4* (e.g. a pointer to a pointer to a pfVev4
was passed in instead of the proper pointer to pfVec4).

So even when I fixed one error (by commenting out the line), the other
one was still in effect.

Thanks again,

Justin

------------------------------------------------------------
Justin A. McCune
                         
Building 34, Rm 12
Naval Research Laboratory
4555 Overlook Ave S.W.
Washington D.C. 20375

mccune++at++ait.nrl.navy.mil
voice: (202) 767-3919
fax: (202) 404-7887

=======================================================================
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:56:35 PDT

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