Has something changed in OBJ loading code?

Feature requests, bug reports and related discussion
Post Reply
7 posts • Page 1 of 1
User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Has something changed in OBJ loading code?

Post by suvakas » Tue May 15, 2007 4:30 am

I have a scene, that renders out fine in version 07 final, but gives me this error message in 8t3.

Code: Select all

Fatal Error: SceneLoaderExcep: CSModelLoaderExcep: ModelFormatDecoderExcep for model 'F:\indigo_08_test3\Exported_From_Max\Obj\Plane01.obj': syntax error: no integer following '/' (line 754) (In element 'mesh', around line 3, column 5)
No BIH tree used in 8t3. The model that gives the error has only 500 polys.

Is it a bug or a feature?
Thanks!

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Tue May 15, 2007 4:36 am

It's a syntax error while parsing the .obj file.
Can you paste line 754 of the Plane01.obj file?

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

Post by suvakas » Tue May 15, 2007 5:37 am

Gotcha!
Ok. I'll add the line/file tomorrow when i get back to work.

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

Post by CTZn » Tue May 15, 2007 10:57 pm

500 polys for a plane, great :mrgreen:
obsolete asset

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

Post by suvakas » Wed May 16, 2007 2:00 am

Here is the line 754:

Code: Select all

f 1//1 2//2 7//7
Seems ok to me :roll: Integers are there after every '/'
The OBJ is in attachment. (obj extension renamed to igs to bypass the upload format check)

Tested again and it really renders out fine in version 07.
Attachments
Plane01.igs
plane01.obj
(35.72 KiB) Downloaded 163 times

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed May 16, 2007 2:06 am

Ok, I think i'm assuming there's a number after every '/'.
Not sure if that is a valid assumption or not.

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

Post by suvakas » Thu May 17, 2007 10:46 pm

hmm..I've started to get this error quite offten with my previous scenes.

Post Reply
7 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests