[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


Triangles Edition

/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_General
IRC: irc.rizon.net #/g/gedg
Progress Day: https://rentry.org/gedg-jams
/gedg/ Compendium: https://rentry.org/gedg
/agdg/: >>>/vg/agdg
Graphics Debugger: https://renderdoc.org/

Requesting Help
-Problem Description: Clearly explain your issue, providing context and relevant background information.
-Relevant Code or Content: If applicable, include relevant code, configuration, or content related to your question. Use code tags.

previous: >>109357191
>>
>>109409705
?
>>
>>109409705
Forgot title
>/gedg/ - Game and Engine Development General #361
>>
>>109409705
Thanks, doc
>>
what happened to the 'no graphics api' thingy did anyone try to make it real?
>>
>>109409705
thanks doc
>>
>>109409705
>no title
One job, you ape.
>>
>>109409705
ありがと先生
>>
>>109409705
gratias tibi ago, doctore.
>>
>missing title
>engagement bait image
come on dude.
>>
>>109410881
that's suicide fuel you won't get any drivers to help bridge the hardware gap
>>
File: BLOWGIS.png (307 KB, 550x386)
307 KB PNG
Khan demands to see YOUR game
post em!
>>
>>109410881
the no graphics api thing is forced obsolescence, it does not support RX 5700 XT or GTX 1660 Ti
>>
>>109411285
>
Poorfag.
>>
>>109409705
Thanks doc
>>
File: seantbarrett.jpg (421 KB, 1920x1080)
421 KB JPG
>>109411368
world's greatest game engine programmer is on a GTX 980 Ti
>>
>>109411414
damn nvm then
>>
File: 1764048709636512.png (129 KB, 802x214)
129 KB PNG
>>109411414
And he hates it so much that he wants to sidestep all the rasterizer API bullshit and just use compute

JUST UPGRADE YOU OLD FUCK
>>
>>109410881
Seems like a lot of extra work instead of just learning Vulkan.
>>
>>109411285
whats the point of making new hardware if its capabilities are contrained by 10 year old designs that were constrained by 10 year old designs that...
>>
>>109411701
>constrained
just enabled VK_KHR_feature
>>
>>109409705
Grazie, dottore.
>>
>>109411414
If I follow his videos will I learn how to convert meters to world units in opengl, so I can measure shit like kilometers?
It sounds like black magic to me.
>>
my graphic drivers crashed hard today and I have no clue why. I just tried to render phong shading spheres in orbit in OpenGL
>>
File: 1778878134373084.png (11 KB, 211x246)
11 KB PNG
>>109412319
>learn how to convert meters to world units in opengl, so I can measure shit like kilometers?
...huh?
>>
>>109412395
Man said he made 32kmx32km
Anon wants to know how that is measured
Caveman understands, yes?
>>
File: 1660718681105022.jpg (90 KB, 604x604)
90 KB JPG
haven't worked on my engine for months, everything was going so well and then I started playing runescape and 3 months went by
>>
>>109412414
That's not how any of this works. Everything is unitless.
>>
>>109412414
>meter to kilometer
meters / 1000
>>
>>109412430
>>109412463
Then how the fuck can he say that his world is 32x32 kilometers?
>>
>>109412520
He calculated it through whatever engine he's writing/using.
>>
File: speaki tanned thumbs up.png (629 KB, 1135x838)
629 KB PNG
>>109412429
>Burnt out on engine dev and runescape within a week of each other
>>
>>109412525
Fine, whatever. I give up. I didn't want to know anyway, b-baka.
>>
File: 1756727973454417.jpg (5 KB, 221x250)
5 KB JPG
>>109412520
He just decided what unit to use. I use the meter, so 1 "unit" = 1 meter. Unreal uses centimeters, so 1 "unit" = 1 centimeter. So then when he imported a commercial building mesh, the standard door height is 2500mm -> 2.5m so the height of that door needs to correspond to 2.5 units if he's using meters.

TL:DR you decide what the unitless units are.
>>
>>109412429
I am glad I hate videogames so this can't happen to me.
>>
>>109410881
Some people tried to build it as a wrapper on top of existing APIs. But I haven't looked into it personally
https://github.com/leotmp/no_gfx_api
To see if someone tries to standardize it and have gpus implement it directly, I guess you can wait 10 years and see.
>>
File: 1767118569343258.jpg (10 KB, 234x250)
10 KB JPG
>>109410881
>>109412896
>"no graphics API"
>look inside
>requires Vulkan 1.3
>>
>>109412832
>spend a month playing vidya 15 hours a day
>now I can't even stomach the thought of double-clicking a game's exe without feeling like throwing up
It's real.
>>
>>109413118
Weak. Couldn't be me, I only play Ren'py eroges on Linux. There's no .exe for me to click.
>>
>>109413118
>rename .exe file to .kek
>make cmd file with "start gamename.kek"
herr willkommen
>>
I quit gaming for years until I got married. Now my wife likes to watch me play while she crochets or something after the kids are in bed so I sort of got back into it.
>>
>>109413171
So wholesome. I used to grind JRPGs while my wife slept on the couch with her head on my lap.
>>
>>109410881

it can't be made real when the gpu manufactures have every incentive to not make it real
>>
File: 1785450947060289.png (307 KB, 2560x1440)
307 KB PNG
>>109412319
It's completely arbitrary.
A general rule is 1 unit = 1 meter but it can be what ever you want.
>>
>>109410881
>no graphics api
whats the alternative?
>>
>>109409705
thanks doc!
>>
>>109412319
GPU has no concept of your logical units let alone physical units.
GPU rasterizer receives everything contained in normalized coordinates of a cube (-1,-1,-1) to (1,1,1). There is no meters, no perspective, just -1,-1 being one corner of viewport and 1,1 being the other, and one axis being the depth. The matrices you use in vertex shader are responsible for mapping vertices from your whatever imaginary game logic space to that -1,-1,-1 to 1,1,1 space that hardware understands.

Technically it also accepts 4th coordinate but it just divides others by it to make perspective math a little simpler.
>>
File: 1765063454572943.png (427 KB, 1080x1597)
427 KB PNG
>>109409705
>>
File: dailydose.webm (2.6 MB, 320x200)
2.6 MB
2.6 MB WEBM
>>109414354
>>
File: 1754494029377572.png (799 KB, 1170x1200)
799 KB PNG
>bored out of my mind because no gaems to play
>maybe i could try making one, or at least the engine, just for fun, already have plenty of experience coding from other projects
>decide to start on the graphics part first to see if i can at least get a single triangle rendering
>many hours later
you don't hate macroshart enough before you try using the mess that is d3d12
either that or i'm just getting filtered, but at least i got it "working" eventually
>>
>used to be really good. friends with people in the industry.
>get diagnosed with schizophrenia lose all interest
>still program once in a while but not often enough to get anywhere.
AAAAAAAAAA my lucks always been like this.
>>
File: 1785469842358723.png (418 KB, 2560x1440)
418 KB PNG
Things are coming alone nicely.
I managed to accidentally create a death animation I only meant to flip the sprite but when you do there's a little hop upwards just like in mario.
I have implemented the scoring and display system and just need to create the menus now.
>>
Does spherical trigonometry have any applications in game development?
>>
>>109415388
yes
>>
>>109415388
https://paroj.github.io/gltut/Positioning/Tutorial%2007.html
>>
>>109414919
Sounds like a (you) problem, if you hated microshart enough you wouldn't even have considered d3d12 and you would have hopped straight to sdl3, wgpu or a similar wrapper.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.