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

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Okino Website Claims 3DS Exports Cameras
« on: January 08, 2009, 04:23:21 pm »
Which, come to think, I'm sure I've seen done. Can we PLEASE get that implemented? It would change my life on 3D/2D hybrids like the game on which I'm currently working.

Offline fireside

  • double
  • *****
  • Posts: 605
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #1 on: January 08, 2009, 05:58:18 pm »
It is able to do lights and cameras, but a lot of modelers don't put it in their exporter.  Blender doesn't.
click here->Fireside 7 Games<-

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #2 on: January 08, 2009, 06:26:56 pm »
I know but I use Max, so I'm covered.

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: Okino Website Claims 3DS Exports Cameras
« Reply #3 on: January 08, 2009, 09:46:51 pm »
Interesting idea.  I'm wondering where would that information be used by jPCT, though?  For example, if you loaded multiple 3DS files with various camera informations into different Object3D's, what would jPCT do with that information (since there is, of course, only one Camera for the World)?  Or would the point be to use that information to determine each model's initial scale and rotations, perhaps?

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #4 on: January 08, 2009, 09:57:24 pm »
I'm thinking a Camera[] Loader.load3DScamera(String, float) method. That way, you would load the cameras from only the files you wanted, and would set only the camera you wanted for the world at a time.

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: Okino Website Claims 3DS Exports Cameras
« Reply #5 on: January 09, 2009, 01:49:23 am »
Oh, I see - to be able to define various stationary camera-views of a scene.

I could see how that would be useful - might save a little time since setting a camera graphically is somewhat easier than doing it programatically.

I was thinking, without a 3DS camera loader, you could do something similar by placing a seperate object into the 3DS model in the position and orientation that you would like the camera to be.  It could consist of a right-triangle with three vertices ("position", "up", and "look").  Using the vertice positions you could define a camera position, look-direction, and up-direction, and use the Camera.setOrientation() method to move the camera to that view.
« Last Edit: January 09, 2009, 02:04:37 am by paulscode »

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #6 on: January 09, 2009, 02:20:29 am »
No, not just to save time or formultiple views. My background, in this case, is 2D. Several objects on the foreground are 3D. Plus, there's a 3D plane on which the characters walk. But these object won't line up perfectly unless the camera is the exact same way. But there are differences in apperture and other things that just makes this impossible to do manually. I've tried everything. I come close to matching the cameras, but coming close is not nearly enough.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #7 on: January 09, 2009, 01:01:19 pm »
I took a look at the specs for 3DS that you've provided. Somehow i'm missing the CAMERA_SEE_CONE description, which is actually the most interesting part of it all... :-\
However, to give this try, i need an example. I need a 3ds scene with a camera from which i know how it should look like. Is it actually possible to get the camera settings in 3ds/max (editable in a dialog or something)? So that i could verify that my values from the file are the ones that 3ds uses too?

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #8 on: January 09, 2009, 03:13:57 pm »
E-mailed a 3DS of a sheriff sitting down and a camera placed in front of him to you.

I'm not sure what you mean by "is it possible to get the camera settings in MAX in a dialog" but the coordinates for its position are -0.203, -22.073, 6.882. Thanks again, buddy.

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: Okino Website Claims 3DS Exports Cameras
« Reply #9 on: January 09, 2009, 03:39:59 pm »
But there are differences in apperture and other things
Good point, camera views are a bit more complicated than just position and orientation.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #10 on: January 09, 2009, 04:04:37 pm »
I'm not sure what you mean by "is it possible to get the camera settings in MAX in a dialog" but the coordinates for its position are -0.203, -22.073, 6.882. Thanks again, buddy.
What about the camera's orientation and the fov? Can you provide me a screen shot from MAX, that shows how the scene looks like, if viewed correctly?!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #11 on: January 09, 2009, 04:06:54 pm »
Good point, camera views are a bit more complicated than just position and orientation.
Yes, there's the field of view in addition...and that's the part, that the specs seem to omit...

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #12 on: January 09, 2009, 04:18:29 pm »
E-mailed you a screenshot. Thanks again.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Okino Website Claims 3DS Exports Cameras
« Reply #13 on: January 09, 2009, 10:18:39 pm »
E-mailed a 3DS of a sheriff sitting down and a camera placed in front of him to you.
Well, that file contains no 4700H section, i.e. no camera information is in there... ???
« Last Edit: January 09, 2009, 10:25:17 pm by EgonOlsen »

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: Okino Website Claims 3DS Exports Cameras
« Reply #14 on: January 10, 2009, 11:28:19 pm »
Do you want the MAX scene itself? Because I re-sent you the 3DS two days ago. But with the MAX scene you could export via other 3DS exporters (like Okino's).