Subject: Vertex Colours 2004-02-24 - By Geordie Moffatt
Back Thanks all for your input, been a great help. So basically you CAN do it but the scripting overheads and limitations mean it may not be worth it.
Seeyas,
GM
-- -- Original Message -- -- From: Geordie Moffatt To: dir3d-l@(protected) Sent: Tuesday, February 24, 2004 10:50 AM Subject: [Dir3d-l] Vertex Colours
Hi all,
I have seen many posts/requests about vertex colours in Dir3D, whats the deal???
I pretty much thought that Dir3D couldn't display vertex colour data at all until I came across the definition for newMesh:
member(whichCastmember).newMesh(name, numFaces, numVertices, numNormals, numColors, numTextureCoordinates)
Where numColors: numColors is the optional total number of colors used by all the faces. A color may be shared by more than one face. You can specify a color for each corner of each face. Specify colors for smooth color gradation effects. Enter 0 or omit this argument to get default white color per face corner.
Has anyone used vertex colours in Dir to display radiosity solutions etc?? Is the problem with using vertex colours that the W3D exporter does not export the colours?
Tnk,
GM
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1226" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Thanks all for your input, been a great help.  ; So basically you CAN do it but the scripting overheads and limitations mean it may not be worth it.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Seeyas,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>GM</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=geordiemoffatt@(protected) href="mailto:geordiemoffatt@(protected)">Geordie Moffatt</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=dir3d-l@(protected) href="mailto:dir3d-l@(protected)">dir3d-l@(protected)< /A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 24, 2004 10:50 AM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> [Dir3d-l] Vertex Colours</DIV> <DIV><BR></DIV> <DIV><FONT face=Arial size=2>Hi all,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I have seen many posts/requests about vertex colours in Dir3D, whats the deal???</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I pretty much thought that Dir3D couldn't display vertex colour data at all until I came across the definition for newMesh:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>member(whichCastmember).newMesh(name, numFaces, numVertices, numNormals, numColors, numTextureCoordinates)</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Where numColors:</FONT></DIV> <DIV><FONT face=Arial size=2>numColors is the optional total number of colors used by all the faces. A color may be shared<BR>by more than one face. You can specify a color for each corner of each face. Specify colors for<BR>smooth color gradation effects. Enter 0 or omit this argument to get default white color per<BR>face corner.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Has anyone used vertex colours in Dir to display radiosity solutions etc?? Is the problem with using vertex colours that the W3D exporter does not export the colours?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Tnk,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>GM</FONT></DIV> <P> <HR>
<P></P>__ ____ ____ ____ ____ ____ ____ ____ ____ ____<BR>Dir3d-l mailing list<BR>Dir3d-l@(protected)<BR>http://nuttybar.drama.uga.edu /mailman/listinfo/dir3d-l<BR></BLOCKQUOTE></BODY></HTML>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|