Drawing a scene twice

New Message Reply Date view Thread view Subject view Author view

Ran Yakir (rany++at++bvr.co.il)
Wed, 4 May 1994 12:04:31 +0000


Hi All

        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               |

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:50:16 PDT

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