111 reputation
8
bio website
location
age
visits member for 2 years, 5 months
seen 13 hours ago

Feb
19
comment 2D Drawing architecture
An alternative would be to have the scripts in a header, like arrays of UINTs or something, so they compile along with the program. This way, they're faster than being read from a file. However, this assumes that the developer who's extending has access to the source code. I'm doing a free Geometry Wars clone and I've done just this for the enemies, ships, particles, etc.
Feb
19
comment 2D Drawing architecture
You could try to make it scriptable. For instance, the drawing routine reads 'commands' from a file and draws based on those. This way, it is extendable and your actual program will be compact. Plus, your scripting language won't need to be complex at all, just r 100 100 500 500 to draw a rect, etc.
Feb
14
accepted Manipulating vertices after multiplication with MVP matrix (OpenGL)
Jan
17
revised Manipulating vertices after multiplication with MVP matrix (OpenGL)
added 185 characters in body
Jan
17
comment Manipulating vertices after multiplication with MVP matrix (OpenGL)
@TravisG, thank you for your answer, I have the part about using a matrix for every other instance of the draw call. It's just the post-projective scaling and translation I have problems with.
Jan
17
comment Manipulating vertices after multiplication with MVP matrix (OpenGL)
@JoshPetrie, thank you for your answer, I have added a visualization made of two figures side-by side.
Jan
17
revised Manipulating vertices after multiplication with MVP matrix (OpenGL)
added 267 characters in body
Jan
16
asked Manipulating vertices after multiplication with MVP matrix (OpenGL)
Dec
16
awarded  Talkative
Nov
1
comment Specular banding with high specular power
Try applying saturate() to your final color output.
Oct
30
accepted Coordinate spaces and transformation matrices
Oct
30
accepted Overlapping sibling problem in AABB tree
Oct
24
accepted Threads slowing down application and not working properly
Oct
24
accepted Making a point light follow the camera
Oct
24
awarded  Disciplined
Mar
2
answered Efficient type checking in collision detection
Mar
2
answered GLSL/SFML - Only make portion of texture alpha
Jul
22
revised Overlapping sibling problem in AABB tree
added 81 characters in body
Jul
22
answered Overlapping sibling problem in AABB tree
Jul
18
asked Overlapping sibling problem in AABB tree