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: Wed, 14 Dec 2005 08:31:54 -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> <a06200717bfc4e91149f6 at [10 dot 0 dot 1 dot 4]> <A656087A-51F9-4F6C-8C8D-844AB1DE75A4 at chaoticbox dot com> <a06200719bfc51123ada6 at [10 dot 0 dot 1 dot 4]> <a2dd6f42c3a2e893e2de400ee56008dc at pyramiddesign dot us>
At 8:43 AM -0500 12/14/05, Joseph Nastasi wrote:

the color as the particle's lifetime increases. For me it's to simulate flames whose particles will go from yellow, orange and red to black. It's the simplest geometry, but there will be dozens in a particle system. So it sounds like I'd define a texture (Material), but instead of loading an image with a mask, I'd just update DiffuseColor.

Right -- and just to clarify the terminology a bit, this is NOT defining a texture. It's just defining a material. A material may be a texture, or it may be a solid color; in this case you want the latter.

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>