• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

matrices

  1. Tizzio

    Windows [Bug Report] Sprite "auto clipped" when it should be visible

    Hello, This issue it's not that easy to explain but i'll try to be as clear as possible. It's important to mention that this bug is present only in GMS2+ Let's start with this code and try to break it down in smaller parts: surface_set_target(surf); draw_clear(c_white)...
  2. Erik Leppen

    GameMaker 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...
  3. Posho

    GameMaker [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...
  4. Posho

    GameMaker [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...
  5. R

    3D Enter the Matrix: How to check current rotation?

    Hi, While working on a 3d project, I've used matrix_multiply to rotate a character and based his movement of his rotation. In other words, the character changes direction by rotating: var _r = matrix_build(move,0,0, rotate,0,0, 1,1,1); m = matrix_multiply(_r,m); While trying to find the current...
  6. Octopus_Tophat

    GameMaker Sprites culling when manually manipulating matrices

    Hi, I'm not using cameras in my game for complicated reasons that I don't really feel like explaining. I basically have my own draw pipeline, where the main game control object handles all the drawing for my custom cameras. So my custom cameras are manipulating the matrices while setting...
  7. Binsk

    3D Calculating 3D Bone Transform

    Edited Edit: Okay, just for anyone who stumbles across this topic. Turned out the specific model I was using was marked to use spherical transformations for over half the bones (which I didn't realise, as I thought I picked a model that only used quat-pos pairs). This was causing the issue...
Top