Skip to main content
GameDev.net gamedev.net
🔒 Locked

[SlimDX] Direct3d bug

Started by carmangary Nov 2, 2011 at 11:19 AM 2 replies 850+ views
Original Post
carmangary
carmangary
I switched from SlimDX March to SlimDX September and not my 3D visualization that I created looks different. I didn't change anything on my end.

I don't know how to describe the change other than to say that there are black areas that mask part of the image. I don't see any changes in the SlimDX release notes that would explain this.

Are there SlimDX developers reading this that could shed some light? I had my visualization working perfectly in Managed DirectX and switched to SlimDX about 6 months ago and have had weird stuff like this happening ever since even though I am using the same methodology to render my images. Any help is appreciated in resolving this.
Mike.Popoloski
Mike.Popoloski
It sounds like there is something else going on here. Try debugging things with PIX to see what's wrong.
Mike Popoloski | Journal | SlimDX
carmangary
carmangary
Thanks for the tip. I have never used PIX but will look into it.

carmangary
carmangary
Problem solved, although I don't know why it suddenly only became a problem with Sept 2011 SlimDX. The issue had to do with my view transform. Max distance was set to Z=327680 and my furthest point is hardcoded to have (0,0,327680). I changed my view to have a max distance of 327690 and the problem went away.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.