4,188 reputation
11331
bio website
location
age
visits member for 3 years, 7 months
seen 1 hour ago

Aug
25
comment Drawing 2D Images “3D-Like”
+1 for the explanation and providing source code. However this implementation does not provide surface normals and creates non-optimized meshes, where the number of faces is proportional to the size of the bitmap instead of proportional to the complexity of the boundary. Normals can be post-generated, but as you are baking the vertex colors instead of runtime-lookup from a texture, the faces cannot be combined.
Aug
21
comment How do I draw a full resolution texture to a window of the same resolution?
Sounds like Slick2D creates a texture that is power-of-two size. See slick.ninjacave.com/forum/viewtopic.php?p=26076
Aug
20
reviewed Close Building a visual scripting component (like Kismet)
Aug
20
revised Drawing a textured 3D object breaks SFML text render
Fixed the title, which was incorrectly about 3D textures.
Aug
19
reviewed Close Is Ada suitable for game development?
Aug
18
reviewed Leave Open What advantages does bare OpenGL provide over frameworks/engines to small developers?
Aug
17
comment How to achieve rendering at huge distances?
zFar has very little effect, it's zNear that matters: sjbaker.org/steve/omniv/love_your_z_buffer.html. You can even set it to infinity: terathon.com/gdc07_lengyel.pdf
Aug
16
reviewed No Action Needed Box2d : How to apply a force to keep swinging from left to right?
Aug
13
comment Using a Higher Precision (than 8-bit unsigned integer) Buffered Image for Heightmaps in Java
The BufferedImage is not written to OpenCL. OpenCL doesn't interact with BufferedImages, but raw data instead. What you are doing in the code is getting the raw data from the BufferedImage and passing that to OpenCL. So the question is, why do you have BufferedImage in the process? What format is your height data originally before compressing it to 8-bits for BufferedImage?
Aug
12
comment Using a Higher Precision (than 8-bit unsigned integer) Buffered Image for Heightmaps in Java
Why do you have to use a BufferedImage? What format are your input images?
Aug
11
reviewed Close How to understand huge code bases?
Aug
10
reviewed Leave Open What advantages does bare OpenGL provide over frameworks/engines to small developers?
Aug
8
reviewed Close Why should I not use MySQL for a browser based game?
Aug
8
comment Automatic shadow for isometric objects
Why do you translate it? Just a shear without translation gives more realistic result in my opinion when aligned from the bottom of the images.
Aug
8
comment Locating point on a closed path to maximize sum of distances to a sample of weighted points
Just to clarify after your example, is the hero also placed on the edges or can it be inside the square? If the hero is also on the edges, does the shape matter at all or could it be just any ring?
Aug
7
comment OpenGL ES for Samsung 4 - no textures only white rectangles
Are you checking for OpenGL errors?
Aug
7
revised Skyboxes using glsl Version 330
Added a note about matrix inversion performance.
Aug
7
answered Skyboxes using glsl Version 330
Aug
6
comment Skyboxes using glsl Version 330
You only need 4 vertices (fullscreen quad) to render a skybox with a cubemap texture. You just need a vertex shader which calculates correct texture coordinates based on camera and projection.
Aug
1
answered OpenGL additive blending not working as expected