Important information: this site is currently scheduled to go offline indefinitely by end of the year.

3D model format used by BabylonJS?

Post questions about game models here, or help out others!
Karpati
ultra-veteran
ultra-veteran
Posts: 467
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 9 times
Been thanked: 95 times

Re: 3D model format used by BabylonJS?

Post by Karpati »

GordenF wrote:Oh. Guess hex2obj was psyching me out.
There's only one thing remaining then, and that's getting all this data into a format that's easy to work with.
My primitive obj exporter has some weird issues though.
Here's my code so far: https://gist.github.com/SamusAranX/6342 ... 9b1422f1f1
You can fix your exporter easily.

Just add 1 to all face indexes when you create the 'f' lines.
lemurboy12
veteran
Posts: 119
Joined: Fri Mar 30, 2012 4:56 pm
Has thanked: 12 times
Been thanked: 3 times

Re: 3D model format used by BabylonJS?

Post by lemurboy12 »

Sorry for the big bump, but neither the program nor Noesis script work on the Xbox Avatar Marketplace models.

Image

http://puu.sh/xLVcy.babylonbinarymeshdata
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: 3D model format used by BabylonJS?

Post by Acewell »

because the structure is slightly different in your sample, you can still convert it with Hex2obj though. :)
new_BabylonJS_sample.png
You do not have the required permissions to view the files attached to this post.
lemurboy12
veteran
Posts: 119
Joined: Fri Mar 30, 2012 4:56 pm
Has thanked: 12 times
Been thanked: 3 times

Re: 3D model format used by BabylonJS?

Post by lemurboy12 »

AceWell wrote:because the structure is slightly different in your sample, you can still convert it with Hex2obj though. :)
new_BabylonJS_sample.png
would it be too much to ask for an updated noesis script as well?
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: 3D model format used by BabylonJS?

Post by Acewell »

in this case yes, the info i need looks missing from your sample, too chaotic for my experience level, sorry.
Post Reply