Right now I load all model with their hierarchies kept. But it begins to have a performance issue, and I wondering if not keeping the hierarchy will give any obvious performance boost.
also, is there any way to find out if the .X file contains animation or not, before calling D3DXLoadMeshHierarchyFromX?
I have a line on 2d screen. I want to know which 3d objects the line is on. It's a straight line. Anyone knows how to do it?
I'm trying to create a plane out of it and use it to detect the collision. I have calculated 4 points for the plane's corner, but I don't know what should I do next.
I know how bad it is to go multi-threading, but I don't know how else I will load stuff behind the loading screen.
No memory leaks when I do single thread, but when I create another thread to handle that same function, I got memory leaks. That function handles some Direct3D loading too. Do I have to release something before exiting the thread?
say the shadow map is 1024x1024 pixel. If the display window is larger than that (1280x1024), it's fine. If it isn't (800x600), it'll fail the technique validation. Did I miss something?