Ran Yakir (rany++at++bvr.co.il)
Wed, 4 May 1994 12:04:31 +0000
How does one replace current vertices' colors with new colors?
(The database is originally in Flight format).
I succeeded unbinding the texture coords, however binding new
colours using the command
pfGSetAttr(gd, PFGS_COLOR4, PFGS_OVERALL, Colour, NULL);
where Colour is
pfVec4 Colour = {rrr.rrr, ggg.ggg, bbb.bbb, aaa.aaa}
(called through a db traversal using has pfuTraverse) resulted
in a coloured scene which is a mixture of the previous color and
the newly binded colour.
Thanks
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | Graphics App. Chief Engineer
/ )_ (_(_) ) \/ (_(_/<_(_)( | BVR Technologies Ltd.
_/ |
-------------------------------------+--------------------------------
Phone : | E-mail : rany++at++bvr.co.il
Work : 972-3-5715671 |
Res. : 972-3-6995364 |
Fax : 972-3-5715668 |
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:16 PDT