Sign in to follow this  
ManixReaper

Teapot artifacts

Recommended Posts

Free Image Hosting at www.TurboImageHost.com I am getting this problem when I’m trying to display simple geometry. Has anybody had anything the same/know what is going on? I'm using DirectX and HLSL.

Share this post


Link to post
Share on other sites
You've not really given us much information to go on.

Are the artefacts constant? Or do they change as the model/view transform changes?

Do you get the same artefacts under the reference rasterizer?

Are you sure you're not missing any geometry or have a corrupted dataset? Where are you getting the data from?

How are you rendering it? Any interesting/releveant pipeline configuration details we should know about?

fwiw, I've rendered plenty of utah teapots in my time and not come across this problem.

hth
Jack

Share this post


Link to post
Share on other sites
Never mind.
Turns out there was something when setting up my view/projection that was wrong. Got some other code to get it to work so all I need to do is figure out what not to do next time. Still don't know why an issue with the view/projection would cause that bug.

Share this post


Link to post
Share on other sites
Your near and far clipping plane might be a problem here.
Have you tried setting your near clipping plane to 1.0f and 1000.0f respectively?

Other than that, it seems that yours depth buffer are messing up.
Are you letting DirectX handle your depth buffer such as setting your PresentParameters to AutoDepthStencilEnable to true?

I hope this helps.
Take care.

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