Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
Subject: Vertex Colours

Subject: Vertex Colours

2004-02-23       - By Geordie Moffatt

 Back
Reply:     1     2     3     4     5     6     7     8     9  

The game engine I work with at my day job uses vertex colours for all lighting.
 We calculate the radiosity solution in Max, bake this into the vertex colour
chanel using the "Assing Vertex Colors" util, export, and everything works fine
.  Mind you, this works fine on PS2 and X-Box, but I can't see why a similar
system can't be used for Director.

-- -- Original Message -- --
 From: Thomas Williams
 To: dir3d-l@(protected)
 Sent: Tuesday, February 24, 2004 11:00 AM
 Subject: RE: [Dir3d-l] Vertex Colours


 dunno anout radiousity (i'd like to see THAT done with vertex colors!) but
Noisecrime did an excellent demo with vertexColors
 http://www.noisecrime.com/develop/techdemo/d85/lightmapping/vertexlighting5
.htm

 i haven't tried, but I suspect that max will export vertex colors (it makes
them np).

 one caveat, you loose the blend in your texture once you set your colorList
to anything other than [].
 colorList = numColors.count.  It's a set colors made available as
vertexColors to the MR.

 <   Thomas Williams   >
 [ www.biomorphica.com ]


   
   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>The&nbsp;game&nbsp;engine I work with at my day
job
uses vertex colours for all lighting.&nbsp; We calculate the radiosity solution
in Max, bake this into the vertex colour chanel using the "Assing Vertex Colors
"
util, export, and everything works fine.&nbsp; Mind you, this works fine on PS2
and X-Box, but I can't see why a similar system can't be used for
Director.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>-- -- Original Message -- -- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
 <DIV
 style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
 <A title=t@(protected) href="mailto:t@(protected)">Thomas Williams</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 11:00
 AM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Dir3d-l] Vertex
 Colours</DIV>
 <DIV><BR></DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN
 class=421155300-24022004>dunno anout radiousity (i'd like to see THAT done
 with vertex colors!) but Noisecrime did an excellent demo with
 vertexColors</SPAN></FONT></DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=421155300-24022004><A
 href="http://www.noisecrime.com/develop/techdemo/d85/lightmapping
/vertexlighting5.htm">http://www.noisecrime.com/develop/techdemo/d85
/lightmapping/vertexlighting5.htm</A></SPAN></FONT></DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN
 class=421155300-24022004></SPAN></FONT>&nbsp;</DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=421155300-24022004>i
 haven't tried, but I suspect that max will export vertex colors (it makes
them
 np).</SPAN></FONT></DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN
 class=421155300-24022004></SPAN></FONT>&nbsp;</DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=421155300-24022004>one
 caveat, you loose the blend in your texture once you set your colorList to
 anything other than [].</SPAN></FONT></DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN
 class=421155300-24022004>colorList = numColors.count.&nbsp;
 It's</SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
 class=421155300-24022004>&nbsp;a set&nbsp;colors made available as
 vertexColors&nbsp;to the MR.</SPAN></FONT></DIV>
 <DIV><FONT face=Arial color=#0000ff size=2><SPAN
 class=421155300-24022004></SPAN></FONT>&nbsp;</DIV>
 <DIV>
 <P><FONT size=2>&lt;&nbsp;&nbsp; Thomas Williams&nbsp;&nbsp; &gt;<BR>[
 www.biomorphica.com ] </FONT></P></DIV>
 <BLOCKQUOTE dir=ltr
 style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid;
MARGIN-RIGHT: 0px">
   <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
   size=2><BR></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>I have seen many posts/requests about vertex
   colours in Dir3D,&nbsp; whats the deal???</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>Has anyone used vertex colours in Dir to
   display radiosity solutions etc??&nbsp; 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>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>Tnk,</FONT></DIV>
   <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>GM
   <P><FONT size=2></FONT>&nbsp;</P></FONT></DIV></BLOCKQUOTE>
 <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