hydroxy
Member
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 of scripts. However, while the d3d does work for the most part it does have a major problem. As shown below for balls I drew it is drawing both the front and the back of the model. I used a quarternion based rotation system when I developed the game originally, and another forum user helped me with the specifics of the d3d so I am at a bit of a loss to understand what exactly is going wrong.
This is how the game looks after import:
As you can see the balls seem to be translucent, in some spots you can see right through to the other side. I thought the problem was that d3d culling was perhaps needed. When enable d3d culling using d3d_set_culling(0) the rotation of the snooker balls does not work correctly and there are two spots on the ball at the poles that are entirely transparent, as shown in the image below:
Any ideas?
Thanks for reading
I see that GMS2 has tried to work with the obsolete d3d functions by creating a variety of scripts. However, while the d3d does work for the most part it does have a major problem. As shown below for balls I drew it is drawing both the front and the back of the model. I used a quarternion based rotation system when I developed the game originally, and another forum user helped me with the specifics of the d3d so I am at a bit of a loss to understand what exactly is going wrong.
This is how the game looks after import:
As you can see the balls seem to be translucent, in some spots you can see right through to the other side. I thought the problem was that d3d culling was perhaps needed. When enable d3d culling using d3d_set_culling(0) the rotation of the snooker balls does not work correctly and there are two spots on the ball at the poles that are entirely transparent, as shown in the image below:
Any ideas?
Thanks for reading