Jump to content
  • Advertisement
Sign in to follow this  
kamaldeep40

problem with frustum

This topic is 2682 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

[font="Arial,"]I have set up a frustum with fov=60, near=0.1,far=1000,aspect ratio=3/2 yet it isn`t coming nice--my object appears to be stretched in forward direction.suggest something that might help.[/font]
[font="Arial,"]here is a screen shot it appears compressed from top. [/font]
[font="Arial,"]image.tiff[/font]

Share this post


Link to post
Share on other sites
Advertisement
30 fov sounds quite narrow, have you experimented with some other values? Also make sure your aspect ratio matches the pixel ratio in your viewport.

Share this post


Link to post
Share on other sites
I think he was implying that you may be doing int/int division, which will give you a result that is not what you expect.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!