469 reputation
518
bio website p-yank.com
location North Carolina
age 29
visits member for 3 years, 9 months
seen Jan 27 '13 at 9:11
Badabing - badabang -badaboom

Mar
9
comment glsl demo suggestions?
looks pretty awesome +1
Mar
6
comment Simulating an object floating on water
I think they are adding support for fluids in next version of Farseer (3.3)
Mar
5
comment Android game development in c++
Thanks for the link! I'll keep an eye out for your blog.
Mar
4
comment Android game development in c++
Earlier in the past I have had (frustrating)issues trying to get the simple pipeline of compile/build/deploy my opengl game on android emulator. Can you point me to a resource or something which I can use? (I don't know if you have those utility classes open source, but if you do, I'll be interested in seeing them.) Thanks
Feb
23
comment Moving around/avoiding obstacles
It really depends. Thought: divide your world into a grid of 32 x 32 which would then represent positions in a 2D array. For example, in your case: red dot is at 120, 120 pixels (or 120/32 x 120/32 : 3.75 x 3.75) 3.75 x 3.75 represents a position on your world-grid (or 2D array). Since arrays are indexed by integers, you only want integer part of it. Thus, the red dot would be at 3 x 3. Hope this helps
Feb
21
comment Restoring projection matrix
I have glPushMatrix and Pop matrix. I didn't know they were deprecated! Also, this is a pretty old link, but it was recommended not to use glGetFloatV to retrieve value and set them later on. opengl.org/resources/features/KilgardTechniques/oglpitfall
Feb
21
comment Understanding DeviceContext and Shaders in Direct3D/SlimDX
Have you tried XNA for 3D programming ? They have a lot of tutorials to get started!
Feb
21
comment Building (simple) stellar systems
@James: "(respective positions will change over time)" :-> It isn't exactly clear if the points are constantly in motion or if A and B are fixed and then they will change later on. If points are fixed, IMO linear interpolation is the way to go.
Feb
21
comment how to add water effect to an image
Thanks for the explanation. I actually ended up using a variant of the above. But, I'll give these flavors a try and see how they turn out to be.
Feb
21
comment Building (simple) stellar systems
is the ellipse math about the motion of satellites about the planets ?
Feb
21
comment how to add water effect to an image
Thanks for the explanation. I was new to FBOs and such, so finally I reached step 3 where I can mirror a texture using FBOs. Now, all I need is a way to add 'wavy water' effect to it. I would like to use some shader technique to do it. Would you happen to have any suggestions for that ?
Feb
19
comment FrameBuffer Render to texture not working all the way
Thanks for posting the code. I'll try and see if depth texture works. Also, what do you think of setting the viewport/projection matrices in the Render() initially ? Does that look ok ?
Feb
19
comment FrameBuffer Render to texture not working all the way
That didn't help. Also, as a test, I simply rendered the triangle without FBO and it was rendering correctly.
Feb
19
comment FrameBuffer Render to texture not working all the way
I just updated the last segment of the post with initialization code. Also, I render them in a counter-clockwise order, so it shouldn't be the problem. I'll try to see if that helps though.
Feb
18
comment glsl demo suggestions?
Cool! Thanks for all the suggestions. I'm working on water-effect right now. I'll keep it open for now, in-case if anyone else wants to add some suggestions.
Feb
18
comment Good GUI for OpenGL
I'd second this! I use qt and it has almost everything one needs when they are starting. Over the years it has become very stable, with a good support. They also have a framework for games called gluon.
Feb
17
comment Complete Math Library for use in OpenGL ES 2.0 Game?
@Bunkai: I'm in the same camp. I use GLM too. This discussion got me wondering if CLM is better.
Feb
17
comment Mandelbrot set not displaying properly
@espais: ha ha. I couldn't agree more.
Feb
17
comment Complete Math Library for use in OpenGL ES 2.0 Game?
@Bunkai: What did you like in CML over GLM ?
Feb
16
comment glsl demo suggestions?
what is the old camera shader ?