OpenGL Geometry Instancing

Hi!



Just a question about geometry instancing. Does JME3 support instancing? Or will in some time?



http://download.nvidia.com/developer/SDK/Individual_Samples/DEMOS/OpenGL/src/glsl_pseudo_instancing/docs/glsl_pseudo_instancing.pdf

(Tested) OpenGL Geometry Instancing: GeForce GTX 480 vs Radeon HD 5870 | Geeks3D



For shaders I suppose (OpenGL 3.3):

GL_ARB_draw_instanced

GL_ARB_instanced_arrays

GL_EXT_gpu_shader4

glDrawElementsInstancedEXT…





For GLSL pseudo-instancing I suppose:

gl_ModelViewProjectionMatrix

glUniformMatrix4fvARB ()…







OpenGL 3.2 Geometry Instancing Culling on GPU Demo | Geeks3D - geometry shader explanation.

As far as i know JME3 does not support Geometry shader yet…



And how instances should be linked to SceneGraph?

I suppose:

1 through JMP - “Link to SceneComposer”.

2 through code - deepclone(), clone()…



Also i found old threads about this:

http://hub.jmonkeyengine.org/groups/development-discussion-jme3/forum/topic/hardware-instancing/

http://hub.jmonkeyengine.org/groups/user-code-projects/forum/topic/geometry-instancing/





If instances do not supported yet, so would you like to add this issue to GSOC’11?