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 / Orthogonal projection

Author
Message
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 29th Jul 2007 05:31 Edited at: 29th Jul 2007 05:53
Hello All:

I'm quite sure I'm doing something incorrectly, but can anyone verify that this works in the GDK. I am trying to make a Orthogonal view of some cubes.

I found this link:
http://forum.thegamecreators.com/?m=forum_view&t=17832&b=7

But when I reposition the camera, I cannot see any of my objects.


Here is some code to chew on:



Thanks for any help!

[EDIT]
Fixed: I added these lines in:
dbPositionCamera (20,20,-2000);
dbPointCamera (20,20,0);

The trick is, keep the X and Y the same values for both dbPositionCamera and dbPointCamera. Use the Z for depth BUT Point at position zero.

That seem to help a lot. Thanks anyways!

Your mod has been erased by a signature

Login to post a reply

Server time is: 2024-11-19 15:34:24
Your offset time is: 2024-11-19 15:34:24