d3d_set_projection not working.

S

sir_derp

Guest
I'm trying to set up a first person 3d camera, but for some reason GM is basically ignoring it. I've read through all the documentation and everything seems to be right, but it still doesn't work.

Setup code, runs on the player object.
setup_3d.PNG

Wall object
wall_3d.PNG
Room
room.PNG

Here is the output when I run the game.
window_output.PNG
And here is the output when I comment out d3d_projection. The only thing that changes is that an extra pillar is being drawn.
d3d_off.PNG
 
S

sir_derp

Guest
Nevermind, I just needed to set the depth differently. Not sure why that would be a factor, but whatever.
 
Top