Sign in to follow this  
kamaldeep40

problem with frustum

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,"][img]webkit-fake-url://FF2E6289-5971-494F-A37F-3ACC3F8EBA44/image.tiff[/img][/font]

Share this post


Link to post
Share on other sites
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
Hidden
[quote name='kamaldeep40' timestamp='1297930299' post='4775320']
[img]webkit-fake-url://8E667540-7CBA-4218-809B-A631853EFD10/image.tiff[/img]
[/quote]

Share this post


Link to post
Hidden
[color=#3c00da][color=#420082]that is not the problem here is the frustum that comes out after calculating[/color][/color]

[color=#3c00da][color=#420082]glFrustumf[/color][color=#000000](-[/color].03125[color=#000000], [/color].03125[color=#000000], -[/color]0.046875[color=#000000], [/color].046875[color=#000000], [/color]0.1[color=#000000], [/color]500[color=#000000]);[/color][/color]



i have already posted a screen shot

Share this post


Link to post

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