Sign in to follow this  
lucky6969b

Anti-Aliasing and Defining an arbitrary Camera

Recommended Posts

Hello,
I'd like to know why my objects would look jagged when the window is maximized. What render states could have involved?
Secondly, I'd like to setup a camera in an arbitrary way.
I am working on an editor. I would setup the world matrix to identity.
But When I setup the Camera as follows, i can't see anything.
LookAt = D3DXVECTOR3(0,0,0);
Pos = D3DXVECTOR3(0, 1000, 0);
Near = 1.0
Far = 10000.f
Aspect = 1.316f
FOV = 0.5967f
I use these figures because I'd want the camera to sit orthographically right above the main object.. How do I choose the most appropriate parameters for a camera setup like this?
Thanks in advance
Jack

Share this post


Link to post
Share on other sites
[quote name='lucky6969b' timestamp='1318428562' post='4871838']
Hello,
I'd like to know why my objects would look jagged when the window is maximized. What render states could have involved?
[/quote]

Probably you don't resize your rendering buffers after the window is maximized. This will result rendering in lower resolution and up-scaling the rendered image to fit in the window.

Cheers!

Share this post


Link to post
Share on other sites
[quote name='kauna' timestamp='1318428856' post='4871840']
[quote name='lucky6969b' timestamp='1318428562' post='4871838']
Hello,
I'd like to know why my objects would look jagged when the window is maximized. What render states could have involved?
[/quote]

Probably you don't resize your rendering buffers after the window is maximized. This will result rendering in lower resolution and up-scaling the rendered image to fit in the window.

Cheers!
[/quote]
Hi,
Just wondering how to resize the rendering buffers?
Any hints for me?
Thanks
Jack

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this