realbasic-games
[Top] [All Lists]

Re: Vertex Colors

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Vertex Colors
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Tue, 13 Dec 2005 10:50:31 -0700
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <328800874cbf85936b626c9b2d927a39 at pyramiddesign dot us>
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.

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>