🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

D3DIM Polygons not showing on screen but .x files do?

Started by
0 comments, last by arrogantgod 24 years, 9 months ago
Ok, I am using D3DIM and also utilizing the xloader helper to load in a 3d object.

The 3d object loads into my scene just fine and I can move the camera around and see it.

If I make screen space polygons they show up fine also.

But, when I try to make point lists, line lists, or polygons they are no where to be seen.

I am using z-buffering and have heard that maybe I am back-culling the polygons on accident? I have no idea, I am new to this.

My camera target is at 0,0,0 and my eye point is at 0,25,-100.

Please show me what I have to do to get a polygon to show up. I have cut out countless pieces of SDK code and pasted it in to no avail. I am maybe doing something wrong with the material?

Thanks,
AG
webmaster@arrogantgod.com

Advertisement
well i've had tons of problems with my polygons getting culled, and how i found out was by changing the cull mode to don't cull at all:

d3ddevice->SetRenderState(
D3DRENDERSTATE_CULLMODE,
D3DCULL_NONE);


This topic is closed to new replies.

Advertisement