Thanks for your response Fabrice! Just updated, still have the error. I will add some uv's to the object so it should fix the issue for me, but I think the general issue "loading OBJ without uvs" is not fixed, at least in some cases...
On 26 avr, 18:20, Fabrice3D <[email protected]> wrote: > Svn version adds default uv's if missing > > Fabrice > > On Apr 26, 2011, at 17:31, Nicolas West <[email protected]> wrote: > > > > > I was using the old zip release of broomstick and had an issue > > with .obj sizes. I managed to work around that by splitting the models > > but it was a pain. > > > Thanks to Fabrice3d it is now supposed to be fixed, I couldn't really > > test since now even small objects that used to work fine throw some > > "parsing failure". > > I removed the try-catch, and could see it was at line 400 of the > > OBJParser : nuvs.push(uvs[uvind], uvs[uvind+1]); he is trying to > > access uvs[0] when uvs has length 0. > > Didn't look into it much further... All I can say is not all the > > models throw the error. > > > Any idea Fabrice (or someone else) ? I could trace the content of the > > file where it fails I guess, if you need it.
