Author Topic: Okino Website Claims 3DS Exports Cameras  (Read 18658 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #45 on: February 12, 2009, 08:04:41 am »
This is so annoying...i'll try if i can make something out of it when i find the time...

Offline AGP

  • quad
  • ******
  • Posts: 1515
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #46 on: April 06, 2009, 11:02:31 pm »
I don't suppose you've had any progress here, have you, Egon?

Offline AGP

  • quad
  • ******
  • Posts: 1515
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #47 on: April 06, 2009, 11:35:26 pm »
By the way, what are the camera settings for jPCT's cameras for field-of-view and lens millimeters?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #48 on: April 07, 2009, 07:36:38 am »
The default fov is defined in Config.defaultCameraFOV and it's 1.25. I don't know anything about lens mms. I never understood why on earth people think of mm and lenses when rendering to a screen...  ???

And no, there hasn't been any progress. I'm stuck here. I've no idea where to get the needed values nor to i know what some values mean that i'm getting. I can't find any information about it. The camera related code in the loader has been commented out for now, because it only loads half as much as it should to be useful.

Offline AGP

  • quad
  • ******
  • Posts: 1515
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #49 on: April 08, 2009, 01:54:17 am »
What about supporting DXF, which stores lights and cameras, or at least Lightwave's (.lwo/lws), or OpenGL (.c) (though DXF is better because EVERYTHING exports DXF)? Pretty please? I need to be able to transfer my camera perfectly.

EDIT:
Here's a link to the DXF file description: http://www.martinreddy.net/gfx/3d/DXF12.spec

And this is a different 3DS page (probably more helpful than the first link I sent you: http://www.martinreddy.net/gfx/3d/3DS.spec
« Last Edit: April 08, 2009, 06:37:49 am by AGP »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #50 on: April 08, 2009, 07:21:56 am »
I already know these specs...there aren't helpful either. Before including another obscure file format with other problems, i would rather fix the existing ones. Can't OBJ hold these damn camera information? Have i asked that before...( i guess so...)?

Offline AGP

  • quad
  • ******
  • Posts: 1515
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #51 on: April 08, 2009, 07:27:18 am »
You have and I said "the only jPCT-supported format that stores cameras is 3DS." One more format wouldn't hurt the engine, I assure you. Hey, one of the things I love about jPCT is that it's so intuitive. I want it to stay that way. But adding a file format wouldn't make the Loader class (itself pretty self-explanatory) clobbered.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #52 on: April 08, 2009, 08:56:51 am »
Are you sure? I dimly remember something like camera information in an OBJ-file that i saw once...i just can't remember which one it was!

No, adding another file format wouldn't make the Loader clobbered...but it takes time to implement it (which i don't have ATM) and there are only two options:

a) the format is easy to grasp at first glance (like OBJ) but comes in a gazillion of absurd variants
b) the format is like 3DS...an undocument, binary mess

Neither is fun. Or to put in other words: Writing loaders stinks!

BTW: jPCT doesn't prevent anyone from writing his/her own loader...it can always be added to the Loader class later... ;)



Offline AGP

  • quad
  • ******
  • Posts: 1515
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #53 on: April 08, 2009, 09:14:17 am »
OK, I could try one. I did, 10 years or so ago, write an OBJ one myself, but you're a better programmer than me. But how would I go about doing it? object = new Object3D(maxNumberOfTriangles) then object.addTriangle(SimpleVector, SimpleVector, SimpleVector)?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #54 on: April 08, 2009, 10:32:12 am »
Yes. If it finally works and makes its way into Loader, i can use some internal shortcuts that may help with performance, but afterall, most Loaders do exactly that (i.e. new Object3D()/addTriangle()).

Offline C3R14L.K1L4

  • int
  • **
  • Posts: 54
    • View Profile
    • CK's place of many works
Re: Okino Website Claims 3DS Exports Cameras
« Reply #55 on: April 22, 2009, 04:56:49 pm »
Egon, how is it going? Solved the 3DS problem?
I've checked wavefront's specs and theres no camera information tag :-\

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #56 on: April 22, 2009, 05:02:46 pm »
Egon, how is it going? Solved the 3DS problem?
Not by me. I've no idea what to make out of the data that i read from the 3ds file.