Xerion
12-09-2008, 06:45 PM
Hello everyone,
I am need of an application that will create simulated images...What i mean by that? Well i am writing a camera simulator which will also create "virtual" images.
Now this is where the problem arise (probably due to my lack of OpenGl knowledge :P ). If we simulate various camera models the images that they create are different.
For example it can be imagewidth=3264 imageheight=2448 or maybe imagewidth=3072 imageheight=2304 etc...
Normally i would like to have a Viewport like the pixel sizes of the CCDarray of the cameras but this cant happen i guess. So i can scale it i guess but when i grab pictures (screen grab) i would like to have the exact pixel sizes that i want ?
Can you please provide me with some information to read on how to do that ?
I am need of an application that will create simulated images...What i mean by that? Well i am writing a camera simulator which will also create "virtual" images.
Now this is where the problem arise (probably due to my lack of OpenGl knowledge :P ). If we simulate various camera models the images that they create are different.
For example it can be imagewidth=3264 imageheight=2448 or maybe imagewidth=3072 imageheight=2304 etc...
Normally i would like to have a Viewport like the pixel sizes of the CCDarray of the cameras but this cant happen i guess. So i can scale it i guess but when i grab pictures (screen grab) i would like to have the exact pixel sizes that i want ?
Can you please provide me with some information to read on how to do that ?