1. Z

    SOLVED backface culling issues

    Hey guys and girls, i am currently working on a small 3d game in game maker. So far i had no problems with performance however iam now generating meshes during runtime and the algorithm (greedy meshing) for doing that is pretty slow. So i started looking into improving overall performance to...
  2. hydroxy

    d3d GMS2 Import Error

    Hey, I while back I started to create a snooker shooter game, I am developing it again. It was a few years back when I started, now I've imported it to GMS2, however some of the d3d is not working correctly. I see that GMS2 has tried to work with the obsolete d3d functions by creating a variety...
  3. M

    Making FPS Wall Switches?

    Not sure where to post this, but what I am asking about may have a lot to do with programming. Okay, this is all regarding the 3D, or "d3d", format. Let's say I want to make a wall switch in my first person shooter. You know, like how you interact with switches in DOOM or Wolfenstein 3D. You...
  4. Erik Leppen

    GMS 2 How to draw vertex buffers transformed?

    I'm used to draw a vertex buffer in old versions of GM like so: d3d_transform_set_identity(); d3d_transform_add_scaling(xscale, yscale, 1); d3d_transform_add_translation(xorigin, yorigin, 0); vertex_submit(vbuff, pr_trianglelist, -1); d3d_transform_set_identity(); Apparently, in GM...
  5. Sammi3

    Casting D3DX11Device from os_get_info into valid data type

    I wanted to cast the D3DX11Device and D3DX11Context from the map provided by os_get_info into the correct type using the correct formating. On the C++ side, I currently have my dll setup as follows: fn_export double Init(void* dx11Device, void* dx11Context, void* windowHwnd) { //Cast void...
  6. Posho

    GMS 2 [Solved] 3D Projection Error

    Hey, I'm encountering this weird issue with some simple 3D projections. I'm trying to make some sort of prison cell but the floor and ceiling can not be seen unless they are looked at from the inside, this happens despite the walls working just fine. What could be causing this? I am using...
  7. Posho

    GMS 2 [Solved] 3D Walls in Studio 2

    Hello, With the death of d3d functions, I've been having to fiddle with vertex buffer functions which is a completely new ground to me. Whilst I was able to pull off drawing floors with textures, I can't properly pull off walls. Can anyone who knows how this works, please help me with this...
  8. Jellybean Studios!

    why is my code not working

    this is the code d3d_draw_block(-9.80,-9.53,-5.00,9.80,9.53,5,background_get_texture(bg_floor)-1,1,1) its not working please correct it.
  9. Steve Gal

    Windows 3D alpha value?

    Hello. So I recently wanted to try the d3d functions for a map screen only as the game I am working on has a lot of different layers of mapping. I managed to get very far really quick since what I need is really basic. I am using "d3d_draw_floor" just to draw simple flat textures on different...
  10. P

    Legacy GM Vertex Buffers only drawing below the map [SOLVED]

    This is sort of a follow-up to another thread I posted. However, another issue popped up. Screenshots displayed at the link: https://sites.google.com/view/prometheus1998imagegallery/vertex-buffers-only-drawing-below-the-map The only things I can think of is that, somehow, I defined the "up"...
  11. MegaJim73

    GML [3D] Drawing depth dilemma

    I have a bit of a delicate dilemma involving the drawing of depth in 3D. I have a boss object and a parent gun object, with depths of -10 and -100 respectively. One of the gun objects is a sniper rifle which draws a scope overlay when zoomed in. The boss object has a health bar drawn on the HUD...
  12. Neuromancer

    GMS 2 Old d3d_start()

    Hey guys... I've noticed that d3d_start(), d3d_draw_block, d3d_set_projection_ext(); Does not exist anymore in GMS2... I saw in the documentation something about camera, matrices, vertex buffers and GPU functions. But I didn't understand ****. I mean, how can we do something like a 2.5D...
  13. Edwin

    Legacy GM How to import .STL format 3D models?

    I'd like to import 3D models (preferably in .STL) in game but I have no idea how to do it. Can you help me with that? :p. I have nothing against other formats of 3D models, so if you recommend a better formats, I will be happy to switch to them.
  14. R

    3D A strange issue with D3D (I think it's a projection issue?)

    Hi everyone! I've been learning / experimenting with d3d in gamemaker the last couple of days, and I've run into a seemingly strange issue that I can't seem to quite decipher. Long story short, it seems that certain instances of particular objects are being projected orthographically (as in...
  15. 3

    Shaders How Much Can the GPU Handle in 3 Dimensions?

    Relatively quick question, in the process of drawing 3d models i normally, map out a .obj file to their corresponding; v (x,y,z) , vt (u,v,w) , vn (i,j,k); vertex position in 3d space ,xyz, vertex texture in 2d space with w for mapping ,uvw, and vertex normal for lighting ,ijk,. I've gotten...
  16. zendraw

    3D Q: Alpha in 3D

    So ive looked up the new article in the news window when you start game maker and there the person talked about how to solve the transparency cutting out anything that is behind it, which by using the default setting in GM2 is enabling ztesting or somthing (gpu_set_ztestenable(true)), i dont...
  17. H

    please help me. D3D_end problem

    Hi. I'm having a huge issue with my project. It's an fps using an older method of 3D (d3d and sprites as objects, doom like) and I'm trying to add a credits sequence into my game, which worked fine, however now when I enter the 2D credits sequence from one of the 3D rooms, the text is unreadable...
  18. Big50000

    3D Drawing vertex with a transparent texture problem.

    Hello, I have a problem with drawing vertex with a transparent texture. It shows some of weird transparent texture rendering like this. Here is my code. For my game, I'm using Xor's lighting shader and some of custom codes to load converted vertexes. (the box) I've tried any of fixes from...
  19. S

    3D Collision[solved]

    Gutten Morgen. I have a next problem: I have object "plane" which should destroy itself if point_distance to object "cylinder" is == 50. But it's doesn't work. Here is their code: o_plane Step Event: if (point_distance(x, y, o_cylinder.x, o_cylinder.y)) == 50 instance_destroy(); if...
  20. FredFredrickson

    Free Model Viewer

    On occasion I've had a need for previewing 3D models in GameMaker: Studio prior to actually dropping them into my games, and so I've created a simple model viewer program that can do just this. The viewer mimics Blender's 3D environment and allows for some viewing options, like toggling...