   Going 3D
  Hi, I've made a 2D top down image of a volcano and I'm trying to make it 3D with a moveable camera.The problem is when I set a z value above 1.0f the vertex disappears. I've checked the two clipping planes which are from 1.0f to 100.0f and as far as I can tell no new render state is needed. The problem could be my camera class as anything I change in it doesn't seem to do anything but I'm sure I've implemented it right.Since this is very peculiar I was wondering if someone wouldn't mind taking a look, you can download it here:http://files.filefront.com/Volcanozip/;13646095;/fileinfo.htmlMake sure you have the DirectX SDK Include and Library directories on your compiler. When you first run it you will see a red shape for the lava, a dark grey shape for the volcano sides and a light grey shape for the ground. Try changing the Z_VALUE constant at the top to something like 50.0f and you will see what I mean. Thanks, I know this is asking a lot but I've really run out of ideas and this is coursework that needs handing in soon.   
  Sounds to me like you've got a zNear clipping problem. Either that or you've got a 2D vertex format and its taking your changed Z value as the depth buffer coordinate and clipping that way.You'll get a better response if you post the code - in particular the vertex declaration (or FVF) and the vertex structure as well as any appropriate rendering commands. Your code for constructing the matrices might be useful too.Personally, I won't ever download arbitrary code from forum posts as its far too risky. Not to mention the rather significant amount of time taken to download, unzip, load VS, compile, run, debug, reply [smile]hthJack   