Advertisement

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

Started by September 09, 1999 08:00 PM
0 comments, last by arrogantgod 25 years, 5 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

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