My Graphics Disappear!

Started by
1 comment, last by FeetDontFailMeNow 21 years, 1 month ago
Hello... I'm in the process of making a game engine, it's modular and huge so I can't cut and paste any code, because I don't know where the problem is... The root of the problem is me not knowing enough about DirectX, the symptom is this: I load up a few X files which hang in a black 'world' and I can navigate around them with cursor keys, all well and good. The trouble is, if I move away from them it isn't anytime at all before they disappear, not all in one go, but it's as if a threshhold of what DX considers drawable is met... if you see what I mean... I don't think it's the lighting, because I'm using Directional lighting (which should apply to all objects within the world, no?) Any pointers would be much appreciated... [edited by - FeetDontFailMeNow on March 6, 2003 3:14:43 PM]
Advertisement
I would assume that this has to do with how you set your projection matrix.

Set the back a little further, and you will see what I mean.

I cant be 100% sure, as I havent seen your code, but if you are able to navigate around them, and they dont disappear until you back away for a while, this is probably it, and is totally expected behavior.
TechleadEnilno, the Ultima 2 projectwww.dr-code.org/enilno
Thanks!

This topic is closed to new replies.

Advertisement