Triangles Edition/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_GeneralIRC: irc.rizon.net #/g/gedgProgress Day: https://rentry.org/gedg-jams/gedg/ Compendium: https://rentry.org/gedg/agdg/: >>>/vg/agdgGraphics 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?
>>109409705Forgot title>/gedg/ - Game and Engine Development General #361
>>109409705Thanks, doc
what happened to the 'no graphics api' thingy did anyone try to make it real?
>>109409705thanks doc
>>109409705>no titleOne job, you ape.
>>109409705ありがと先生
>>109409705gratias tibi ago, doctore.
>missing title>engagement bait imagecome on dude.
>>109410881that's suicide fuel you won't get any drivers to help bridge the hardware gap
Khan demands to see YOUR game post em!
>>109410881the no graphics api thing is forced obsolescence, it does not support RX 5700 XT or GTX 1660 Ti
>>109411285>Poorfag.
>>109409705Thanks doc
>>109411368world's greatest game engine programmer is on a GTX 980 Ti
>>109411414damn nvm then
>>109411414And he hates it so much that he wants to sidestep all the rasterizer API bullshit and just use computeJUST UPGRADE YOU OLD FUCK
>>109410881Seems like a lot of extra work instead of just learning Vulkan.
>>109411285whats 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>constrainedjust enabled VK_KHR_feature
>>109409705Grazie, dottore.
>>109411414If 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
>>109412319>learn how to convert meters to world units in opengl, so I can measure shit like kilometers?...huh?
>>109412395Man said he made 32kmx32kmAnon wants to know how that is measuredCaveman understands, yes?
haven't worked on my engine for months, everything was going so well and then I started playing runescape and 3 months went by
>>109412414That's not how any of this works. Everything is unitless.
>>109412414>meter to kilometermeters / 1000
meters / 1000
>>109412430>>109412463Then how the fuck can he say that his world is 32x32 kilometers?
>>109412520He calculated it through whatever engine he's writing/using.
>>109412429>Burnt out on engine dev and runescape within a week of each other
>>109412525Fine, whatever. I give up. I didn't want to know anyway, b-baka.
>>109412520He 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.
>>109412429I am glad I hate videogames so this can't happen to me.
>>109410881Some people tried to build it as a wrapper on top of existing APIs. But I haven't looked into it personallyhttps://github.com/leotmp/no_gfx_apiTo see if someone tries to standardize it and have gpus implement it directly, I guess you can wait 10 years and see.
>>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 upIt's real.
>>109413118Weak. 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.
>>109413171So wholesome. I used to grind JRPGs while my wife slept on the couch with her head on my lap.
>>109410881it can't be made real when the gpu manufactures have every incentive to not make it real
>>109412319It's completely arbitrary.A general rule is 1 unit = 1 meter but it can be what ever you want.
>>109410881>no graphics apiwhats the alternative?
>>109409705thanks doc!
>>109412319GPU 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.
>>109409705
>>109414354
>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 lateryou don't hate macroshart enough before you try using the mess that is d3d12either 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.
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?
>>109415388yes
>>109415388https://paroj.github.io/gltut/Positioning/Tutorial%2007.html
>>109414919Sounds 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.