Results 1 to 3 of 3

Thread: Vertex Colors in 3DSMax Plugin Version 2.08 broken

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    4

    Vertex Colors in 3DSMax Plugin Version 2.08 broken

    I've exported a box with to texture stages, vertex colors and normals.
    Reimporting killed the vertex colors.
    In the DAE-File there are two color channels!? one with an negative
    index???

    <triangles material="DualTextureMaterial" count="12">
    <input semantic="VERTEX" source="#Box01-obj-vertex" offset="0"></input>
    <input semantic="NORMAL" source="#Box01-obj-normal" offset="1"></input>
    <input semantic="COLOR" source="#Box01-obj-mapchan--2" offset="2" set="-2"></input>
    <input semantic="COLOR" source="#Box01-obj-mapchan-0" offset="3" set="0"></input>
    <input semantic="TEXCOORD" source="#Box01-obj-mapchan-1" offset="4" set="1"></input>
    <input semantic="TEXCOORD" source="#Box01-obj-mapchan-2" offset="5" set="2"></input>

    Chris

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    Feeling Software, Montreal, Quebec
    Posts
    111
    That's pretty cool.

    The C++ COLLADA exporter exports the two 3dsMax extra color channels, if they are present. These are: [-2]: Alpha, [-1]: Illumination. Granted: this is an issue with the exporter, as the set attribute must be an unsigned integer. Thanks for the report.

    Sincerely,
    Guillaume Laforte
    Feeling Software Inc
    http://www.feelingsoftware.com

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Posts
    4
    ok, I see. So I guess "set" for Color should be "0" for Alpha "1"
    analogous to texture-uv set 0,1,2... ?

    Well anyway the vertex colors and vertex alpha should be preserved when reimporting again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •