Halp me I am a stupid newbie again!

Started by
2 comments, last by SpazBoy the Mitey 22 years, 2 months ago
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) ????
I''m not interested, really.
Advertisement
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.
You could make new functions to convert your scale to OpenGL and then call the OpenGL functions from your functions.

Ben Gosney.
Please excuse my grammer, I'm from zomerzet
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.
Please excuse my grammer, I'm from zomerzet

This topic is closed to new replies.

Advertisement