FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

about the camera view in tutorial03

2 posters

Go down

about the camera view in tutorial03 Empty about the camera view in tutorial03

Post  zyzyandzyzy Thu Sep 24, 2009 7:58 am

Hi,

I'm trying to get a top-to-down view, in tutorial03, I adjust the camera data like this:
camera( "camera/Camera")
{
l( 0 0 4 )
d( 0 0 -1 )
f( 45 )
cs( 1 )
ce( 100 )
}

But I got black screen.
After I adjust the d property a little: (0 0.1 -0.9), I can see things, but all objects looks strange and distorted. Can anyone help me understand how to set the camera data? So far I only know the l is the location and r is rotation (actually doesn't affect anything), the d seems to be the direction of the view, right? If so, why (0 0 -1) doesn't cause straight top-to-down view?

Thanks a lot
Yi

zyzyandzyzy

Posts : 11
Join date : 2009-09-18

Back to top Go down

about the camera view in tutorial03 Empty Re: about the camera view in tutorial03

Post  Francescu Thu Sep 24, 2009 9:29 am

You will find the answer in this thread:
https://sio2interactive.forumotion.net/sio2-engine-f3/problem-with-camera-look-down-t371.htm

You should not fiddle with what's being exported from the SIO2 exporter as there is no guarantee this will be forward compatible with future releases...

There is actual code to be changed in tutorial03 for this to work - you can also do an advanced search on ' sio2LookAt' in the forums besides the thread above...

Hope this helps

--Frank

Francescu

Posts : 136
Join date : 2009-03-18

Back to top Go down

about the camera view in tutorial03 Empty Re: about the camera view in tutorial03

Post  zyzyandzyzy Thu Sep 24, 2009 10:00 am

Oh, I'll have a try with sio2LookAt, thanks

zyzyandzyzy

Posts : 11
Join date : 2009-09-18

Back to top Go down

about the camera view in tutorial03 Empty Re: about the camera view in tutorial03

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum