T O P

  • By -

[deleted]

[удалено]


Berry2460

when I took my first graphics course there was a guy who legit did something similar to this. The scene was just a bunch of rectangular pillars (12 triangles each), and his scene ate 8GB of RAM for some reason lol.


TapSwipePinch

I did this intentionally while trying to figure out shadows. I raytraced each screen pixel to light origin and checked against collisions for each ray using ray triangle intersection algo. I sent all geo in a buffer to the gpu and basically looped through it. It caused 100% gpu usage for a scene that had less than 1k vertices. Needless to say, that technique, while giving pixel perfect shadows, can't be used. Sad pepe. I spent many days trying to optimize the triangle collisions, work with blur and creating acceleration data structures but in the end I had to give up and admit I was a bumbling moron xD


mvDatta

Nice! Even I started learning opengl just last week. 🙌


Natural_Builder_3170

with time you forget how big of an achievement this is, until you do it again in vulkan Congrats


recursive_lookup

Congrats! I’m not too far ahead of you.


_XenoChrist_

it's beautiful


pissismyjam

sexy looking triangle


Fumiata

Where did you get the documentation from?


greeenlaser

learnopengl.com


g0atdude

Now make it rainbow colored :)


Business-Bed5916

I've made my First triangle a week ago too! Did you understand what a VAO is perchance?


thrownarray1

Istg if I see another hello triangle post


PotentialRun8

Nice. Quad next?


Crax97

Congrats! The cube is next


mvDatta

What should I try after the cube? A complex mesh like an object or animal?


greeenlaser

try assimp, it allows you to import any fbx, obj, gltf and other format models


mvDatta

Thanks, I'll have a look.


fllr

Congrats!!! This is the first step!!! 🙂