Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / camera rear view?

Author
Message
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 6th May 2008 03:33 Edited at: 6th May 2008 03:38
Ok did something like this..




The camera points backward but the image is reversed?
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 6th May 2008 21:26
put it on a plain and turn culling off and spin it around 180

Instant "reverse"

unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 7th May 2008 00:03 Edited at: 7th May 2008 00:29
So render the cam to a plane? I guess that will do, but why is it backward to begin with? If this dbSetCameraView show a camera that is looking at me or actually just past my , why would it be reverenced??


Ok this is pissing me off...


I can change dbRotateObject( cam1, 0,180,0); to dbRotateObject( cam1, 0,0,0); or rem it out and the plane shows the same image, what gives???
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 7th May 2008 00:54
Its not backwards... its acting like a CAMERA should... you want a mirror... think about it.

unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 7th May 2008 01:52 Edited at: 7th May 2008 01:53
Ok you're right, I was a bit backwards my self there. So any ideas how to make a mirror, since the flipping of the object with a mirror to image failed? Is there a way to invert the camera? Like using the pov in the negative?
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 7th May 2008 02:01 Edited at: 7th May 2008 02:02
LOL.... (You're a sport)... What do you mean flipping it failed? Invisible? Set Cull to Off for that "plain"

[edit](pov in negative might just work.. report back on that please!)

unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 7th May 2008 03:13 Edited at: 7th May 2008 04:37
Ya Working on 4 dark projects is not a good thing... Sorta leaves you with the feeling of walking in to the broad side of a bus on a cold day in Main with you birthday suit soaking wet...


I may try the POV, trick

Ya I set the cull flag to 0. It worked but still the cam is not inverted.

update
___________
dbSetCameraFOV (1, -90) ; // inverted the y as if your upside down. I guess since you cant do x with out y

Hey Jason, Have you made a mirror? Dont get me wrong its a neat thought. And should absolutely work...But not have much luck here.

Login to post a reply

Server time is: 2024-09-29 19:19:15
Your offset time is: 2024-09-29 19:19:15