At 10:07 AM +1100 12/1/05, James Mullins wrote:
Is it possible to change the colour of a 3D sphere I have loaded
into a 3Dspace after it has been loaded? I know how to do it at
initialization (reading and parsing the string), but I don't want to
have to reload each object that I want to change colour (could be
hundreds of sphere's.
If it's really a sphere, then there's no other way to do it short of
using Declares.
But if it's a sphere-shaped TriMesh, then you can (in RB2005) pull
the TriMesh out of it, and muck with its Material (including color)
dynamically.
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>
|