Results 1 to 2 of 2

Thread: Texcoord input set starting value ?

  1. #1
    NicoAir
    Guest

    Texcoord input set starting value ?

    Hi,

    The set attribute seems to be starting from 0 in maya and 1 in max

    I get the following export from Max:
    <input semantic="TEXCOORD" source="#Box01-obj-mapchan-1" offset="2" set="1"></input>

    and the following one from Maya:
    <input semantic="TEXCOORD" source="#Box01-obj-mapchan-1" offset="2" set="0"></input>

    Is it a bug in the max exporter ? Or something that I need to handle in
    my importer ?

    Thanks

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    Feeling Software, Montreal, Quebec
    Posts
    111
    In ColladaMax, we use the map channel index as the set number. In ColladaMaya, we have names for the UV sets, so we index those in an ordered fashion.

    It is my understanding that set numbers are just used to group together TEXCOORD, TEXTANGENT, TEXBINORMAL and other sources. They have no implied ordering, so that it is legal to have two TEXCOORD inputs with set="5" and set="182".

    You should therefore support any value: as long as it is greater or equal to zero.

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

Posting Permissions

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