5,652 reputation
11132
bio website
location Tehran, Iran
age 21
visits member for 2 years
seen 2 hours ago
stats profile views 488

university student studying applied math, part time programmer.

as a hobby I'm currently working on a game named Battery http://battery.intellisenseless.com


May
23
revised Slow Tower for a Tower Defense Game
added 182 characters in body
May
23
answered Unity, changing gravity game & stopping character when he hit a wall
May
23
answered Abstracting multiple math libraries with C++
May
23
answered Slow Tower for a Tower Defense Game
May
23
comment Workaround to losing the OpenGL context when Android pauses?
sleeping and waking up is refered to device so while user just pause your game or switch processs it should loose any of the EGL context.
May
23
comment Slow Tower for a Tower Defense Game
@Valkea as i can understand from his question i think he means after building the second tower the first tower doesn't slow enemies anymore.
May
23
answered Should I use animated objects or use the physics engine on iOS scenes with lots of rigidbodies?
May
23
comment SIMD C++ library
@Bob i just wanted to express that download link since it just takes some time find simdvectormath specific file in bullet files
May
22
answered SIMD C++ library
May
22
comment Converting 2D Physics to 3D
sorry if i couldn't be much help but i tried my best!
May
22
comment Draw and update order in 3d graphics
what is the point of parallel processing if they can't run in the same time? when you are talking of parallel processing this means there are two threads which are doing some diffrent things and doesn't stop each other from working, if in some program i create 2 thread in a way that one is always waiting for another that would be slower than using only one thread!
May
22
comment Converting 2D Physics to 3D
did you try javax.media.j3d.View.setProjectionPolicy(PARALLEL_PROJECTION), i'm not a java programer my self but i think you have to add that line of code in 3dMovingballs.3DMovingBalls method, i'm not a java programmer and it's the first time i'm working with java3D but you have to have some instance of javax.media.j3d.view in your code somewhere, i just don't know which one it is!
May
22
comment Draw and update order in 3d graphics
agreed but i think it's the only way you can fully use the power of CPU and GPU simultaneously, command queues fir example won't work since every time CPU finnished a generating frame data it should give all it's data to GPU, and this means you have to wait CPU finishes working and then copy all the buffer at that time, keep in mind that nothing in the world should change while GPU is drawing the world, so if you use command queues there won't be any change in CPU and GPU waiting for each other.
May
22
revised Balancing upgraded units vs. non-upgraded ones
some gramatical corrections
May
22
comment Converting 2D Physics to 3D
first try this line in your initializations javax.media.j3d.View .setProjectionPolicy(PARALLEL_PROJECTION) it should do the trick. i think it would help alot.
May
22
comment Draw and update order in 3d graphics
somthing like that, but not all data, only the thing that can move. so that both GPU&CPU read from CPUbuffer[0] and each do their calculations, and save their results in memory buffer/CPUBuffer[1], and when both their works finished they start reading from CPUBuffer[1]
May
22
comment Converting 2D Physics to 3D
then let me try solving that problem
May
22
comment Converting 2D Physics to 3D
then how are you rendering your scene you should at least use opengl/directx with their default configurations even if you don't use any gameengine.
May
22
comment Converting 2D Physics to 3D
if i'm right, you see objects move faster when they get near edges of the screen, that's because you are moving object with a linear function while you are rendering them using perspective view, you have to either change your camera type to render an isometric image or you have to change your function as I explained above (all the ray stuff and where it hits that perpendicular plane), and if you want me to calculate what the correct position should be you have to help me with more details like what game engine are you using what are your camera properties (viewrect) and so on ...
May
22
answered Draw and update order in 3d graphics