Skip to content

u/bamfdan

In this archive from May 2018 to Feb 2022

5
posts
112
comments
2
media
281
score

OpenGL 2d rendering help.

[SOLVED] It was an overdraw issue. I'm trying to create tilesheet rendering, but am getting very slow performance. I have a VBO which contains 5 floats: posX, posY, posZ, texco-ordX, texco-ordY. 4 times for each square(2 triangles) And an IBO to go along with this mapping out the triangles i.e { 0,3...

7 points19 comments
Open on Reddit

C++/OpenGL sprite rendering

I'm very new to OpenGL/rendering in general and currently have my sprites able to render single sprites at a time just fine but am a little confused with how batch or atlas rendering would work. Here is how i currently render each sprite: model = glm::translate(model, glm::vec3(currentSprite.positio...

2 points8 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.