On Dec 13, 2005, at 12:50 PM, Joseph J. Strout wrote:
At 12:31 PM -0500 12/13/05, Joseph Nastasi wrote:
tm.VertexColors.AddRGBToAll 255, 255, 255
the same as:
tm.VertexColors.Item(0) = &cFF0000
tm.VertexColors.Item(1) = &c00FF00
tm.VertexColors.Item(2) = &c0000FF
?
No. The first adds solid white to all vertices; the second sets
vertex 0 to red, vertex 1 to green, and vertex 2 to blue. Not the
same thing at all.
Duh... I knew that... :-)
When we say "adds" does that mean it increments the color values of
each vertex or just sets them all to the color value?
--
Joseph Nastasi
Pyramid Design - a software development firm
http://www.pyramiddesign.us
Voice 609 601-0814 Fax 609 601-0815
Products:
A-OK! Spacecraft Simulation System - http://aok.pyramiddesign.us
A-OK! The Wings of Mercury http://www.aokwom.com
FTP Suite for REALbasic - http://ftpsuite.pyramiddesign.us
Columnist for REALbasic Developer Magazine
Proud Sponsors of REALbasic Olympics 2005
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|