Archived

This topic is now archived and is closed to further replies.

Halp me I am a stupid newbie again!

This topic is 5822 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am currently using an ortho projection to get the opengl coords to match the screen size for my 2d work, but I realise that with an ortho projection my objects do not get smaller as they go further away. Is there any way I can set up a perspective projection so that the top left point on the screen in (0,0) and the bottom right is (639,479) ????

Share this post


Link to post
Share on other sites
quote:
Original post by SpazBoy the Mitey
Is there any way I can set up a
perspective projection so that the top left point on the
screen in (0,0) and the bottom right is (639,479) ????


Nope.

Share this post


Link to post
Share on other sites
You could make new functions to convert your scale to OpenGL and then call the OpenGL functions from your functions.

Ben Gosney.

Share this post


Link to post
Share on other sites
I''m not sure that made sence...

WhatEver(int X, int Y)
{
Convert cordes here...

Call OpenGL function hear...
}

Hope this makes sence,
Ben Gosney.

Share this post


Link to post
Share on other sites