| 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 14:10:28 -0700 |
| Delivered-to: | realbasic-games at lists dot realsoftware dot com |
| References: | <328800874cbf85936b626c9b2d927a39 at pyramiddesign dot us> <a0620070abfc4ba334e7e at [10 dot 0 dot 1 dot 4]> <b7863075141cbd28afc3ae4791b95116 at pyramiddesign dot us> <a06200714bfc4dd3782d0 at [10 dot 0 dot 1 dot 4]> <3dd65603df103e3ba5ccbadc6660d259 at pyramiddesign dot us> |
At 3:36 PM -0500 12/13/05, Joseph Nastasi wrote: AHA! So, I can use: tm.VertexColors.Item(0) = &cCC0000 tm.VertexColors.Item(1) = &cCC0000 tm.VertexColors.Item(2) = &cCC0000to set the trimesh (it's just a simple triangle.) color to a not-so-bright red. Then use:tm.VertexColors.AddRGBToAll -10, 0, 0 in a loop to gradually turn the color black, right? Yes, that's it exactly! 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Vertex Colors, Joseph Nastasi |
|---|---|
| Next by Date: | Re: Vertex Colors, Frank Condello |
| Previous by Thread: | Re: Vertex Colors, Joseph Nastasi |
| Next by Thread: | Re: Vertex Colors, Frank Condello |
| Indexes: | [Date] [Thread] [Top] [All Lists] |