Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

596 Good

About Theodoros

  • Rank

Personal Information


  • Twitter

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Theodoros

    Archaic: Tank Warfare

    Archaic: Tank Warfare is a World War 2 tank battle simulation android game with realistic 3D graphics and advanced physics. The game uses my own developed Archaic Engine and support many modern graphic card features and effects such as: real time shadows, per pixel normal mapping, atmospheric scattering and advanced particle effects.
  2. Theodoros

    OpenCL OpenGL interop

    1) clSetKernelArg(kernel, 0, sizeof(vbo), &vbo) should be: clSetKernelArg(kernel, 0, sizeof(cl_mem), &PositionArray) 2) remove clWaitForEvents(1, &wait) (it is not necessary) 3) clEnqueueNDRangeKernel can take NULL as a local size argument
  3. Theodoros

    Parallel Octree Construction on GPU

    You usually convert the BVH construction problem to a sorting problem. This can be done with the use of morton codes, see for example this paper http://mgarland.org/...pers/gpubvh.pdf Bitonic sort and Radix sorts can be implemented very efficiently on modern GPUs, see here for example for an OpenCL implementation: http://www.bealto.co...ting_intro.html
  4. Theodoros

    Tessellation makes point

    Do you set the primitives to GL_PATCHES and set the glPatchParameteri ?
  5. Theodoros

    Need help with reliable polygon triangulation

    Another vote for the Triangle program. In my experience it can easily handle cases like 2 and 3. Although the interface is a little cumbersome (especially if you try to specify internal holes), it is very robust and fast. To AvengerDr: yes the result can be index based.
  6. Theodoros

    Water Ripples

    I am not familiar with the language you use, but I do not think that the casting from a float to a byte will work. You must find the maximum,minimun height and scale the values or do some clamping. Anyway, some blokiness is expected to that kind of approximation algorithms. Personally, I use a better approximation based on this paper.
  7. Theodoros

    Water Ripples

    You need the damping, otherwise the waves will propagate forever. See link for more details.
  8. Theodoros

    FFT water model

    The code seems fine, it is probably a parameter issue. Use a bigger grid (e.g. 256x256) and simulate a smaller area (e.g. 32mx32m) to increase the wave resolution. In addition, you can try changing the cutoff l and the alpha value.
  9. Theodoros

    FFT water model

    Can you give more details about what you are doing at each step or post some code?
  10. Theodoros

    FFT water model

    Inverse FFT is used to get the original wave height field expressed as the sum of complex time dependent amplitudes (eq. 19), so it is applied only on h~(K, t).
  11. Theodoros

    FFT water model

    In step 2, you must calculate the h~(K,t) from the Tessendorf paper eq. 26 as h~(K,t) = h0(K)*exp(iwkt)) + conj(h0(K))*exp(-iwkt) and perform an inverse FFT on h~(K,t). The real part of the result is the wave height. In my experience ,the parameters values like the alpha value and the small-wave cutoff l in phillips spectrum calculation are also important to get a reasonable result.
  12. Theodoros

    lighiting.. (PLZ its urgent)

    Do you provide correct normals for the geometry? Also since you use glScalef do you also enable GL_NORMALIZE?
  13. Theodoros

    curve extraction

    In general, this is a difficult problem to tackle. You could look into least squares fitting. Although in the end you will probably have to solve a non linear minimization problem and resolve to Non Linear optimization with all sorts of problems such as selecting a good initial solution. Can you give more details about what are you trying to achieve ?
  14. Theodoros

    loading skeletal animated model

    You can use the md5 file format in Blender to support bone animation, for loading I use assimp.
  15. Theodoros

    OpenGL 3.2 and SDL 1.3

    Setting the glDrawElements pointer to 0 is fine as long as the vbo is active with glBindBufferARB, at least in OpenGL 2.1.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!