Cheetah3D User Forum  


Reply
 
Thread Tools Search this Thread Display Modes
Old
  (#1)
yves (Offline)
Neuer Benutzer
 
Posts: 3
Join Date: 03.08.2006
Default jas format - 03.08.2006, 22:36

Hi There,

I'm writing an importer for the .jas format and I would like to know if there is an available documentation describing it. I saw that it is pretty easy to read, but I'm not sure how is structured the XML binary data sections which is used to store vertices, uv, etc. Are they simple floating point arrays ?

Thank you for your help.

PS: Congratulation for this great software.
   
Reply With Quote
Old
  (#2)
Martin (Online)
Erfahrener Benutzer
Site Admin
 
Martin's Avatar
 
Posts: 7,398
Join Date: 13.03.2005
Default 04.08.2006, 11:53

Hi,
writing a complete .jas loader will be lots of work. Especially since many things are saved parametrically. So to fully load a .jas file you also have to implement subdivision surfaces, all parametric polygon and spline objects and so on.

For what purpose do you need the .jas file import. Maybe the FBX file format is easier to use. Especially since there exist a free FBX file loading SDK. And since the objects are already flattened in the FBX file. So you just have to read in the polygon data.

Bye,
Martin
   
Reply With Quote
Old
  (#3)
yves (Offline)
Neuer Benutzer
 
Posts: 3
Join Date: 03.08.2006
Default 04.08.2006, 16:49

Hello Martin,

Thank you for your answer.

Well, I'm only interested by polygonal objects (basically faces, vertices, uv, normals, etc.), not the whole format. However I really need to be able to grab the hierarchies.

Now I'll check the FBX sdk, maybe it is the easier way to go.

Thanks,
Yves.
   
Reply With Quote
Old
  (#4)
gperks (Offline)
Neuer Benutzer
 
Posts: 8
Join Date: 04.08.2006
Default 04.08.2006, 20:01

I know in the future I will be interested in using Cheetah to define objects for an OpenGL program (say spaceships or monsters for a game or whatever). I haven't starting looking into this yet. Is FBX the place I should start?
   
Reply With Quote
Old
  (#5)
Martin (Online)
Erfahrener Benutzer
Site Admin
 
Martin's Avatar
 
Posts: 7,398
Join Date: 13.03.2005
Default 04.08.2006, 23:08

Quote:
Originally Posted by yves
Well, I'm only interested by polygonal objects (basically faces, vertices, uv, normals, etc.), not the whole format. However I really need to be able to grab the hierarchies.

FBX has the hierarchies too. FBX files can contain the most important 3D model data like the mesh, the materials, animation data, skeletal data etc.

That's why FBX became so popular as a 3D exchange file format.

Bye,
Martin
   
Reply With Quote
Old
  (#6)
Martin (Online)
Erfahrener Benutzer
Site Admin
 
Martin's Avatar
 
Posts: 7,398
Join Date: 13.03.2005
Default 04.08.2006, 23:11

Quote:
Originally Posted by gperks
I know in the future I will be interested in using Cheetah to define objects for an OpenGL program (say spaceships or monsters for a game or whatever). I haven't starting looking into this yet. Is FBX the place I should start?

Yes, FBX would be an excellent place to start. It is a modern and robust file format which can contain almost everything you will need for a game.

If you are interested in game development you might also check out http://otee.dk. They also use FBX for their game development environment.

Bye,
Martin
   
Reply With Quote
Old
  (#7)
yves (Offline)
Neuer Benutzer
 
Posts: 3
Join Date: 03.08.2006
Default 05.08.2006, 12:30

Quote:
Originally Posted by Martin
FBX has the hierarchies too. FBX files can contain the most important 3D model data like the mesh, the materials, animation data, skeletal data etc.

That's why FBX became so popular as a 3D exchange file format.

Bye,
Martin

Just downloaded the API, looks good (it will definitively save me some work ). Thanks for the information.


Regards,
Yves.
   
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com