4,778 reputation
11535
bio website
location
age
visits member for 4 years, 7 months
seen 9 hours ago

21h
comment Image edges are distorted inside game
Try setting your texture filter to Linear.
1d
comment Image edges are distorted inside game
You have not given any info about the technology or software stack you are using.
Apr
12
comment trouble getting the lighting and material set up right
The specular looks correct in the left sphere. Perhaps there is something wrong with the geometry of the other object, e.g. normals are incorrect. Check if there is any different when using glEnable(GL_NORMALIZE);
Mar
27
comment JBullet move object rigidbody in code?
What's the problem you are having with the given code?
Mar
26
comment (Java) Trying to animate an arraylist of coins with a (working) animation class
If draw() is overridden for Coin class, why does it check if (type == ObjectType.COIN)? It's hard to say how your Animator class should interact with Coin as you didn't give any details of the Animator class.
Mar
15
comment Flipped model has wrong triangle order
As far as I know the options are either to do it this way or create a copy of the index buffer with reversed vertex order. If you are rendering reflections, you only need to change the winding order one time if you render all reflected models at once.
Mar
5
comment Is there a quick way to determine if a vector is in a quadrant?
Related: gamedev.stackexchange.com/questions/49290/…
Feb
13
comment How to implement accurate frame-rate-independent physics?
The linked question and answers explain that using fixed time step is really the way to solve your problems.
Feb
13
comment How to implement accurate frame-rate-independent physics?
possible duplicate of Fixed time step vs Variable time step
Feb
5
comment Physics-based rotation with an array of pixels
For reference, I have created a simple physics simulation with the above method. Video at youtube.com/watch?v=CXEqf5zPSsk. I also believe that the game Gish uses this method successfully.
Feb
1
comment Java JBullet models not colliding
You need to ensure that the sizes you are passing are correct. This applies to both createByteBuffer() and TriangleIndexVertexArray(). At least for indices * 3 doesn't look correct.
Jan
30
comment Java JBullet Mesh collsion problem
What is the problem?
Jan
28
comment How to create custom cubemap images?
Are you looking for a software or an algorithm / method to create them programmatically?
Jan
26
comment How does rendering with Swing compare to rendering with openGL?
You should also consider JavaFX as a third option.
Jan
5
comment How do I convert a cube map to an equirectangular projection?
Are you looking for an algorithm, library or software?
Dec
28
comment Deforming meshes in OpenGL
At least skinning, morphing and displacement mapping are suitable for real-time deforming on the GPU. What kind of deformation are you looking for?
Dec
22
comment How to shade hair (line segments) correctly in GLSL
@congusbongus Could you explain why line segments don't need anisotropic lighting? With them you get the tangents naturally from the data, but the lighting model should still be the same. Check the pictures from ftp.sgi.com/opengl/contrib/blythe/advanced99/notes/node154.html. Btw the original question doesn't use view direction at all, which sounds wrong.
Dec
21
comment Rotating and scaling textures built up of pixel arrays in java?
Why would you not use Graphics2D and AffineTransform? That would perform a lot better than is possible with any custom solution.
Dec
21
comment How can I constrain motion to a path formed from multiple splines?
@Morphex Yes. 2D logic with 3D rendering is often pretty good solution. Gameplay in 2D is simpler for the player and easier to implement for you.
Dec
19
comment How can I load raw Bayer images using OpenGL?
Which file format?