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.

Couple of doubts regarding camera

2 posters

Go down

Couple of doubts regarding camera Empty Couple of doubts regarding camera

Post  vikthered Sat Sep 05, 2009 7:52 pm

Hi,

1. Can i have multiple cameras in one scene? Can i render them simultaneously? I'm trying to implement a rear view camera for my racing game similar to this one. http://tinypic.com/view.php?pic=241nu60&s=3

2. How do i zoom in/out my camera?

Thank you

vikthered

Posts : 25
Join date : 2009-06-25

Back to top Go down

Couple of doubts regarding camera Empty Re: Couple of doubts regarding camera

Post  sio2interactive Sun Sep 06, 2009 3:49 pm

1. Can i have multiple cameras in one scene?

>> Yes

Can i render them simultaneously?

>> No

I'm trying to implement a rear view camera for my racing game similar to this one.

>> You'll have to do 2 pass for that...

2. How do i zoom in/out my camera?

>> Change the FOV or change the position...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 43
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Couple of doubts regarding camera Empty Re: Couple of doubts regarding camera

Post  vikthered Sun Sep 06, 2009 6:13 pm

Can you please tell me how to do a 2 pass? Havent heard about it before Very Happy

vikthered

Posts : 25
Join date : 2009-06-25

Back to top Go down

Couple of doubts regarding camera Empty Re: Couple of doubts regarding camera

Post  sio2interactive Sun Sep 06, 2009 7:23 pm

Well it means render 2 times per frame... 1 time from the back, then get the color buffer as a texture, then render from the front and apply the texture that you get from the back on your object.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 43
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Couple of doubts regarding camera Empty Re: Couple of doubts regarding camera

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