Page 1 of 1

CameraOrthoWindow

Posted: Fri Oct 09, 2015 1:12 pm
by eddy
API => setOrthoWindow(Real w, Real h);
http://www.ogre3d.org/docs/api/1.9/clas ... e0f55862f5

It's usefull for pixel perfect rendering.
It could be implemented like that :

Code: Select all

CameraOrthoWindow(Width,Height) ; Set window resolution of camera in orthographic mode
Or like that:

Code: Select all

CameraProjectionMode(#Camera, Mode, ResolutionWidth=#pb_default, ResolutionHeight=#pb_default)

Re: CameraOrthoWindow

Posted: Fri Oct 16, 2015 7:25 am
by [blendman]
+1 ;)

Re: CameraOrthoWindow

Posted: Mon Oct 19, 2015 11:08 pm
by Prod
Came here today just to request this. This is massively important. The ortho resolution is fixed at 1600x (or something), so if you have 1920x then every single action in the 3d environment must be adjusted with a zoom factor, including extra scaling for every loaded object. Since monitors nowadays only can have one resolution, and obviously the industry will never agree on one specific, this functionality is essential.
Just started working on my first 3D game, after some 15 years planning but never any 3D tools good enough. Finally there is hope, but I must have ortho, and this gives me a proper headache. :)
(Tho I just found out creating the illusion of a 2D game while running in 3D is actually smoother at lower resolutions, as that removes the slight flicker when all pixels are shifted in subpixel positions while run in pixel perfect resolution.) :)

Re: CameraOrthoWindow

Posted: Tue Oct 20, 2015 6:05 am
by IdeasVacuum
+1