thisdp/dgs

3dInterfaces appear black after version 3.468

PlatinMTA opened this issue · 4 comments

After updating my DGS to the lastest version I discovered that 3dInterfaces (or at least 3dInterfaces with windows) now appear black.

Click me to see the images

How it looks in 3.494 onwards

How it should look

I have no clue what the issue is, but 3.468 works just fine

xLive commented

hmmm can you upload 3.468 verison?
i need to test cuz i did some tests and didn't work

I got it form the releases of this github: https://github.com/thisdp/dgs/releases/tag/3.468

Here is the script I used to test:

DGS = exports.dgs
sw, sh = guiGetScreenSize()

win= DGS:dgsCreateWindow((sw - 640) / 2, (sh - 480) / 2, 640, 480, "w/e", false)
interface= DGS:dgsCreate3DInterface(2377.44678, -1311.44519, 25.00000, 4/1.5, 3/1.5, 640, 480)

DGS:dgsSetParent(win, interface)
DGS:dgsSetPosition(win, 0, 0)

nah, 3.468 uses material line 3d, while after 3.468 uses material primitive line 3d

#73 does fix the error.