After about 2 weeks of struggling to find the problem I've been having in this DirectX demo I finally found out what it is. I passed my DXDevice correctly (which I had initially assumed was wrong) and the class totally got it fine. Problem was, I was passing the device before CreateDevice() was even thought of being called. For those who don't know, your DXDevice is filled as a sort of return by CreateDevice(). It's times like these I feel like a complete idiot. But thankfully now my model renders and I've implemented my scene manager, behold the glory!
Print | posted on Sunday, April 20, 2008 11:54 AM