Multi-texture support in Away3d 4.1?

Software: Away3D 4.x

bluntcoder, Newbie
Posted: 29 November 2012 05:52 PM   Total Posts: 19

Hi there,

Looks like multi-texturing support (with multiple UVs) is not supported in 4.0.9. Will it be in 4.1?

Thanks,
  Mark

   

Avatar
Fabrice Closier, Administrator
Posted: 30 November 2012 09:07 AM   Total Posts: 1265   [ # 1 ]

4.0 and 4.1 do support multiple materials. but this is something that you need to build yourself as parsers are not supporting multiple materials per mesh yet.

   

Avatar
80prozent, Sr. Member
Posted: 30 November 2012 06:32 PM   Total Posts: 430   [ # 2 ]

Hi Fabrice

Are you planning to expand the current awd2 parser/format, so it will support multiple-materials per mesh?

 Signature 

sorry…i hope my actionscript is better than my english…

   

Avatar
Fabrice Closier, Administrator
Posted: 01 December 2012 12:07 AM   Total Posts: 1265   [ # 3 ]

At some point in time of course. But draft for awd2.1 & parsers updates must be done first…

   

Avatar
alihm, Jr. Member
Posted: 03 December 2012 03:10 PM   Total Posts: 49   [ # 4 ]
Fabrice Closier - 30 November 2012 09:07 AM

4.0 and 4.1 do support multiple materials. but this is something that you need to build yourself as parsers are not supporting multiple materials per mesh yet.

Wow, I didn’t know we could do multiple materials with 4.0. Last time I looked at the docs I couldn’t find a way to set multiple UV’s for a mesh. do I need to do it with AGAL or it’s supported within Away3D? say I want to blend 2 materials (with different UV scales) on a PlaneGeometry.

   

Avatar
80prozent, Sr. Member
Posted: 03 December 2012 06:27 PM   Total Posts: 430   [ # 5 ]

hi

as far as i can tell, one Mehs can have max. 2 different UVs set.
(the SubGeometry.as defines a uvBuffer and a secondaryUvBuffer)

I dont know how to tell a Material to use the secondaryUvBuffer, but i believe this multi-texture-feature works more in a way that you can use multiple Materials with the same set of UVs (still very powerfull for texturing).

this is one of the times i would like to be wrong smile

 Signature 

sorry…i hope my actionscript is better than my english…

   

Avatar
80prozent, Sr. Member
Posted: 15 December 2012 06:14 PM   Total Posts: 430   [ # 6 ]

can anyone confirm my statement above ?

some more informations about multitextures would be very helpfull.

 Signature 

sorry…i hope my actionscript is better than my english…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X