[BUG ... or ?] *.obj format for external meshes

Feature requests, bug reports and related discussion
Post Reply
3 posts • Page 1 of 1
User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

[BUG ... or ?] *.obj format for external meshes

Post by CTZn » Mon Jun 25, 2007 8:32 am

Hi, I have problems using *.obj format with Indigo:

Code: Select all

Fatal Error: SceneLoaderExcep: CSModelLoaderExcep: ModelFormatDecoderExcep for model 'C:\work\3d\archi\CA\presets\simple (pre)\objs\ACI96Shape.obj': syntax error: no integer following '/' (line 6641) (In element 'mesh', around line 133, column 1)
Here's the line:

Code: Select all

f 1//1 2//2 3//3
It looks like Indigo is expecting one "/" only, like:

Code: Select all

f 1/1 2/2 3/3
I've exported the obj from blender to see how it was written, and *.obj from blender have double slashes, like maya's obj export. If I replace "//" with "/" in *.obj file I get this error from Indigo:

Code: Select all

Fatal Error: SceneLoaderExcep: CSModelLoaderExcep: ModelFormatDecoderExcep for model 'C:\work\3d\archi\CA\presets\simple (pre)\objs\ACI96Shape.obj': Invalid tex coord index. (index '1' out of bounds, on line 6641) (In element 'mesh', around line 133, column 1)
Do you people use obj format as external meshes ? What's going on ?
obsolete asset

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Mon Jun 25, 2007 8:42 am

Hey CTZn, geting old huh? :)
Check out this thread:
http://www.indigorenderer.com/joomla/fo ... php?t=1942
You even replied there :wink:
So i'd say, that it's a know issue. At least it's reported to Ono before.

But as an answer to your question - yes, i do use *.obj. I only have had this error twice or so..

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

[BUG]

Post by CTZn » Mon Jun 25, 2007 8:51 am

Ah, right... This error happens all the time to me.

Here's the context of line 6641:

Code: Select all

vn 0.323649 0.833338 0.448073
usemtl phong2SG
s 1
f 1/1 2/2 3/3 //line 6641
f 4/4 5/5 6/6
f 7/7 8/8 9/9
An exporter working for all versions of Maya relies entirely on obj export, we're stuck until it gets fixed...

Thanks

edit: I'm showing the slash-corrected version of obj.
obsolete asset

Post Reply
3 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests