Subject: Vertex Colours 2004-02-26 - By Neto
Back Hmm... there's not much overhead, if you want static vertex colors. Making your own lighting engine using lingo and vertex colors is a bad, bad idea. The problem with vertex colors needing lights is that director only allows you to change the diffuse color at each vertex. It'll merely give that said vertex a new diffuse color, and it will still be affected by lighting.
nal Message -- -- From: Geordie Moffatt To: dir3d-l@(protected) Sent: Tuesday, February 24, 2004 3:15 AM Subject: Re: [Dir3d-l] Vertex Colours
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
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|