Poly- and Vertex-Limitations per Object

Software: Away3D 4.x

Gordon, Newbie
Posted: 21 March 2012 12:41 PM   Total Posts: 17

Hi Guys,

i am trying to figure out how the Poly- and Vertex-Limitations(Count) per Object are for a loaded OBJ-File in AWAY3D 4. I can’t find anything on this topic in the web.

THX for any help!

   

Avatar
Fabrice Closier, Administrator
Posted: 21 March 2012 01:31 PM   Total Posts: 1265   [ # 1 ]

Can you be more specific? Away takes care of the data from your obj for you. Once it reaches a max vertices limit 65535 (190k numbers per buffer) it generates a new submesh. The process continues till the file is read entirely.

 

   

Gordon, Newbie
Posted: 21 March 2012 01:44 PM   Total Posts: 17   [ # 2 ]

Hi Fabrice,

the problem we got (on loading a 3ds-model, but should be the same with OBJ, right?)) was the following:

RangeError: Error #1125: Der Index 75156 liegt außerhalb des gültigen Bereichs 57195.

The model we tried to load had 63514 Faces and 31272 vertices.

 

   

Avatar
Fabrice Closier, Administrator
Posted: 21 March 2012 04:57 PM   Total Posts: 1265   [ # 3 ]

send me your model offline please, in obj and 3ds +maps so I can test.

 

   

Gordon, Newbie
Posted: 21 March 2012 05:09 PM   Total Posts: 17   [ # 4 ]

Hi Fabrice,

thanks for helping, you can find the models here:

http://www.procast-media.com/rako.zip


best,
Gordon

 

   

Avatar
Fabrice Closier, Administrator
Posted: 21 March 2012 10:04 PM   Total Posts: 1265   [ # 5 ]

The 3ds doesn’t seam to be an issue, (see pict) however the obj causes endless parsing. I look in depth probably tomorrow.

 

   

Avatar
Fabrice Closier, Administrator
Posted: 22 March 2012 09:17 AM   Total Posts: 1265   [ # 6 ]

k, found the “why”.
Your obj specifically specify to use the compagnon mtl.
mtllib 3-308N-5.mtl
but you do not provide it. comment it (add # at line start)  or define the loader setting to ignore it, or use another exporter if the mtl is not provided with the exported obj while it sets in file to use an mtl.

Once commented, your file loads just fine. Same for the 3ds file.

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X