• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

596 Good

About Theodoros

  • Rank

Personal Information


  • Twitter
  1. 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. OpenGL 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. 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 [url="http://mgarland.org/files/papers/gpubvh.pdf"]http://mgarland.org/...pers/gpubvh.pdf[/url] Bitonic sort and Radix sorts can be implemented very efficiently on modern GPUs, see here for example for an OpenCL implementation: [url="http://www.bealto.com/gpu-sorting_intro.html"]http://www.bealto.co...ting_intro.html[/url]
  4. Tessellation makes point

    Do you set the primitives to GL_PATCHES and set the glPatchParameteri ?
  5. 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. 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. Water Ripples

    You need the damping, otherwise the waves will propagate forever. See link for more details.
  8. 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. FFT water model

    Can you give more details about what you are doing at each step or post some code?
  10. 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. 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. lighiting.. (PLZ its urgent)

    Do you provide correct normals for the geometry? Also since you use glScalef do you also enable GL_NORMALIZE?
  13. 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. OpenGL loading skeletal animated model

    You can use the md5 file format in Blender to support bone animation, for loading I use assimp.
  15. OpenGL 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