Godot๋ ์์คํ ์ด GLES2๋ฅผ ์ฒ๋ฆฌ ํ ์ โโ์๋์ง ์ฌ๋ถ๋ฅผ ํ์ธํ๊ณ ์ค๋จํ๊ฑฐ๋ ์คํจํ๋ ๋์ GLES2๋ฅผ ์ง์ํ์ง ์๋ ๋๋ผ์ด๋ฒ์ ๋ํ ์๋ฏธ์๋ ์ค๋ฅ ๋ฉ์์ง๋ฅผ ์ฌ์ฉ์์๊ฒ ํ์ํด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค. "๊ทํ์ ์ปดํจํฐ๋ ํ์ฌ์ด ํ๋ก๊ทธ๋จ์ ์คํํ๋ ๋ฐ ํ์ํ GLES2๋ฅผ ์ง์ํ์ง ์๋ ๊ฒ ๊ฐ์ต๋๋ค. ์ ๋๋ผ์ด๋ฒ ๋๋ ํ๋์จ์ด ์ ๊ทธ๋ ์ด๋๊ฐ ํ์ํฉ๋๋ค." ๊ทธ ๋ผ์ธ์ ๋ฐ๋ผ ๋ญ๊ฐ.
์ด๊ฒ์ด ๋ฌด์์ํด์ผํ ์ง ์ ๋ชจ๋ฅด๊ฒ ์ง๋ง ์ฝ๋์ ์ด๋ค ๋ฐฉ๋ฒ์ด ์์ด์ผํฉ๋๋ค.
์ด๊ฒ์ ํญ์ ์๋ฑํ GPU์ ์๋ฑํ ๋๋ผ์ด๋ฒ๋ฅผ ๊ฐ์ง๊ณ ์๋ ๊ฒ์ฒ๋ผ ๋ณด์ด๋ Windows ์ฌ์ฉ์๋ฅผ์ํ ๊ฒ์ด์ง๋ง ์ด์์ ์ผ๋ก๋ ๋ชจ๋ ํ๋ซํผ์์ ๊ฒ์ฌ๊ฐ ์ด๋ฃจ์ด์ง๋๋ค.
+1
+10
+1
ํด๋น ์ฝ๋๋ฅผ context_gl_win.cpp์ ์์ฑํ์ง๋ง ์ผ๋ฐ์ ์ผ๋ก
๋ฉ์ฒญํ ๋๋ผ์ด๋ฒ๋ก ์ธํด Windows์์ ๊ตฌํ๋์ง ์์ ๊ธฐ๋ฅ
๊ทธ ์ด์ ๋ฅผ ์ ํํ ์ ์ ์์ผ๋ฉด ์ข๊ฒ ์ด
2015 ๋ 1 ์ 17 ์ผ ํ ์์ผ ์คํ 2์ 56 ๋ถ MSC [email protected] ์ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
+1
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/okamstudio/godot/issues/1162#issuecomment -70376758.
ํ์ฌ๋ก์๋ ๋งค์ฐ ์ ์ฉํ ๊ธฐ๋ฅ์ด๋ฏ๋ก ์ฐ์ ์์๋ฅผ ๋๊ฒ ์ค์ ํฉ๋๋ค. ์ธํ IGP๊ฐ ๋งค์ฐ ์ค๋๋์๊ฑฐ๋ GLES2๋ฅผ ์ง์ํ์ง ์๋ ์ฌ๋๋ค๋ก ์ธํ ์ถฉ๋์ ๋ํ ์๋ง์๋ณด๊ณ ๊ฐ ์์ต๋๋ค.
์ข์, ๋ด๊ฐ ์์ "tons"์ ๋ฐ์ค์ ๊ธ๊ธฐ ์ํด ์ถฉ๋ถํ ์ถฉ๋์ ์ฐธ์กฐํ๋ค๊ณ ์๊ฐํ๋ค. ๋๋ ์์นด์ด๋ธ๋ฅผ ํํค์น๋ ๊ฒ์ ๊ทธ๋ง ๋ ๊ฒ์ด๋ค. : D
+1 Godot๊ฐ ์ฐ๋ถํฌ์์๋ ๋ง๋ฒ์ฒ๋ผ ์๋ํ์ง๋ง Windows์์๋ ์๋ํ์ง ์๋ ์ด์ ๋ ๋ฌด์์ ๋๊น?
@reduz๋ฅผ ์ด๋ป๊ฒ ๊ตฌํํ ์ ์๋์ง์ ๋ํ ์์ด๋์ด๊ฐ ์์ต๋๊น?
ํด๋น ์ฝ๋๋ฅผ context_gl_win.cpp์ ์์ฑํ์ง๋ง ์ผ๋ฐ์ ์ผ๋ก Windows์์ ๊ตฌํ๋์ง ์์ ๊ธฐ๋ฅ์ผ๋ก ์ธํด ์ถฉ๋์ด ๋ฐ์ํฉ๋๋ค.
๊ทธ๋ ๋ค๋ฉด ๋์ ๋งํฌ๋ฅผ ์ฌ์ฉํ์ง ์๋ ์ด์ ๋ ๋ฌด์์ ๋๊น? ์ด๋ค ๊ธฐ๋ฅ์ด ๋๋ฝ๋์๋์ง ๋ถ๋ช ํฉ๋๋ค. ๋๋ https://github.com/p3/regal ์ด ์ด๊ฒ์ํ๋ค๊ณ ๋ฏฟ์ต๋๋ค.
์ด๋ฏธ ๊ฐ์งํ๊ณ ๋ฉ์์ง๋ฅผ ํ์ํ๋ ค๊ณ ์๋ํ์ง๋ง
์ฌ์ ํ ์๋ํ์ง ์์ต๋๋ค.
์ง์๋์ง ์๋ ํ๋์จ์ด๊ฐ ์๊ธฐ ๋๋ฌธ์ ์ถฉ๋ ์ด์ ๋ฅผ ์ ์ ์์ต๋๋ค.
๋ฐ๋ผ์ ๊ณ ์น ์ ์์ต๋๋ค.
PR ํ์ํฉ๋๋ค.
2016 ๋ 2 ์ 2 ์ผ ํ์์ผ ์คํ 12:11, anatoly techtonik < [email protected]
์ผ๋ค :
ํด๋น ์ฝ๋๋ฅผ context_gl_win.cpp์ ์์ฑํ์ง๋ง ์ผ๋ฐ์ ์ผ๋ก
Windows์์ ๊ตฌํ๋์ง ์์ ์ผ๋ถ ๊ธฐ๋ฅ๊ทธ๋ ๋ค๋ฉด ๋์ ๋งํฌ๋ฅผ ์ฌ์ฉํ์ง ์๋ ์ด์ ๋ ๋ฌด์์ ๋๊น? ์ด๋ค ๊ธฐ๋ฅ์ด
์์ด๋ฒ๋ฆฐ. ๋๋ https://github.com/p3/regal ์ด ์ด๊ฒ์ํ๋ค๊ณ ๋ฏฟ์ต๋๋ค.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -178624438.
์ค๋๋ GPU๋ฅผ ๊ฐ์ง ์ฌ๋์ด Linux์์ gdb๋ฅผ ํตํด Godot๋ฅผ ์คํํ๋ ค๊ณ ํ ์ ์๋ค๋ฉด ์๋นํ ๋์์ด ๋ ๊ฒ์ ๋๋ค. Windows "๋ฌธ์ ์๋ช "๋๋ฒ๊ทธ ์ ๋ณด๋ ๋ฌด์๋ฏธ ํด ๋ณด์ ๋๋ค.
๋๋ C ++์ ์ ํํ๊ณ ์์ง ์๋ค. Python ๋ง ์ฌ์ฉํ๋ฏ๋ก ์ฌ์ฉ์์ ๋๋ค. ๋ฌด์์ ์คํํด์ผํ๋์ง ์๋ ค ์ฃผ์๋ฉด ์ ๋ณด๋ฅผ ์ป์ ์ ์์ต๋๋ค.
๋ฌด์์ ์คํํด์ผํ๋์ง ์๋ ค ์ฃผ์๋ฉด ์ ๋ณด๋ฅผ ์ป์ ์ ์์ต๋๋ค.
Windows์์ ๋๋ฒ๊ฑฐ๋ฅผ ํตํด ํญ๋ชฉ์ ์คํํ๋ ๋ฐฉ๋ฒ์ ๋ํ ๋จ์๊ฐ ์์ง๋ง Windows์์ ํญ๋ชฉ์ ์ปดํ์ผ ํ ๊ฒฝํ์ด ๋ง์ง ์์ ์ฌ๋๋ค์๊ฒ๋ ์ฌ์ํ ์ผ์ด ์๋๋ผ๊ณ ์๊ฐํฉ๋๋ค. ์ด๊ฒ์ด ๋ด๊ฐ ๋๊ตฐ๊ฐ์๊ฒ Linux์์ GDB๋ก ๋๋ฒ๊น ์ ์๋ํ๋๋ก ์ ์ํ ์ด์ ์ ๋๋ค. ์ฌ์ฉํ๊ธฐ ๋งค์ฐ ์ฝ๊ธฐ ๋๋ฌธ์ ๋๋ค.
$ gdb /path/to/godot/binary // if possible self-compiled in debug mode, to have more info
-> run
// see that it segfaults in the terminal
-> bt
์ด bt
(์ญ ์ถ์ ) ๋ช
๋ น์ ์ถ๋ ฅ์์ด ๋ฒ๊ทธ ๋ณด๊ณ ์์ ๋ณต์ฌํฉ๋๋ค.
๋ฌผ๋ก ๋ฌธ์ ๊ฐ Windows์ ๊ตญํ๋ ๊ฒ์ผ ์ ์์ผ๋ฏ๋ก Linux์์ ๋๋ฒ๊น ํ๋ ๊ฒ์ ๋ฌด์๋ฏธ ํ ์ ์์ง๋ง Linux ์ฌ์ฉ์๋ ํ๋์จ์ด๊ฐ OpenGL (ES) 2.1์ ์ง์ํ์ง ์๋๋ค๊ณ ์ฌ์ฉ์์๊ฒ ์๋ฆฌ์ง ์์ segfault๋ฅผ ๊ฐ์ง๊ณ ์๋ค๊ณ ์๊ฐํฉ๋๋ค.
๋ฒ ํ 2.0์ด ๋ด Linux์์ ์คํ๋์ง ์์ง๋ง ๊ทธ๋ํฝ ์นด๋์ ๊ด๋ จ์ด์๋ ๊ฒ ๊ฐ์ต๋๋ค.-# 3557
Hehe ๋น์ ์ ์ฐ๋ฆฌ๊ฐ ์ฝ๋ ์ผ์ด์ค์์ ๊ฐ์ง๊ณ ์๋ ๋ชจ๋ ์๋ ค์ง ๋ฌธ์ ๋ฅผ ๊ฒช๊ฒ ๋ ์ด์ด ์ข์ ์ฌ๋์ ๋๋ค. :)
๋๋ ๋จ์ง "๋ถํํ๋ ์ฌ๋ฅ"๊ณผ GitHub ๊ณ์ ์ ๊ฐ์ง๊ณ ์๋ ๊ฒ ๊ฐ๋ค. =)
์์ํ ๋ ์ถฉ๋ํ๋ ์ค๋๋ ๋น๋์ค ์นด๋์ ๋ํด์๋ ์ ๋ชจ๋ฅด๊ฒ ์ง๋ง ์๋ฅผ ๋ค์ด NVIDIA 6800 GT์์๋
์ผ๋ถ ํ๋ก์ ํธ์์๋ง ์ถฉ๋ํฉ๋๋ค. ๋ฐ๋ผ์ ๋ชจ๋ ํ๋ก์ ํธ์ Godot ๋ชจ๋์ ํ๋ ์ ๋ฒํผ ์ค๋ฅ์ ๋ํ cmd ์ถ๋ ฅ์ด ์์ต๋๋ค. ํ๋ก์ ํธ ๋์คํฐ ๋ผ์ด์ ์ค์ ์์ "fp16_framebuffer"์ค์ ์ ๋นํ์ฑํํ์ฌ ์์ ํ ๊ณ ์น ์ ์์ต๋๋ค. ๋์ผํ ๋น๋์ค ์นด๋ (์ ์ฒด ์ฐ๊ฒฐ์ ๋ํด ์์ง ๋ชปํจ)์์ "fragment_lighting"์ค์ ์ ๋นํ์ฑํํ์ฌ ์์ ํ ์์ ํ ์์๋ ์๋ชป๋ ๋์คํฐ ํ (ํ
์ค์ฒ ์์)๊ฐ ์๋ค๋ ๊ฒ์ ์๊ณ ์์ต๋๋ค.
๋ฐ๋ผ์ Godot๋ ์ด๋ฌํ ๊ธฐ๋ฅ์ด ์ง์๋๋์ง ํ์ธํ๊ณ ๊ทธ๋ ์ง ์์ ๊ฒฝ์ฐ ์ฌ์ฉ์๋ฅผ ๊ธฐ๋กํ๊ณ ๋นํ์ฑํํด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
์๋ง๋ ์์์ ์ถฉ๋์ ๋์์ด ๋ ๊ฒ์
๋๋ค.
๋ฌด์์ ์คํํด์ผํ๋์ง ์๋ ค ์ฃผ์๋ฉด ์ ๋ณด๋ฅผ ์ป์ ์ ์์ต๋๋ค.
$ gdb / path / to / godot / binary // ๊ฐ๋ฅํ ๊ฒฝ์ฐ ๋๋ฒ๊ทธ ๋ชจ๋์์ ์์ฒด ์ปดํ์ผ๋์ด ๋ ๋ง์ ์ ๋ณด๋ฅผ ์ป์ต๋๋ค.
Godot_v2.0_beta_20160205_x11.64
์ ๋์ผํ ํ๋์จ์ด๋ฅผ ์ฌ์ฉํ๋ Fedora 23์์ ์ถฉ๋ํ์ง ์์ต๋๋ค. Mobile Intelยฎ GM45 Express Chipset
๋ก ๊ฐ์ง๋ฉ๋๋ค.
Godot_v2.0_beta_20160205_win32.exe
์ฌ์ ํ Vista 32์์ ์ถฉ๋ํฉ๋๋ค.
@techtonik ๊ทธ ์ด์ ๋ Windows์ ๋ฌ๋ฆฌ Linux๋ ํ๋์จ์ด OpenGL์ ๋ฌธ์ ๊ฐ์์ ๋ OpenGL์ ์ํํธ์จ์ด ๊ตฌํ์ ์ฌ์ฉํ์ง๋ง ๋ฌผ๋ก ํ๋์จ์ด๋ณด๋ค ๋๋ฆฌ๊ธฐ ๋๋ฌธ์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค.
@ Algrin6 ์์ง์ด ๊ทธ ์ฌ์ค์ ๋ํ ํฌ๋ช ์ฑ์ ์ ๊ณต ํ ์ ์๋ค๋ฉด ์ข์ ๊ฒ์ ๋๋ค. ์์ ์๋ Baldur 's Gate์ ๊ฐ์ ๊ฒ์์ด ๊ทธ๋ํฝ ํ ์คํธ ๋ฐ์ด๋๋ฆฌ์ ํจ๊ป ์ ๊ณต๋์์ต๋๋ค. http://www.fileplanet.com/13582/download/Baldur 's-Gate-Graphics-Test
BIOWARE VIDEO DRIVER TEST
PURPOSE
-------
This program tests each of the DirectDraw calls used in the full version of Baldur's
Gate. The program uses 640x480 mode with 16-bit color, which has proved to be
problematic with some video drivers.
REQUIREMENTS
------------
This program requires a video card with 2 MB of memory. This program also expects
to see DirectX 3.01a or greater on your system.
...
2MB์ ๋ฉ๋ชจ๋ฆฌ! ์ด์ 3GB + 3GHz๊ฐ ์๊ณ ๊ฒ์ ์์ง์ ์คํํ ์ ์์ต๋๋ค. ์ด์งธ์?
2MB์ ๋ฉ๋ชจ๋ฆฌ! ์ด์ 3GB + 3GHz๊ฐ ์๊ณ ๊ฒ์ ์์ง์ ์คํํ ์ ์์ต๋๋ค. ์ด์งธ์?
์ฐ๋ฆฌ๊ฐ 2016 ๋ ์ด๊ณ ๊ทธ Bioware ์์ง์ด ์์ฃผ ์ค๋ ๋์๊ธฐ ๋๋ฌธ์? ์ด ํ ์คํธ๋ ๊ทธ๋ํฝ ๋๋ผ์ด๋ฒ๊ฐ ์ถฉ๋ถํ ๊ฐ๋ ฅํ ์ง ํ์ธํ๊ธฐ ์ํด ์ค๊ณ๋์์ผ๋ฏ๋ก ํ ์คํธ๋ DirectX 3.01a๋ถํฐ _ ์๋ ์ค์ผ ๊ฐ๋ฅ์ฑ์ด ๋์ง๋ง DirectX 7 ์ดํ์ธ ๊ฒฝ์ฐ "ํ๋์จ์ด ๋๋ ๋๋ผ์ด๋ฒ ์ ๊ทธ๋ ์ด๋"๋ผ๊ณ ๋งํ ์ ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ Bioware ์์ง์ MS Windows <= XP์์๋ง ์๋ํ๋ ๋ฐ๋ฉด Godot๋ 12 ๊ฐ์ ํ๋ซํผ์์ ์๋ํฉ๋๋ค.
์ด์ ์ฐ๋ฆฌ๊ฐํด์ผ ํ ์ผ์ ์ ํํ ์๊ณ ์๋ ๊ฒ ๊ฐ์ผ๋ฏ๋ก ํ ์์ฒญ์ํ์ญ์์ค.
@techtonik์ ์ฃผ์ ๋ฌธ์ ๋ ํต์ฌ ๊ฐ๋ฐ์๊ฐ ๋ฌธ์ ๋ฅผ ํ ์คํธ ํ ์ค๋๋ ํ๋์จ์ด๊ฐ ์๋ค๋ ๊ฒ์ ๋๋ค. ๋ฐ๋ผ์ ๋ฌธ์ ์ ์์ธ์ ์ ํํ ์ฐพ์ ๋ด๊ธฐ ์ํด ๋๋ฒ๊ทธ ์ ๋ณด๋ฅผ ์ ๊ณตํ๊ฑฐ๋ ์ง์ ์์ ํด์ผํฉ๋๋ค (์คํ ์์ค์ ์๋ฆ๋ค์).
Baldur์ ๊ฒ์ดํธ๋ ๋ฒ์ฉ 2D / 3D ๊ฒ์ ์์ง์ผ๋ก ํ๋ก๊ทธ๋๋ฐ๋์ง ์์์ต๋๋ค.
C, x86 ์ด์
๋ธ๋ฌ, ์๋ง๋ Watcom์ผ๋ก ํ๋ก๊ทธ๋๋ฐ ๋ ๋ง์ถคํ ๋ง์ถคํ ํ๋ก๊ทธ๋จ์
๋๋ค.
์ปดํ์ผ๋ฌ, ๋ณดํธ ๋ชจ๋์ด๋ฉฐ ์คํฌ๋ฆฝํ
์ ์ํด ๊ธฐ๋ณธ ์คํ ๋จธ์ ์ ์ฌ์ฉํฉ๋๋ค. ๋ํ
๋ชจ๋ ์ฌ์ฉ์ ์ง์ ๋ธ๋ฆฌ ํ
์ฝ๋๋ฅผ ์ง์ ์ํ ํ ์ ์์ต๋๋ค.
2016 ๋
2 ์ 7 ์ผ ์ผ์์ผ ์คํ 12:36, George Marques [email protected]
์ผ๋ค :
@techtonik https://github.com/techtonik ์ด๊ฒ์ ๋ํ ์ฃผ์ ๋ฌธ์ ๋
ํต์ฌ ๊ฐ๋ฐ์ ์ค ๋๊ตฌ๋ ๋ฌธ์ ๋ฅผ ํ ์คํธ ํ ์ค๋๋ ํ๋์จ์ด๋ฅผ ๊ฐ์ง๊ณ ์์ง ์์ต๋๋ค. ๊ทธ๋์
๋ฌธ์ ์ ์์ธ์ ์ ํํ ์ฐพ์ ๋ด๊ธฐ ์ํด ๋๋ฒ๊ทธ ์ ๋ณด๋ฅผ ์ ๊ณตํด์ผํ๊ฑฐ๋
(์คํ ์์ค์ ์๋ฆ๋ค์) ์ค์ค๋ก ๊ณ ์ณ๋ผ.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -181034018.
@reduz ๋ ๊ฒ์์ด ํ์ฌ ์ฌ์ฉํ๋ ๋ชจ๋ ๊ธฐ๋ฅ (๋ธ๋ฆฌ ํ , ํํฐํด, 3D ๊ฐ์ฒด ๋ฑ)์ ๋์ดํ๋ ์์ง (๋๋ ํธ์ง๊ธฐ์์ ์ฌ์ฉ)์ ์ํด ์์ฑ ๋ ์ฝ๋์ ๋ํ "ํ๋ซํผ ํธํ์ฑ ํ ์ด๋ธ"์ ์์ฑ ํ ์ ์์ต๋๊น?
์ง๊ธ ๋น์ฅ์ ๋ถ๊ฐ๋ฅํ๋ค๋ฉด, ์ ์ด๋ ๊ธฐ์ ์ ์ผ๋ก ๊ฐ๋ฅํ ๊น์?
์ ํจ์ฑ ๊ฒ์ฌ์ ์ฌ์ฉ ์ฌ๋ก๋ ๋ชจ๋ ๋ธ๋ฆฌ ํ ์ฅ์น์์ ์คํํ ์์๋ ์ต์ ๊ฒ์ (ํ ์คํธ)์ ์์ฑํ๊ณ ์ฑ๋ฅ์ ์ธก์ ํ ์์๋ ๊ฒ์ ๋๋ค.
@reduz https://github.com/godotengine/godot/issues/1162#issuecomment -180466018์ ์ด๋ป์ต๋๊น?
@ Algrin6 ์ด์ ๋ฒ์ ์ OpenGL์์ ์ง์๋๋์ง ํ์ธํ๋ ๊ฒ์ ์๋ฏธ๊ฐ ์์ต๋๋ค. ์ด๋ฌํ GPU์๋ OpenGL์ ๋ชจ๋ ๊ฒ์ด ์ง์๋๋ค๋ ๊ฒ์ ์๋ ค์ฃผ๋ ๋๋ผ์ด๋ฒ๊ฐ ์์ผ๋ฉฐ ๋๋ฆฌ๊ฑฐ๋ ๋ฉ์ถค ๋๋ ์ถฉ๋ํ๋ ์ผ์ข ์ ๊ธฐ๊ดดํ ์ํํธ์จ์ด ํด๋ฐฑ์ผ๋ก ์ด๋ํฉ๋๋ค.
๋๋ ๊ทธ๋ฌํ ์ค๋๋ ํ๋์จ์ด๊ฐ ์กด์ฌํ์ง ์๊ณ ์ง๊ตฌ์์ ๋จ์ด์ง ์ฒํ๋ ๊ฒ์ ์ ํธํฉ๋๋ค.
"ํจ์น๋ ํ์ํฉ๋๋ค"๋ผ๋ ๋ป์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค. ๋๊ตฌ๋ ๊ฑฐ๋ถ ํ ๊ฒ ๊ฐ์ง ์์ต๋๋ค.
ํ๋ฅญํ๊ฒ ์ง์
์ด์ ํ๋ซํผ.
2016 ๋
2 ์ 11 ์ผ ๋ชฉ์์ผ ์ค์ 3:41, Juan Linietsky [email protected]
์ผ๋ค :
@ Algrin6 https://github.com/Algrin6 ๊ทธ๊ฒ์ด ์๋์ง ํ์ธํ๋ ๊ฒ์ ๋ฌด์๋ฏธํฉ๋๋ค.
stuff๋ ์ด์ ๋ฒ์ ์ OpenGL์์ ์ง์๋ฉ๋๋ค. ์ด GPU์๋ ๋๋ผ์ด๋ฒ๊ฐ ์์ต๋๋ค.
OpenGL์๊ฒ ๋ชจ๋ ๊ฒ์ด ์ง์๋๋ค๋ ์ฌ์ค์ ์๋ ค์ฃผ๊ณ
๋๋ฆฌ๊ฑฐ๋ ๋ฉ์ถค ๋๋ ์ถฉ๋ํ๋ ๊ธฐ๊ดดํ ์ํํธ์จ์ด ํด๋ฐฑ.๋๋ ๊ทธ๋ฐ ์ค๋๋ ํ๋์จ์ด๊ฐ ์กด์ฌํ์ง ์๊ณ ๋จ์ด ์ก๋ค๊ณ ๊ฐ์ฅํ๋ ๊ฒ์ ์ ํธํฉ๋๋ค
ํ์ฑ์์.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -182658216.
๋๋ ์ฌ์ ํ ์ค๋๋ ์นฉ์
์ ๊ฐ์ง ๋๊ตฐ๊ฐ๊ฐ ๋ ์ ๊ธฐ์ฌํ๊ธฐ๋ฅผ ๊ธฐ๋ค๋ฆฌ๊ณ ์์ต๋๋ค.
์ง์๋์ง ์๋ ํ๋์จ์ด ๊ฐ์ง. ๊ทธ ์ดํ๋ก๋ ๊ทธ ํ๋์จ์ด๊ฐ ์์ต๋๋ค.
๊ทธ๋์ ์ ๊ฐ ํ ์์๋ ์ผ์ด๋ณ๋ก ์์ต๋๋ค.
2016 ๋
2 ์ 10 ์ผ ์์์ผ ์คํ 11์ 30 ๋ถ์ Sergey Lapin [email protected]
์ผ๋ค :
"ํจ์น๋ ํ์ํฉ๋๋ค"๋ผ๋ ๋ป์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค. ๋๊ตฌ๋ ๊ฑฐ๋ถ ํ ๊ฒ ๊ฐ์ง ์์ต๋๋ค.
ํ๋ฅญํ๊ฒ ์ง์
์ด์ ํ๋ซํผ.2016 ๋ 2 ์ 11 ์ผ ๋ชฉ์์ผ ์ค์ 3:41, Juan Linietsky [email protected]
์ผ๋ค :@ Algrin6 https://github.com/Algrin6 ๊ทธ๊ฒ์ด ์๋์ง ํ์ธํ๋ ๊ฒ์ ๋ฌด์๋ฏธํฉ๋๋ค.
stuff๋ ์ด์ ๋ฒ์ ์ OpenGL์์ ์ง์๋ฉ๋๋ค. ์ด GPU์๋ ๋๋ผ์ด๋ฒ๊ฐ ์์ต๋๋ค.
OpenGL์๊ฒ ๋ชจ๋ ๊ฒ์ด ์ง์๋๋ค๋ ์ฌ์ค์ ์๋ ค์ฃผ๊ณ
๋๋ฆฌ๊ฑฐ๋ ๋ฉ์ถค ๋๋ ์ถฉ๋ํ๋ ๊ธฐ๊ดดํ ์ํํธ์จ์ด ํด๋ฐฑ.๋๋ ๊ทธ๋ฐ ์ค๋๋ ํ๋์จ์ด๊ฐ ์กด์ฌํ์ง ์๊ณ ๋จ์ด ์ก๋ค๊ณ ๊ฐ์ฅํ๋ ๊ฒ์ ์ ํธํฉ๋๋ค
ํ์ฑ์์.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
< https://github.com/godotengine/godot/issues/1162#issuecomment -182658216
.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -182676389.
80 ๋
๋๋ถํฐ 2000 ๋
์ด๊น์ง PC๋ฅผ ๋ณด๊ดํ ์ ์์ต๋๋ค. ๋์์ด๋๋ค๋ฉด
ํ์ง๋ง ํ
์คํธ ๋ฐ ๋๋ฒ๊น
๋ฐฉ๋ฒ์ ๋ํ ์ธ๋ถ ์ ๋ณด๊ฐ ํ์ํฉ๋๋ค.
Windows ๊ฐ๋ฐ์๋ ์ด๋ค ์ ์ผ๋ก๋ ๋๊ตฌ ๋ฑ์ ๋ํ ์์ด๋์ด๊ฐ ์์ต๋๋ค.
win95se2 ๋ฐ์ค๊ฐ์๋ i740 ์ธํธ, ์ผ๋ถ Pentim233MMX๋ ์์ต๋๋ค.
ํ๊ณ ์ ์ด๊ฒ์ 2025 ๋
๊น์ง ๋ฒ๋ ค์ง์ง ์์ ๊ฒ์
๋๋ค.
btw, Juan ์ด๋ฉ์ผ๋ก ์ ์๊ฒ ์ฐ๋ฝํ์ฌ ๊ฐ์ธ ์ฃผ์๋ฅผ ์ ์ ์์ต๋๊น?
๋ฉ์ฒญํ ์ง์ผ๋ก ํญ๊ฒฉํ์ง ์์ ๊ฒ์
๋๋ค.
2016 ๋
2 ์ 11 ์ผ ๋ชฉ์์ผ ์ค์ 5:48, Juan Linietsky [email protected]
์ผ๋ค :
๋๋ ์ฌ์ ํ ์ค๋๋ ์นฉ์ ์ ๊ฐ์ง ๋๊ตฐ๊ฐ๊ฐ ๋ ์ ๊ธฐ์ฌํ๊ธฐ๋ฅผ ๊ธฐ๋ค๋ฆฌ๊ณ ์์ต๋๋ค.
์ง์๋์ง ์๋ ํ๋์จ์ด ๊ฐ์ง. ๊ทธ ์ดํ๋ก๋ ๊ทธ ํ๋์จ์ด๊ฐ ์์ต๋๋ค.
๊ทธ๋์ ์ ๊ฐ ํ ์์๋ ์ผ์ด๋ณ๋ก ์์ต๋๋ค.2016 ๋ 2 ์ 10 ์ผ ์์์ผ ์คํ 11์ 30 ๋ถ์ Sergey Lapin [email protected]
์ผ๋ค :"ํจ์น๋ ํ์ํฉ๋๋ค"๋ผ๋ ๋ป์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค.
๋ฐ์ง ์๋ค
ํ๋ฅญํ๊ฒ ์ง์
์ด์ ํ๋ซํผ.2016 ๋ 2 ์ 11 ์ผ ๋ชฉ์์ผ ์ค์ 3:41, Juan Linietsky <
[email protected]>
์ผ๋ค :@ Algrin6 https://github.com/Algrin6 ๊ทธ๊ฒ์ด ์๋์ง ํ์ธํ๋ ๊ฒ์ ๋ฌด์๋ฏธํฉ๋๋ค.
stuff๋ ์ด์ ๋ฒ์ ์ OpenGL์์ ์ง์๋ฉ๋๋ค. ์ด GPU์๋ ๋๋ผ์ด๋ฒ๊ฐ ์์ต๋๋ค.
OpenGL์๊ฒ ๋ชจ๋ ๊ฒ์ด ์ง์๋๋ค๋ ๊ฒ์ ์๋ ค์ฃผ๊ณ
์
๋๋ฆฌ๊ฑฐ๋ ๋ฉ์ถค ๋๋ ์ถฉ๋ํ๋ ๊ธฐ๊ดดํ ์ํํธ์จ์ด ํด๋ฐฑ.๋๋ ๊ทธ๋ฐ ์ค๋๋ ํ๋์จ์ด๊ฐ ์กด์ฌํ์ง ์๊ณ
ํ๋ฝํ
ํ์ฑ์์.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
<
https://github.com/godotengine/godot/issues/1162#issuecomment -182658216
.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
< https://github.com/godotengine/godot/issues/1162#issuecomment -182676389
.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -182678470.
๋ ๋ค๋ก ๊ฐ ํ์๊ฐ ์์ต๋๋ค. ์ธํ
์๋ฆฌ์ฆ 3/4 ๋๋ i940์
์ถ๋ฝ ํ ๋งํผ ์ถฉ๋ถํ ...
mingw / msvc๋ก ์ปดํ์ผํ๊ณ ๋์ ์ ์ถฉ๋ํ๋์ง ์์ ๋ด์ญ์์ค.
ํ๋์จ์ด๊ฐ ์ง์๋์ง ์๋๋ค๋ MessageBox ํ์ ๋ฐฉ๋ฒ
2016 ๋
2 ์ 11 ์ผ ๋ชฉ์์ผ ์ค์ 12:00์ Sergey Lapin [email protected]
์ผ๋ค :
80 ๋ ๋๋ถํฐ 2000 ๋ ์ด๊น์ง PC๋ฅผ ๋ณด๊ดํ ์ ์์ต๋๋ค. ๋์์ด๋๋ค๋ฉด
ํ์ง๋ง ํ ์คํธ ๋ฐ ๋๋ฒ๊น ๋ฐฉ๋ฒ์ ๋ํ ์ธ๋ถ ์ ๋ณด๊ฐ ํ์ํฉ๋๋ค.
Windows ๊ฐ๋ฐ์๋ ์ด๋ค ์ ์ผ๋ก๋ ๋๊ตฌ ๋ฑ์ ๋ํ ์์ด๋์ด๊ฐ ์์ต๋๋ค.
win95se2 ๋ฐ์ค๊ฐ์๋ i740 ์ธํธ, ์ผ๋ถ Pentim233MMX๋ ์์ต๋๋ค.
ํ๊ณ ์ ์ด๊ฒ์ 2025 ๋ ๊น์ง ๋ฒ๋ ค์ง์ง ์์ ๊ฒ์ ๋๋ค.btw, Juan ์ด๋ฉ์ผ๋ก ์ ์๊ฒ ์ฐ๋ฝํ์ฌ ๊ฐ์ธ ์ฃผ์๋ฅผ ์ ์ ์์ต๋๊น?
๋ฉ์ฒญํ ์ง์ผ๋ก ํญ๊ฒฉํ์ง ์์ ๊ฒ์ ๋๋ค.2016 ๋ 2 ์ 11 ์ผ ๋ชฉ์์ผ ์ค์ 5:48, Juan Linietsky [email protected]
์ผ๋ค :
๋๋ ์ฌ์ ํ ์ค๋๋ ์นฉ์ ์ ๊ฐ์ง ๋๊ตฐ๊ฐ๊ฐ ๋ ์ ๊ธฐ์ฌํ๊ธฐ๋ฅผ ๊ธฐ๋ค๋ฆฌ๊ณ ์์ต๋๋ค.
์ง์๋์ง ์๋ ํ๋์จ์ด ๊ฐ์ง. ํด๋น ํ๋์จ์ด๊ฐ ์์ต๋๋ค.
์ดํ
๊ทธ๋์ ์ ๊ฐ ํ ์์๋ ์ผ์ด๋ณ๋ก ์์ต๋๋ค.2016 ๋ 2 ์ 10 ์ผ ์์์ผ ์คํ 11์ 30 ๋ถ์ Sergey Lapin < [email protected]
์ผ๋ค :
"ํจ์น๋ ํ์ํฉ๋๋ค"๋ผ๋ ๋ป์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค.
๋ฐ์ง ์๋ค
ํ๋ฅญํ๊ฒ ์ง์
์ด์ ํ๋ซํผ.2016 ๋ 2 ์ 11 ์ผ ๋ชฉ์์ผ ์ค์ 3:41, Juan Linietsky <
[email protected]>
์ผ๋ค :@ Algrin6 https://github.com/Algrin6 ํ์ธํ๋ ๊ฒ์ ์๋ฏธ๊ฐ ์์ต๋๋ค.
๊ทธ
stuff๋ ์ด์ ๋ฒ์ ์ OpenGL์์ ์ง์๋ฉ๋๋ค. ์ด GPU์๋
๋๋ผ์ด๋ฒ
OpenGL์๊ฒ ๋ชจ๋ ๊ฒ์ด ์ง์๋๋ค๋ ๊ฒ์ ์๋ ค์ฃผ๊ณ
์
๋๋ฆฌ๊ฑฐ๋ ๋ฉ์ถค ๋๋ ์ถฉ๋ํ๋ ๊ธฐ๊ดดํ ์ํํธ์จ์ด ํด๋ฐฑ.๋๋ ๊ทธ๋ฐ ์ค๋๋ ํ๋์จ์ด๊ฐ ์กด์ฌํ์ง ์๊ณ
ํ๋ฝํ
ํ์ฑ์์.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
<
https://github.com/godotengine/godot/issues/1162#issuecomment -182658216
.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
<
https://github.com/godotengine/godot/issues/1162#issuecomment -182676389
.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
< https://github.com/godotengine/godot/issues/1162#issuecomment -182678470
.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -182679526.
MinGW๋ก godot.windows.tools.32.exe๋ฅผ ์ปดํ์ผํ์ต๋๋ค. ์ถฉ๋. ๋ค์์ ๋ฌด์์ํ ์ง?
๋ด๊ฐ ์๊ฐํ ์์๋ ์ ์ผํ ๊ฒ์ ์ถฉ๋์ ๋๋ฒ๊ทธํด์ผํ๋ค๋ ๊ฒ์
๋๋ค. ์ ๋ถ์ฆ
main () ํจ์๋ก ์์ํ๊ณ ๊ฐ ํจ์ ์ด๋ฆ์ ์ธ์ํฉ๋๋ค.
์ถฉ๋์ด ๋ฐ์ํ ๋๊น์ง ์คํ ํ ๋ค์ ์ธ์๋ฅผ ์ถ๊ฐํ์ญ์์ค.
์ ํํ ๋ผ์ธ์ ์ฐพ๊ธฐ ์ํด ๊ฐ ๊ธฐ๋ฅ ๋ผ์ธ
์ถฉ๋ํ๊ณ ๊ฒฐ๊ณผ๋ฅผ๋ณด๊ณ ํฉ๋๋ค. ๋ํ mingw๋ก ์ปดํ์ผํ๋ฉด
์ฌ์ฉํ ์์๋ ์ถฉ๋ ์ฃผ์
addr2line -e / path / to / debug / exe 0x
2016 ๋
2 ์ 11 ์ผ ๋ชฉ์์ผ ์คํ 11:46, anatoly techtonik <
[email protected]> ์์ฑ :
MinGW๋ก godot.windows.tools.32.exe๋ฅผ ์ปดํ์ผํ์ต๋๋ค. ์ถฉ๋. ๋ค์์ ๋ฌด์์ํ ์ง?
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183054269.
์ค์ ๋ก MinGW๋ gdb
์ ํจ๊ป ๋ฐฐ์ก๋๋ ๊ฒ์ผ๋ก ๋ณด์
๋๋ค.
E:\r\godot\bin>gdb godot.windows.tools.32.exe
GNU gdb (GDB) 7.8.1
...
This GDB was configured as "i686-w64-mingw32".
...
Reading symbols from godot.windows.tools.32.exe...done.
(gdb) run
Starting program: E:\r\godot\bin\godot.windows.tools.32.exe
[New Thread 384.0xca0]
EXEC PATHP??: E:\r\godot\bin\godot.windows.tools.32.exe
EXEC PATHP??: E:\r\godot\bin\godot.windows.tools.32.exe
EXEC PATHP??: E:\r\godot\bin\godot.windows.tools.32.exe
DETECTED MONITORS: 1
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x004baf5f in RasterizerGLES2::init (this=0xa144dd0) at drivers\gles2\rasterizer_gles2.cpp:10808
#2 0x00db4863 in VisualServerRaster::init (this=0xa1c6a20) at servers\visual\visual_server_raster.cpp:7550
#3 0x00db5cef in VisualServerWrapMT::init (this=0xb3c3e30) at servers\visual\visual_server_wrap_mt.cpp:156
#4 0x004041e6 in OS_Windows::initialize (this=0x22dd20, p_desired=..., p_video_driver=0, p_audio_driver=0) at platform\windows\os_windows.cpp:984
#5 0x004101c6 in Main::setup2 () at main\main.cpp:852
#6 0x0040f504 in Main::setup (execpath=0x8f143a8 "E:\\r\\godot\\bin\\godot.windows.tools.32.exe", argc=0, argv=0x8f1438c, p_second_phase=true)
at main\main.cpp:796
#7 0x00401935 in widechar_main (argc=1, argv=0x273e58) at platform\windows\godot_win.cpp:138
#8 0x00401a53 in main (_argc=1, _argv=0x8f11c98) at platform\windows\godot_win.cpp:172
(gdb)
์์ ์ถ์ ์ ๋ฐ๋ฅด๋ฉด ๋ค์ ์ค์์ ์ถฉ๋ํฉ๋๋ค.
...
glGenTextures(1, &white_tex);
unsigned char whitetexdata[8*8*3];
for(int i=0;i<8*8*3;i++) {
whitetexdata[i]=255;
}
--> glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D,white_tex);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 8, 8, 0, GL_RGB, GL_UNSIGNED_BYTE,whitetexdata);
glGenerateMipmap(GL_TEXTURE_2D);
...
๊ทธ๋์ ๋ค์์ ๋ฌด์์ ๋๊น?
apitrace ์ถ๋ ฅ
E:\r\godot\bin>apitrace.exe trace godot.windows.tools.32.exe
apitrace: loaded into E:\r\godot\bin\godot.windows.tools.32.exe
EXEC PATHP??: E:\r\godot\bin\godot.windows.tools.32.exe
EXEC PATHP??: E:\r\godot\bin\godot.windows.tools.32.exe
EXEC PATHP??: E:\r\godot\bin\godot.windows.tools.32.exe
DETECTED MONITORS: 1
apitrace: tracing to E:\r\godot\bin\godot.windows.tools.32.1.trace
apitrace: warning: caught exception 0xc0000005
apitrace: flushing trace due to an exception
E:\r\godot\bin>glretrace.exe godot.windows.tools.32.1.trace -v -d
2 <strong i="8">@0</strong> wglCreateContext(hdc = 0xcd01199a) = 0x10000
3 <strong i="9">@0</strong> wglMakeCurrent(hdc = 0xcd01199a, hglrc = 0x10000) = TRUE
warning: ChoosePixelFormat returned a pixel format supported by the GDI software implementation
4 <strong i="10">@0</strong> glViewport(x = 0, y = 0, width = 1024, height = 600)
4: warning: glGetError(glViewport) = GL_INVALID_ENUM
5 <strong i="11">@0</strong> glScissor(x = 0, y = 0, width = 1024, height = 600)
741 <strong i="12">@0</strong> glEnable(cap = GL_DEPTH_TEST)
742 <strong i="13">@0</strong> glDepthFunc(func = GL_LEQUAL)
743 <strong i="14">@0</strong> glFrontFace(mode = GL_CW)
744 <strong i="15">@0</strong> glClearColor(red = 0, green = 0, blue = 0, alpha = 1)
745 <strong i="16">@0</strong> glClear(mask = GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT)
746 <strong i="17">@0</strong> glGenTextures(n = 1, textures = &1)
Rendered 0 frames in 0.268717 secs, average of 0 fps
์ด ํจ์๋ ๋๋ผ์ด๋ฒ๊ฐ ์ ๊ณตํ์ง ์๊ธฐ ๋๋ฌธ์ NULL์
๋๋ค.
์ถฉ๋.
2016 ๋
2 ์ 12 ์ผ 01:21, anatoly techtonik [email protected]
์ผ๋ค :
godot.windows.tools.32.1.trace.zip
https://github.com/godotengine/godot/files/127485/godot.windows.tools.32.1.trace.zipโ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183174112.
@ punto- ์ด๋์์ NULL์์ ์ ์ ์์ต๋๊น?
์ญ ์ถ์ ์ ๋งจ ์, ํ๋ ์ 0, 0x00000 ์ธ ๊ฒฝ์ฐ ์ฃผ์, ์ด๊ฒ์ด ๋ฐฉ๋ฒ์
๋๋ค.
null ์ธ ํจ์ ํฌ์ธํฐ๋ฅผ ํธ์ถ ํ ๋์ฒ๋ผ ๋ณด์
๋๋ค.
2016 ๋
2 ์ 12 ์ผ 06:58, anatoly techtonik [email protected]
์ผ๋ค :
@ punto- https://github.com/punto- NULL์ด๋ผ๋ ๊ฒ์ ์ด๋์์ ๋ณผ ์ ์์ต๋๊น?
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183257600.
๊ทธ๋ฌ๋ ๋๋ ์ดํดํ์ง ๋ชปํ๋ค-C ++๋ Python์ด ์๋๋ฏ๋ก godot ๋ฐ์ด๋๋ฆฌ๊ฐ๋ก๋ ๋ ๋ ์์คํ ์ ๋๋ผ์ด๋ฒ dll์๋ก๋ํ๊ณ ์ฃผ์ด์ง ๊ธฐํธ๊ฐ ์๋ค๋ ๊ฒฝ๊ณ ์ ํจ๊ป ์คํจํด์ผํฉ๋๋ค. ์ ๋ฐ์ํ์ง ์์ต๋๊น?
์๋๋ฉด Godot๊ฐ ์ค์ ๋ก ๋์ ๋ฐํ์ ๋งํฌ๋ฅผ ๊ตฌํํ์ง๋ง ๋๋ฝ ๋ ๊ธฐํธ์ ๋ํด ๊ฒฝ๊ณ ํ์ง ์๋๋ค๋ ์๋ฏธ์ ๋๊น?
glew๋ ๋ฐํ์ ๋งํฌ๋ฅผ ์ํํ๋ฏ๋ก ํจ์๊ฐ ์กด์ฌํ์ง๋ง
๋๋ก๋ null ์ผ ์ ์์ต๋๋ค ..
2016 ๋
2 ์ 12 ์ผ 13:41, anatoly techtonik [email protected]
์ผ๋ค :
์๋๋ฉด Godot๊ฐ ์ค์ ๋ก ๋์ ๋ฐํ์ ๋งํฌ๋ฅผ ๊ตฌํํ๋ค๋ ์๋ฏธ์ ๋๊น?
๊ทธ๋ฌ๋ ๋๋ฝ ๋ ๊ธฐํธ์ ๋ํด ๊ฒฝ๊ณ ํ์ง ์์ต๋๊น?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183401773.
@ punto- ์ด๊ฒ์ ์ณ์ง ์์ ๊ฒ ๊ฐ์ต๋๋ค. ์ด GLEW๊ฐ segfaulting ๋์ ์ค๋ฅ๋ก ๋ถํํ๋ NULL ํจ์์ ๋ํด ์์ฒด ์คํ ์ ์ฝ์ ํ ์ ์์ต๋๊น?
๋ชจ๋ฅด๊ฒ ์ด์ .. ์๋ง .. ๊ทธ๊ฑฐ ์ข์ ์๊ฐ ์ด๋ค์
2016 ๋
2 ์ 12 ์ผ 15:01์ anatoly techtonik [email protected]
์ผ๋ค :
@ punto- https://github.com/punto- ์ด๊ฒ์ ์ณ์ง ์์ ๊ฒ ๊ฐ์ต๋๋ค. ํ ์
GLEW๋ ๋ถํํ๋ ์ด๋ฌํ NULL ํจ์์ ๋ํด ์์ฒด ์คํ ์ ์ฝ์ ํฉ๋๋ค.
segfaulting ๋์ ์ค๋ฅ?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183431329.
C ++๋ ํ์ด์ฌ์ด ์๋์ง๋ง ํ์ด์ฌ์ C์
๋๋ค :) glew๋ ์๋ง๋ ๊ธฐํธ๋ฅผ ์ฐพ์ต๋๋ค.
์กด์ฌํ์ง ์์ผ๋ฉด ํจ์ ํฌ์ธํฐ์ NULL์ ํ ๋นํฉ๋๋ค. ๋๋
๋ชจ๋ ์ธ๋ถ ์ฌํญ์ ๊ธฐ์ตํ์ง ๋ชปํ์ง๋ง ํญ์ ์ถฉ๋ํ๋ ๋ฐฉ์์
๋๋ค.
gl์ ๋ชจ๋ ํจ์๊ฐ NULL์
๋๋ค ..
2016 ๋
2 ์ 12 ์ผ 13:40, anatoly techtonik [email protected]
์ผ๋ค :
ํ์ง๋ง ์ดํด๊ฐ ์ ๋ผ์-C ++๋ Python์ด ์๋๋ฏ๋ก godot ๋ฐ์ด๋๋ฆฌ๊ฐ๋ก๋๋๋ฉด
์์คํ ์ ๋๋ผ์ด๋ฒ dll์๋ก๋ํ๊ณ ์ฃผ์ด์ง ๊ธฐํธ๊ฐ
์กด์ฌํ์ง ์์ต๋๋ค. ์ ๋ฐ์ํ์ง ์์ต๋๊น?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183401442.
์ด ์ธํ ์นด๋ ์ค ํ๋๋ฅผ ๊ฐ์ง ์ฌ๋์ด์ด ๋น๋๋ฅผ ์ฌ์ฉํด ๋ณผ ์ ์์ต๋๊น?
http://op.godotengine.org : 81 / godot.windows.tools.angle.32.exe
2016 ๋ 2 ์ 12 ์ผ 15:45์ Ariel Manzur [email protected] ๋ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
C ++๋ ํ์ด์ฌ์ด ์๋์ง๋ง ํ์ด์ฌ์ C์ ๋๋ค :) glew๋ ์๋ง๋ ๊ธฐํธ๋ฅผ ์ฐพ์ต๋๋ค.
์กด์ฌํ์ง ์์ผ๋ฉด ํจ์ ํฌ์ธํฐ์ NULL์ ํ ๋นํฉ๋๋ค. ๋๋
๋ชจ๋ ์ธ๋ถ ์ฌํญ์ ๊ธฐ์ตํ์ง ๋ชปํ์ง๋ง ํญ์ ์ถฉ๋ํ๋ ๋ฐฉ์์ ๋๋ค.
gl์ ๋ชจ๋ ํจ์๊ฐ NULL์ ๋๋ค ..2016 ๋ 2 ์ 12 ์ผ 13:40, anatoly techtonik [email protected]
์ผ๋ค :ํ์ง๋ง ์ดํด๊ฐ ์ ๋ผ์-C ++๋ Python์ด ์๋๋ฏ๋ก godot ๋ฐ์ด๋๋ฆฌ๊ฐ๋ก๋๋๋ฉด
์์คํ ์ ๋๋ผ์ด๋ฒ dll์๋ก๋ํ๊ณ ์ฃผ์ด์ง ๊ธฐํธ๊ฐ
์กด์ฌํ์ง ์์ต๋๋ค. ์ ๋ฐ์ํ์ง ์์ต๋๊น?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183401442
.
๋ณด๊ธฐ 32
32 ๋นํธ์ ๋๋ค. Windows๊ฐ 64 ๋นํธ ๋ง ํ์ฉ ํ ์ ์์ต๋๊น?
2016 ๋
2 ์ 14 ์ผ 01:29, anatoly techtonik [email protected]
์ผ๋ค :
[์ด๋ฏธ์ง : ์ด๋ฏธ์ง]
https://cloud.githubusercontent.com/assets/515889/13031852/90815d62-d2ec-11e5-8b8c-ccbc54af1f48.pngโ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183819635.
์ข ์์ฑ ์์ปค๋ 32 ๋นํธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ฐ๊ฒฐ๋ 64 ๋นํธ ๋ชจ๋์์ ๋ณด์ฌ์ค๋๋ค.
์ด๋ ๊ฒ์ ๋งํฉ๋๊น?
2016 ๋
2 ์ 14 ์ผ 01:38, anatoly techtonik [email protected]
์ผ๋ค :
์ข ์์ฑ ์์ปค๋ 32 ๋นํธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ฐ๊ฒฐ๋ 64 ๋นํธ ๋ชจ๋์์ ๋ณด์ฌ์ค๋๋ค.
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183820237.
(๋ํ ๋ด ์ปดํจํฐ์์ ์๋ํ๋ ์ด์ ๋ ๋ฌด์์ ๋๊น? 32 ๋นํธ CPU์ ๋๊น?)
2016 ๋ 2 ์ 14 ์ผ 01:52์ Ariel Manzur [email protected] ๋ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
์ด๋ ๊ฒ์ ๋งํฉ๋๊น?
2016 ๋ 2 ์ 14 ์ผ 01:38, anatoly techtonik [email protected]
์ผ๋ค :์ข ์์ฑ ์์ปค๋ 32 ๋นํธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ฐ๊ฒฐ๋ 64 ๋นํธ ๋ชจ๋์์ ๋ณด์ฌ์ค๋๋ค.
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183820237
.
์ด๊ฑฐ ๋จน์ด ๋ณผ๋?
http://op.godotengine.org : 81 / godot.windows.opt.tools.angle.64.exe
2016 ๋ 2 ์ 14 ์ผ 01:54์ Ariel Manzur
(๋ํ ๋ด ์ปดํจํฐ์์ ์๋ํ๋ ์ด์ ๋ ๋ฌด์์ ๋๊น? 32 ๋นํธ CPU์ ๋๊น?)
2016 ๋ 2 ์ 14 ์ผ 01:52์ Ariel Manzur [email protected] ๋ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
์ด๋ ๊ฒ์ ๋งํฉ๋๊น?
2016 ๋ 2 ์ 14 ์ผ 01:38, anatoly techtonik < [email protected]
์ผ๋ค :
์ข ์์ฑ ์์ปค๋ 32 ๋นํธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์ฐ๊ฒฐ๋ 64 ๋นํธ ๋ชจ๋์์ ๋ณด์ฌ์ค๋๋ค.
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183820237
.
๋ด ์ด์ ๋ ธํธ๋ถ (intel gma x3100)์์๋ ์ถฉ๋ํ์ง ์์ง๋ง ๋ค์ ์ค๋ฅ์ ํจ๊ป ์ฐฝ์ด ํ์์ผ๋ก ์ ์ง๋ฉ๋๋ค.
ERROR: ShaderGLES2::get_current_version: CanvasShaderGLES2: Program LINK FAILED:
Failed to create D3D shaders.
At: drivers\gles2\shader_gles2.cpp:544
ERROR: ShaderGLES2::get_current_version: Method/Function Failed, returning: 0
At: drivers\gles2\shader_gles2.cpp:551
ERROR: ShaderGLES2::bind: Condition ' !version ' is true. returned: false
At: drivers\gles2\shader_gles2.cpp:126
ERROR: ShaderGLES2::_get_uniform: Condition ' !version ' is true. returned: -1
At: .\drivers/gles2/shader_gles2.h:354
๋๋ฌด ์ค๋๋ ์
ฐ์ด๋ ๋ฒ์ ์ผ ์ ์์ต๋๊น?
ํ์ง๋ง GLSL ๋์ D3D๋ฅผ ์๋ํ๋ ๊ฒ์ด ์ด์ํฉ๋๋ค ...
2016 ๋ 2 ์ 14 ์ผ ์ผ์์ผ ์ค์ 9์ 3 ๋ถ Hondres [email protected] ์ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
๋ด ์ค๋๋ ๋ ธํธ๋ถ (์ธํ gma x3100)์์๋ ์ถฉ๋์ด ๋ฐ์ํ์ง ์์ง๋ง ์ฐฝ์ด ์ ์ง๋ฉ๋๋ค.
๋ค์ ์ค๋ฅ๊ฐ์๋ ํ์ :์ค๋ฅ : ShaderGLES2 :: get_current_version : CanvasShaderGLES2 : ํ๋ก๊ทธ๋จ ๋งํฌ ์คํจ :
D3D ์ ฐ์ด๋๋ฅผ ์์ฑํ์ง ๋ชปํ์ต๋๋ค.
์์น : driversgles2shader_gles2. cpp : 544
์ค๋ฅ : ShaderGLES2 :: get_current_version : ๋ฉ์๋ / ํจ์ ์คํจ, ๋ฐํ : 0
์์น : driversgles2shader_gles2. cpp : 551
์ค๋ฅ : ShaderGLES2 :: bind : ์กฐ๊ฑด '! version'์ด ์ฐธ์ ๋๋ค. ๋ฐํ ๋จ : ๊ฑฐ์ง
์์น : driversgles2shader_gles2. cpp : 126
์ค๋ฅ : ShaderGLES2 :: _ get_uniform : '! version'์กฐ๊ฑด์ด ์ฐธ์ ๋๋ค. ๋ฐํ ๋จ : -1
์์น : .drivers / gles2 / shader_gles2.h : 354โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183827627.
๊ทธ๋ ๋ค๋ฉด ๊ทธ๋ํฝ์ด gl์ด ์๋ ๊ฐ๋๋ฅผ ์ฌ์ฉํ์ฌ ์๋ํ๋ ๊ฒฝ์ฐ๊ฐ ์์ต๋๊น?
2016 ๋ 2 ์ 14 ์ผ 03:25์ Sergey Lapin [email protected] ์ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
๋๋ฌด ์ค๋๋ ์ ฐ์ด๋ ๋ฒ์ ์ผ ์ ์์ต๋๊น?
ํ์ง๋ง GLSL ๋์ D3D๋ฅผ ์๋ํ๋ ๊ฒ์ด ์ด์ํฉ๋๋ค ...2016 ๋ 2 ์ 14 ์ผ ์ผ์์ผ ์ค์ 9์ 3 ๋ถ Hondres [email protected] ์ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
๋ด ์ค๋๋ ๋ ธํธ๋ถ (์ธํ gma x3100)์์๋ ์ถฉ๋์ด ๋ฐ์ํ์ง ์์ง๋ง ์ฐฝ์ด ์ ์ง๋ฉ๋๋ค.
๋ค์ ์ค๋ฅ๊ฐ์๋ ํ์ :์ค๋ฅ : ShaderGLES2 :: get_current_version : CanvasShaderGLES2 : ํ๋ก๊ทธ๋จ LINK
์คํจํ:
D3D ์ ฐ์ด๋๋ฅผ ์์ฑํ์ง ๋ชปํ์ต๋๋ค.
์์น : driversgles2shader_gles2. cpp : 544
์ค๋ฅ : ShaderGLES2 :: get_current_version : ๋ฉ์๋ / ํจ์ ์คํจ,
๋ฐํ : 0
์์น : driversgles2shader_gles2. cpp : 551
์ค๋ฅ : ShaderGLES2 :: bind : ์กฐ๊ฑด '! version'์ด ์ฐธ์ ๋๋ค. ๋ฐํ ๋จ : ๊ฑฐ์ง
์์น : driversgles2shader_gles2. cpp : 126
์ค๋ฅ : ShaderGLES2 :: _ get_uniform : '! version'์กฐ๊ฑด์ด ์ฐธ์ ๋๋ค.
๋ฐํ ๋จ : -1
์์น : .drivers / gles2 / shader_gles2.h : 354โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
< https://github.com/godotengine/godot/issues/1162#issuecomment -183827627
.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183830014.
@ punto- tools์์ godot.windows.tools.angle.32.exe
์ด ์ ํจํ PE ์คํ ํ์ผ์ด ์๋๋ผ๊ณ ๋ณด๊ณ ํฉ๋๋ค. UPX์์ ๊ฑด๋๋ฆฌ์ง ์์ ๋ฒ์ ์ ๊ฒ์ ํ ์ ์์ต๋๊น?
ํด๋น IMAGE_OPTIONAL_HEADER.Magic์ IMAGE_NT_OPTIONAL_HDR64_MAGIC๊ณผ ๋์ผํ๋ฉฐ ์ด๋ ์๋ชป๋ https://msdn.microsoft.com/en-us/library/windows/desktop/ms680339%28v=vs.85%29.aspx์ ๋๋ค.
์ข์ ์ด๊ฒ์ ์๋ํ์ญ์์ค :
http://op.godotengine.org : 81 / godot.windows.opt.tools.angle.32.exe
๊ทธ๊ฒ์ upx์ ์ํด ์์ถ๋์ง ์์ต๋๋ค
2016 ๋
2 ์ 14 ์ผ 05:10, anatoly techtonik [email protected]
์ผ๋ค :
@ punto- https://github.com/punto- IMAGE_OPTIONAL_HEADER.Magic์
์๋ชป๋ IMAGE_NT_OPTIONAL_HDR64_MAGIC๊ณผ ๋์ผ
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680339%28v=vs.85%29.aspxโ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -183846301.
์ฌ์ ํ ๊ฐ์ ๋ฌธ์ ์
๋๋ค. depends
์ depends
๋ฟ๋ง ์๋๋ผ 64 ๋นํธ ๋ฐ์ด๋๋ฆฌ๋ผ๊ณ ์๊ฐํฉ๋๋ค.
E:\_IDE_\godot>file godot.windows.opt.tools.angle.32.exe
godot.windows.opt.tools.angle.32.exe: PE32+ executable (console) x86-64, for MS Windows
์ ๋์ค ์ ํธ๋ฆฌํฐ ์ธ btw์ ๋๋ค.
@Hinsbart ํ์ ํ๋ฉด๊ณผ ๊ทธ ์ค๋ฅ๊ฐ ๋ํ๋๋ ์ปดํจํฐ์์ http://tof.p1x.in/html5/ ๋ฅผ ์๋ํด ๋ณผ ์ ์์ต๋๊น? ํฌ๋กฌ์ ๋ ๋๋ฌ์ ๋์ผํ ์ฝ๋๋ฅผ ์ฌ์ฉํฉ๋๋ค.
@techtonik ์๋ง๋ ๋นํธ = 32๋ฅผ ์ฌ์ฉํ๊ณ ์ค์ ๋ก 64 ๋นํธ ๋ฐ์ด๋๋ฆฌ๋ฅผ ์ป๋ ๋ฒ๊ทธ๊ฐ ์์ต๋๊น?
@ punto- ์ด๋ป๊ฒ ์ปดํ์ผํ๋์ง ๋๋ ์ด๋ค ๋ฒ๊ทธ๊ฐ ์ธ๊ธํ๋์ง ๋ชจ๋ฅด๊ฒ ์ต๋๋ค. ๋ช ๋ น ๋ฐ ๋น๋ ๋ก๊ทธ๊ฐ์ด๋ฅผ ๋ช ํํ ํ ์ ์์ต๋๋ค. ๋ณ๊ฒฝ ์ฌํญ์ ์ผ๋ถ ๋ถ๊ธฐ์ ์ปค๋ฐ ํ ์ค๋น๊ฐ ๋์์ผ๋ฉด ์ง์ ์ปดํ์ผ ํ ์ ์์ต๋๋ค.
๊ทธ๋ ๋ด๊ฐํ๊ณ ์์ด
์ฌ๊ธฐ๋ https://github.com/punto-/godot/tree/angle์ ๋๋ค.
2016 ๋
2 ์ 15 ์ผ 14:53, anatoly techtonik [email protected]
์ผ๋ค :
@ punto- https://github.com/punto- ์ด๋ป๊ฒ ์ปดํ์ผํ๋์ง ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
์ด๋ค ๋ฒ๊ทธ๊ฐ ์ธ๊ธํ๊ณ ์๋์ง. ๋ช ๋ น ๋ฐ ๋น๋ ๋ก๊ทธ๊ฐ์ด๋ฅผ ๋ช ํํ ํ ์ ์์ต๋๋ค. ์ ๊ฐ ํ ์ ์์ด์
์ผ๋ถ ๋ธ๋์น์ ๋ณ๊ฒฝ ์ฌํญ์ ์ปค๋ฐ ํ ์ค๋น๊ฐ ๋์์ผ๋ฉด ์ง์ ์ปดํ์ผํ์ญ์์ค.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -184323695.
angle = yes๋ก ์ปดํ์ผ
2016 ๋ 2 ์ 15 ์ผ 15:25์ Ariel Manzur [email protected] ๋ ๋ค์๊ณผ ๊ฐ์ด ์ผ์ต๋๋ค.
์ฌ๊ธฐ๋ https://github.com/punto-/godot/tree/angle์ ๋๋ค.
2016 ๋ 2 ์ 15 ์ผ 14:53, anatoly techtonik [email protected]
์ผ๋ค :@ punto- https://github.com/punto- ์ด๋ป๊ฒ ์ปดํ์ผํ๋์ง ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
๋๋ ์ด๋ค ๋ฒ๊ทธ๊ฐ ์ธ๊ธํ๊ณ ์๋์ง. ๋ช ๋ น ๋ฐ ๋น๋ ๋ก๊ทธ๊ฐ์ด๋ฅผ ๋ช ํํ ํ ์ ์์ต๋๋ค. ๋๋
๋ณ๊ฒฝ ์ฌํญ์ ์ปค๋ฐ ํ ์ค๋น๊ฐ ๋์์ผ๋ฉด ์ง์ ์ปดํ์ผ ํ ์ ์์ต๋๋ค.
๋ถ๊ธฐ.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -184323695
.
scons: *** [drivers\theora\theora\x86\mmxencfrag.windows.tools.32.o] Source `drivers\theora\theora\x86\mmxencfrag.c' not found, needed by target `drivers\theora\theora\x86\mmxencfrag.windows.tools.32.o'.
scons: building terminated because of errors.
๋ถ์ด.
theora_opt = no๋ก๋ ์๋ํ์ญ์์ค.
2016 ๋
2 ์ 15 ์ผ 18:40, anatoly techtonik [email protected]
์ผ๋ค :
scons : *** [driverstheoratheorax86mmxencfrag.windows.tools.32.o] ์์ค
drivers\theora\theora\x86\mmxencfrag.c' not found, needed by target
driverstheoratheorax86mmxencfrag.windows.tools.32.o '.
scons : ์ค๋ฅ๋ก ์ธํด ๊ฑด๋ฌผ์ด ์ข ๋ฃ๋์์ต๋๋ค.๋ถ์ด.
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -184405417.
In file included from drivers\angle/common/angleutils.h:12:0,
from drivers\angle\common\angleutils.cpp:7:
drivers\angle/common/platform.h:62:28: fatal error: d3d11_1.h: No such file or directory
# include <d3d11_1.h>
^
ํ ์คํฑ?
๊ทธ๊ฒ์ด ๊ฐ๋์ ํฌ์ธํธ์ ๋๋ค. ๊ทธ๊ฒ์ opengl ๋์ direct 3d๋ฅผ ์ฌ์ฉํฉ๋๋ค. : p
2016 ๋
2 ์ 15 ์ผ 18:57, anatoly techtonik [email protected]
์ผ๋ค :
driversangle / common / angleutils.h : 12 : 0์ ํฌํจ ๋ ํ์ผ์์,
driversanglecommonangleutils์์. cpp : 7 :
driversangle / common / platform.h : 62 : 28 : ์น๋ช ์ ์ธ ์ค๋ฅ : d3d11_1.h : ํด๋น ํ์ผ ๋๋ ๋๋ ํฐ๋ฆฌ๊ฐ ์์ต๋๋ค.
# ํฌํจ
^ํ ์คํฑ?
โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -184411949.
ANGLE์๋ ๋ ๊ฐ์ ๋ฐฑ์๋๊ฐ ์์ต๋๋ค. ์ด์ ๋ฐฑ์๋๋ DirectX 9๋ฅผ ์ฌ์ฉํฉ๋๋ค. ์ง๊ธ DirectX 11 ํค๋๊ฐ์๋ ์ต์ MinGW๋ฅผ ๋ค์ด๋ก๋ํ๊ณ ์์ต๋๋ค.
์ปจํ
์คํธ๋ platform / windows / gl_context_egl_angle.cpp์ ์์ฑ๋ฉ๋๋ค.
๋ฐฑ์๋๋ฅผ ์ ํํ ์์๋ ๋งค๊ฐ ๋ณ์๊ฐ ์๋ค๊ณ ์๊ฐํฉ๋๋ค.
ํ์ผ์ ๋ฌธ์ ๊ฐ์๋ ๊ฒฝ์ฐ ๋งค๊ฐ ๋ณ์๊ฐ ๋ฌด์์ธ์ง ๊ฐ์งํ๋ ๋ฐฉ๋ฒ์ด์์ ์ ์์ต๋๋ค.
์์คํ
์ ๊ฐ์ฅ ์ ํฉํฉ๋๋ค ..
2016 ๋
2 ์ 16 ์ผ 05:51, anatoly techtonik [email protected]
์ผ๋ค :
ANGLE์๋ ๋ ๊ฐ์ ๋ฐฑ์๋๊ฐ ์์ต๋๋ค. ์ด์ ๋ฒ์ ์ DirectX 9๋ฅผ ์ฌ์ฉํฉ๋๋ค. ์ต์ ๋ฒ์ ์ ๋ค์ด๋ก๋ํ๊ณ ์์ต๋๋ค.
์ง๊ธ DirectX 11 ํค๋๊ฐ์๋ MinGW.โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -184580963.
์ต์ gcc 5.3.0์ ๋ง์ ์ค๋ฅ, ์ :
In file included from drivers\angle\common\angleutils.cpp:7:0:
drivers\angle/common/angleutils.h:29:21: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
NonCopyable() = default;
^
...
๋ด๊ฐ ์๊ฐํ๋ C ++ ํ๋๊ทธ์ -std=c++11
์ ์ถ๊ฐํด์ผํฉ๋๋ค.
์ : https://github.com/punto-/godot/blob/angle/drivers/angle/SCsub#L276 ๋ค์ ๋ค์ ์ค์ ์ถ๊ฐํฉ๋๋ค.
env_angle.Append(CCFLAGS=['-std=c++11'])
๊ตฌ๋ฌธ์ด MSVC์์ ์๋ํ๋์ง ํ์คํ์ง ์์ง๋ง MinGW์์๋ ๊ด์ฐฎ์ต๋๋ค.
drivers\angle\libANGLE\renderer\d3d\d3d11\win32\NativeWindow.cpp:15:19: fatal error:
dcomp.h: No such file or directory
compilation terminated.
ํ์ ๊ธฐ๋ค๋ฆฌ๋ ์๋ก์ด๋ MinGW ๋ฆด๋ฆฌ์ค .
ANGLE์ ๋ํ ๋ ผ์๋ฅผ ๋ณ๋์ ๋ฌธ์ ๋ก ์ด๋ํ์ฌ "์ฌ์ฉ์์๊ฒ ํ๋์จ์ด๊ฐ ์ค๋๋์๊ณ ์ถฉ๋ํ๊ธฐ ์ ์ ์ง์๋์ง ์์์ ์๋ฆฌ๊ธฐ"๋ฅผ ์ ์งํด์ผํ ๊น์?
๋ค ๋์ํฉ๋๋ค
2016 ๋
2 ์ 17 ์ผ 13:25, Rรฉmi Verschelde [email protected]
์ผ๋ค :
ANGLE์ ๋ํ ๋ ผ์๋ ๋ณ๋์ ๋ฌธ์ ๋ก ์ฎ๊ฒจ์ผ ํ ์๋ ์์ต๋๋ค.
"์ฌ์ฉ์์๊ฒ ํ๋์จ์ด๊ฐ ์ค๋๋์์์ ์๋ฆฌ๊ณ
์ถฉ๋ํ๊ธฐ ์ ์ ์ง์๋์ง ์์ "?โ
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -185282158.
ํํ
Godot๊ฐ ์ฐ๋ถํฌ์์๋ ๋ง๋ฒ์ฒ๋ผ ์๋ํ์ง๋ง Windows์์๋ ์๋ํ์ง ์๋ ์ด์ ๋ ๋ฌด์์ ๋๊น?
์! ๊ทธ ์ด์ ๋ ์๊ณ ์ถ์ต๋๋ค. Xubuntu๋ก ํ ์คํธํ์ ๋ ์๋ํ์ง๋ง Windows ๋ฒ์ ์์๋ ์๋ํ์ง ์์ต๋๋ค.
^^
OS์ ๊ดํ ๊ฒ์ด ์๋๋ผ ๋๋ผ์ด๋ฒ์ ๊ดํ ๊ฒ์ ๋๋ค. ์ผ๋ฐ์ ์ผ๋ก GL ๋๋ผ์ด๋ฒ๋ Direct3D ๋๋ถ์ Linux์ ๋นํด Windows์์ ๋ฌด์๋ฉ๋๋ค. ๋ง์ ๊ตฌํ GPU๋ ์ต์ ๋ฒ์ ์ Windows์์ ์ต์ํ์ GL 1.5 ๊ตฌํ์ผ๋ก ๋๋ฉ๋๋ค.
@adolson
๋ง์ ๊ตฌํ GPU๋ ์ต์ ๋ฒ์ ์ Windows์์ ์ต์ํ์ GL 1.5 ๊ตฌํ์ผ๋ก ๋๋ฉ๋๋ค.
๊ทธ๋ ๋ค๋ฉด ์ด์ OpenGL ๋ฒ์ ์ ์ธ์ Godot์์ ์ง์๋ฉ๋๊น? 2.0+์ ์์กดํด์ผํ๋ ์ ๋์ ์ธ ๋ช ์ ์ ํ์์ฑ์ด ์์ต๋๊น? ์ด์ ๋ฒ์ ๊ณผ์ ํธํ์ฑ์ด ์กด์ฌํ์ง ์๋ ๊ฒ๊ณผ๋ ๋ค๋ฅด๊ธฐ ๋๋ฌธ์ ๋ ์ ๋ฅํ ์ฅ์น๊ฐ OpenGL์ ์ด์ ๋ฐ๋ณต์ ๋ ๋๋งํ๋ ๋ฐ ์คํจํ์ง ์์ ๊ฒ์ ๋๋ค. ๋์ GL1.4๋ฅผ ์ฌ์ฉํ๋๋ก ์ถ์ ํ ์ ์์๋ GLES2๋ฅผ ์ค์ฌ์ผ๋ก ๊ตฌ์ถ ๋ ๋น์ฃผ์ผ ํธ์ง๊ธฐ ์์ฒด์ ๊ธฐ๋ฅ์ด ์์ต๋๊น? ๋ด ๋ง์, ๋๋ถ๋ถ์ ์ต์ GL ๊ธฐ๋ฅ์ ์ด์จ๋ 3D ๋ ๋๋ง์์ํ ๊ฒ์ด๊ธฐ ๋๋ฌธ์ Godot๋ก 2D ๊ฒ์์ ๋ง๋ค๋ ค๋ ๊ด์ ์์๋ ๋ถํ์ํฉ๋๋ค.
@WinnerEX ๊ทธ๋ฐ ์ผ์ ์์ ๊ฒ์ ๋๋ค. GL 1.4์ ํธํ๋๋ค๋ ๊ฒ์ 2D์ 3D ๋ชจ๋์ ์ฌ์ฉ๋๋ ๋ง์ ํฅ๋ฏธ๋ก์ด ๊ธฐ๋ฅ์ ํฌ๊ธฐํ๋ค๋ ๊ฒ์ ์๋ฏธํฉ๋๋ค. ๊ทธ๋ฆฌ๊ณ ์คํํธ๋ผ์ ๋ค๋ฅธ ๋์๋ ๋ ์ด์ GL 3+ ์ง์ ๋๋ Vulkan์ ๊ธฐ๋ค๋ฆด ์์๋ ์ฌ๋๋ค์ด ์์ต๋๋ค. Godot๋ฅผ GL 2.1+ ์์ง์ผ๋ก ์์ ํ๊ฒ ๊ณ ๋ คํ ์ ์์ต๋๋ค. ๊ทธ๊ฒ์ด ๋น์ ์ด ์ํ๋ ๊ฒ์ด ์๋๋ผ๋ฉด, ๋ ๋ฎ์ GL ์ ํ (์ : OGRE 1.9 ๋๋ SDL 2.0)์ ๊ฐ์ง ์์๋ ๋ค๋ฅธ ๋ง์ ์์ง์ด ์์ต๋๋ค.
์ฌ๊ธฐ์ ์ฃผ์ ๋ ํ์ํ GL 2.1+ ๊ธฐ๋ฅ์ด ์ถฉ๋ํ๋ ๋์ ์ฌ์ฉํ ์ ์์ ๋ Godot๊ฐ ์ ์ ํ ์ค๋ฅ๋ฅผ ์ ๊ณตํด์ผํ๋ค๋ ๊ฒ์ ๋๋ค. GLES1 ๋ ๋๋ฌ๋ฅผ ๋ค์ ์์ฑํ ์๋๊ฐ ์์ต๋๋ค. Windows ์ฌ์ฉ์์ ๊ฒฝ์ฐ ANGLE์ด Direct3D๋ฅผ ํตํด GL ์๋ฎฌ๋ ์ด์ ์ ํตํฉ๋๋ฉด ํฌ๋ง์ด์์ ์ ์์ง๋ง GLES2 ๋ ๋๋ฌ์ ๋ค์ด ๊ทธ๋ ์ด๋๋ ์์ ๊ฒ์ ๋๋ค.
์ฃผ์ ๋ก ๋์ ๊ฐ๊ธฐ : @reduz , 2D ๋ฐ 3D ๊ฐ์์์ด ๊ฐ์ ๋จธ์ ์์ Godot๋ฅผ๋ก๋ํ๋ ค๊ณ ์๋ํจ์ผ๋ก์จ GL 2.1 ์ง์ ํ๋์จ์ด์์๋ ์ถฉ๋์ ์ฌํ ํ ์ ์๋ค๊ณ ์๊ฐํ์ต๋๋ค. ํ์ธ์ ์ํด ์ต๋ํ ๋นจ๋ฆฌ ์๋ํด ๋ณด๊ฒ ์ต๋๋ค.ํ์ง๋ง ๊ทธ๊ฒ์ด ์ถฉ๋ํ๋ ์์น์ segfaulting ๋์ ์ฌ๋์ด ์ฝ์ ์์๋ ์ค๋ฅ ๋ฉ์์ง๋ก ์ ๋๋ก ๊ตฌ์ ํ๋ ๋ฐฉ๋ฒ์ ์ฐพ๋ ๋ฐ ๋์์ด ๋ ์ ์์ต๋๋ค.
2D ๋ฐ 3D ๊ฐ์์์ด ๊ฐ์ ๋จธ์ ์ Godot๋ฅผ๋ก๋ํ๋ฉด GL 2.1 ์ง์ ํ๋์จ์ด์์๋ ์ถฉ๋์ ์ฌํ ํ ์ ์๋ค๊ณ ์๊ฐํ์ต๋๋ค. ์ต๋ํ ๋นจ๋ฆฌ ํ์ธํด ๋ณด๊ฒ ์ต๋๋ค
์ข์ต๋๋ค. VirtualBox 5์์๋ OpenGL 3.0 xD๊น์ง ์ง์ํ๋ ๊ด์ฐฎ์ GL ๋๋ผ์ด๋ฒ๊ฐ ์์ผ๋ฏ๋ก ์ฝ์ง ์์ต๋๋ค.
OpenGL 3.0์ ํน๋ณํ ์ฐ๊ฒฐ์ ์์ฒญํด์ผํ๊ธฐ ๋๋ฌธ์ ํ์ง๊ฐ ๋ ์ฝ์ต๋๋ค.
(๋๋ ๊ธฐ๋ํ๋ค)
2016 ๋
7 ์ 25 ์ผ ์์์ผ ์คํ 12:28, Rรฉmi Verschelde [email protected]
์ผ๋ค :
GL 2.1์์๋ ์ถฉ๋์ ์ฌํ ํ ์ ์๋ค๊ณ ์๊ฐํ์ต๋๋ค.
2D์์ด ๊ฐ์ ๋จธ์ ์ Godot๋ฅผ๋ก๋ํ๋ ค๊ณ ์๋ํ์ฌ ๊ฐ๋ฅํ ํ๋์จ์ด
๊ทธ๋ฆฌ๊ณ 3D ๊ฐ์. ์ต๋ํ ๋นจ๋ฆฌ ํ์ธํด ๋ณด๊ฒ ์ต๋๋ค์ข์, VirtualBox 5์์๋ ์ด์ ๊ด์ฐฎ์ ์ฑ๋ฅ์ ๊ฐ์ง๊ณ ์๊ธฐ ๋๋ฌธ์ ์ฝ์ง ์์ต๋๋ค.
OpenGL 3.0 xD๊น์ง ์ง์ํ๋ GL ๋๋ผ์ด๋ฒ.โ
๋น์ ์ด ์ธ๊ธ ๋์๊ธฐ ๋๋ฌธ์ ์ด๊ฒ์ ๋ฐ๊ณ ์์ต๋๋ค.
์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ณ GitHub์์ ํ์ธํ์ธ์.
https://github.com/godotengine/godot/issues/1162#issuecomment -234987968,
๋๋ ์ค๋ ๋ ์์๊ฑฐ
https://github.com/notifications/unsubscribe-auth/AF-Z2_MK5iQA0RxLwv0FHu6po8ucVE8kks5qZNYlgaJpZM4DQoN3
.
Windows์์ ํธํ๋์ง ์๋ ์๋ฑํ ์ธํ igp๋ฅผ ์ฌ์ฉํ์ฌ ์ด์ ๋ท๋ถ์์ ํ ์คํธํ์ต๋๋ค.
rasterizer_gles2.cpp
10791 ํ์์ RasterizerGLES2::init()
์ ๋ค์ ๋ช ์ค์ ์ถ๊ฐํ์ต๋๋ค.
if (!glewIsSupported("GL_VERSION_2_1")) {
print_line(String("Your graphics card is crappy. It does not support Opengl 2.1. Now Godot is going to crash."));
}
Godot๋ ์ฌ์ ํ ์ถฉ๋ํ์ง๋ง ๊ธฐ์ ํ๊ธฐ ์ง์ ์์ด ์ค๋ฅ ๋ฉ์์ง๋ฅผ ์ฝ์์ ํ์ํฉ๋๋ค.
๋๋ Godot์๊ฒ ๋์คํฐ ๋ผ์ด์ ์ด๊ธฐํ๋ฅผ ์ทจ์ํ๋ผ๊ณ ์ง์ํ๋ ๋ฐฉ๋ฒ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค (RasterizerGLES2 :: init ()๋ true / false๋ฅผ ๋ฐํํ์ง ์์ต๋๋ค. ์ ํ์ ์ฌ์ง๊ฐ ์์ง๋ง ์ฑ๊ณต์ด๋ ์ถฉ๋์ด์๋ ๊ฒ๊ณผ ๊ฐ์ต๋๋ค), Godot์๊ฒ ์ข ๋ฃ๋ฅผ ์ง์ํ๋ ๋ฐฉ๋ฒ๋ ๋ชจ๋ฆ ๋๋ค ์ ํํ.
์ด ํธํ์ฑ ํ ์คํธ๊ฐ 100 % ์ ๋ขฐํ ์์๋ ๊ฒฝ์ฐ์๋ ์ต์ํ ์๋ ์ถฉ๋ ์๋ฅผ ์ค์ด๊ณ ์ฌ์ฉ์์๊ฒ ์ถฉ๋์ด ๋ฐ์ํ ๊ฒ์ด๋ฉฐ ๊ทธ ์ด์ ๋ฅผ ๊ฒฝ๊ณ ํ๋ ์์ ์์คํ ๋ํ ์์๋ฅผ ํ์ ํ ์ ์์ต๋๋ค.
@SuperUserNameMan์ ์ฐพ์ผ์ญ์์ค. ๋๋ ๊ทธ๊ฒ์ ์ฝ๊ฐ ๊ฐ์ง๊ณ ๋์๊ณ ๊ทธ๊ฒ์ด ์๋ํ๋์ง ํ์ธํ์ต๋๋ค (์ ์ด๋ GPU๊ฐ ๊ทธ๊ฒ์ ์ง์ํ๊ธฐ ๋๋ฌธ์ if (glewIsSupported("GL_VERSION_2_1"))
ํ์ธํ ํ
์คํธ์์). OS::alert()
๋ฅผ ์ฌ์ฉํ์ฌ ์ฐจ๋จ ๋ฉ์์ง ์์๋ฅผ ํ์ ํ ์ ์์ต๋๋ค.
๋น์ ์ด ์ธ๊ธํ๋ฏ์ด, ์ ์ผํ ๋น ์ง ๋ถ๋ถ (๊ทธ๋ฆฌ๊ณ ๊ฐ์ฅ ์ด๋ ค์ด ๋ถ๋ถ)์ Godot๊ฐ ์ ๋๋ก ๋น ์ ธ ๋๊ฐ๋๋กํ๋ ๊ฒ์ ๋๋ค. ๋๋ ์ ๊น ์ดํด ๋ดค์ง๋ง OS ์ด๊ธฐํ ๋์ค Godot๋ฅผ ์ข ๋ฃํ๋ ๊ฒ์ ๋ด ๊ธฐ์ ์ ๋์ด ์ฐ์ต๋๋ค.
๊ฐ๋ ์ฆ๋ช ์ ์ฐจ์ด์ ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
diff --git a/drivers/gles2/rasterizer_gles2.cpp b/drivers/gles2/rasterizer_gles2.cpp
index 4cd97a7..910d5bf 100644
--- a/drivers/gles2/rasterizer_gles2.cpp
+++ b/drivers/gles2/rasterizer_gles2.cpp
@@ -10788,8 +10788,14 @@ void RasterizerGLES2::init() {
if (OS::get_singleton()->is_stdout_verbose()) {
print_line(String("GLES2: Using GLEW ") + (const char*) glewGetString(GLEW_VERSION));
}
-#endif
+ // Check for GL 2.1 compatibility, if not bail out
+ if (!glewIsSupported("GL_VERSION_2_1")) {
+ ERR_PRINT("Your system's graphic drivers seem not to support OpenGL 2.1 / GLES 2.0, sorry :(\nTry a drivers update, buy a new GPU or move to Linux; Godot will now exit.");
+ OS::get_singleton()->alert("Your system's graphic drivers seem not to support OpenGL 2.1 / GLES 2.0, sorry :(", "Insufficient OpenGL / GLES drivers");
+ // Now DIE! Or at least stop without segfault and memory leaks :)
+ }
+#endif
GL 2.1์ ์ง์ํ๋ ์ฌ์ฉ์๋ฅผ ํ
์คํธํ๋ ค๋ฉด if ํ
์คํธ์์ !
๋ฅผ ์ ๊ฑฐํ๋ฉด๋ฉ๋๋ค.
X11์์์ด (์ฐจ๋จ) ๋ฉ์์ง ์์๋ฅผ ์์ฑํฉ๋๋ค.
@reduz ์
์ฝ๋๋ฅผ ๋ณ๊ฒฝํ๊ณ ๋ค์ ์ปดํ์ผํ์ง ์๊ณ Linux์์ ํ ์คํธํ๋ ค๋ฉด ํ๊ฒฝ ๋ณ์ MESA_GL_VERSION_OVERRIDE๋ฅผ 2.0์ผ๋ก ์ค์ ํ ์ ์๋ค๊ณ ์๊ฐํฉ๋๋ค. http://www.mesa3d.org/envvars.html
IIRC๋ MESA๊ฐ ๋ธ๋๋ฆฌ์คํธ GPU๊ฐ Godot์ ํจ๊ป ์๋ํ๋๋ก ๊ฐ์ ํ๋ ๋ฐฉ๋ฒ์ด๊ธฐ๋ํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
Windows์์ ํธํ๋์ง ์๋ ์๋ฑํ ์ธํ igp๋ฅผ ์ฌ์ฉํ์ฌ ์ด์ ๋ท๋ถ์์ ํ ์คํธํ์ต๋๋ค.
rasterizer_gles2.cpp
10791 ํ์์RasterizerGLES2::init()
์ ๋ค์ ๋ช ์ค์ ์ถ๊ฐํ์ต๋๋ค.Godot๋ ์ฌ์ ํ ์ถฉ๋ํ์ง๋ง ๊ธฐ์ ํ๊ธฐ ์ง์ ์์ด ์ค๋ฅ ๋ฉ์์ง๋ฅผ ์ฝ์์ ํ์ํฉ๋๋ค.
๋๋ Godot์๊ฒ ๋์คํฐ ๋ผ์ด์ ์ด๊ธฐํ๋ฅผ ์ทจ์ํ๋ผ๊ณ ์ง์ํ๋ ๋ฐฉ๋ฒ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค (RasterizerGLES2 :: init ()๋ true / false๋ฅผ ๋ฐํํ์ง ์์ต๋๋ค. ์ ํ์ ์ฌ์ง๊ฐ ์์ง๋ง ์ฑ๊ณต์ด๋ ์ถฉ๋์ด์๋ ๊ฒ๊ณผ ๊ฐ์ต๋๋ค), Godot์๊ฒ ์ข ๋ฃ๋ฅผ ์ง์ํ๋ ๋ฐฉ๋ฒ๋ ๋ชจ๋ฆ ๋๋ค ์ ํํ.
์ด ํธํ์ฑ ํ ์คํธ๊ฐ 100 % ์ ๋ขฐํ ์์๋ ๊ฒฝ์ฐ์๋ ์ต์ํ ์๋ ์ถฉ๋ ์๋ฅผ ์ค์ด๊ณ ์ฌ์ฉ์์๊ฒ ์ถฉ๋์ด ๋ฐ์ํ ๊ฒ์ด๋ฉฐ ๊ทธ ์ด์ ๋ฅผ ๊ฒฝ๊ณ ํ๋ ์์ ์์คํ ๋ํ ์์๋ฅผ ํ์ ํ ์ ์์ต๋๋ค.