load .x using c++
Hello guys,
I am writing a program totally in c++ where there is a virtual hospital and doctors can do surgery on patients' body. I just started my project and I am trying to modify the "OculusRoomTiny" code to load a .x file of human body. In the original code, it uses PopulateRoomScene function which uses scene->World.Add() function. The function in directX to load a .X file is D3DLoadMeshFromX. My question is: do I have to use scene->World.Add() to show the image on the screen or can I use DrawSubset?
Thanks,
Kuo
I am writing a program totally in c++ where there is a virtual hospital and doctors can do surgery on patients' body. I just started my project and I am trying to modify the "OculusRoomTiny" code to load a .x file of human body. In the original code, it uses PopulateRoomScene function which uses scene->World.Add() function. The function in directX to load a .X file is D3DLoadMeshFromX. My question is: do I have to use scene->World.Add() to show the image on the screen or can I use DrawSubset?
Thanks,
Kuo
