Hi,

I would strongly second that :)
But there are several ways of transferring the per-instance data 
(transformation matrices),
see for an overview: http://sol.gfxile.net/instancing.html

For our project, we have implemented a derived MaterialDrawable for a single 
glDrawElementsInstanced call
using the "Matrices in a texture" approach (via GLSL variable "gl_InstanceID").
You need single-indexed geometry data with one primitive (e.g. triangle_strip). 

Cheers,
Christoph


On 29.01.2013 18:48, Alexander Lang wrote:
> Hi,
> are there any plans to support GL instancing, i.e. drawing multiple
> instances of one object with a single call to glDrawArraysInstanced/
> glDrawElementsInstanced within OpenSG?
>
> Regards,
> Alexander Lang
>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to