I was playing around trying to get a very basic 3d scene setup for testing, and the code below works in GM but not Enigma for some reason and I can't figure out why.
Create event:
Draw event:
Results: http://i.imgur.com/8hEnWoI.png
I can post project files if they're really necessary. Both used the same texture, named the same. On the enigma side I tried changing camera distance and setting texture to -1 as well as switching rendering engines (OGL1/3, DX9) but I could never see anything... And yes I added the object to the room.
Create event:
Code Select
d3d_start();
d3d_set_lighting(1);
x = -20;
y = -20;
z = 10;
d3d_light_enable(1, true);
d3d_light_define_point(1, -10, -10, 12, 200, c_white);
Draw event:
Code Select
draw_set_color(c_white);
d3d_set_projection(x, y, z, 0, 0, 0, 0, 0, 1);
d3d_draw_block(-5, -5, -5, 5, 5, 5, background_get_texture(background0), 1, 1);
Results: http://i.imgur.com/8hEnWoI.png
I can post project files if they're really necessary. Both used the same texture, named the same. On the enigma side I tried changing camera distance and setting texture to -1 as well as switching rendering engines (OGL1/3, DX9) but I could never see anything... And yes I added the object to the room.