kottore / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

[Broomstick] OBJ files fail to render if they have an associated *.mtl file #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. unzip and run attached test project, or alternatively, try to load and 
display any OBJ file with an associated *.mtl file.

What is the expected output? What do you see instead?
I expect that the OBJ file will render on screen. Instead, there is an error 
thrown: "Error #3671: Buffer has zero size"

What version of the product are you using? On what operating system?
Broomstick on Win7

Please provide any additional information below.
PreFab/Away3D 3 loads and displays the OBJ file in question without any 
problems, so I know the file is fine. Broomstick seems to work fine with any 
OBJ files that don't have an associated *.mtl file, so I'm sure the parsing of 
geometry is fine. The parser maybe breaks down in terms of material/uv parsing.

The attached project has all the files you need to recreate the issue, 
including a test OBJ file. 

I know you guys must be super busy, but would love to see this issue resolved 
asap, as my manager has asked me to give a demo of environment loading with 
Broomstick, and OBJ parsing is failing, as well as AWD parsing (will be 
creating a seperate bug for AWD parsing issues).

Many thanks,
-Marcus

Original issue reported on code.google.com by macro.ma...@gmail.com on 12 Mar 2011 at 7:29

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by fabric...@gmail.com on 17 Mar 2011 at 10:48

GoogleCodeExporter commented 9 years ago
As this issue is marked as fixed, i m still experiencing the same issue with 
latest SVN revision : 3116 (broomstick version) ,  with the linked obj.
If the line mtllib pumpkin.mtl is commented, the object loads fine with no 
textures.
But with this line enabled, just nothing happens. No error dispatched and 
nothing displayed. 

Am I doing something wrong or is this issue just back in town ? 

My source code is in the attached zip ( Main = TestMTL ) 

Original comment by dpegor...@actiplay.com on 4 Apr 2011 at 1:29

Attachments: