Ramsbaby / min3d

Automatically exported from code.google.com/p/min3d
1 stars 0 forks source link

Multiple GLSurfaceView #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is there a plan to support multiple Surface Views?

For example in the layout example if there is a need to put 2 rendering 
surfaces?

I noticed that the Singelton Shared class is limiting this, not sure if there 
are other limitations.

Thanks, 
D

Original issue reported on code.google.com by GagiCo...@gmail.com on 31 May 2011 at 6:50

GoogleCodeExporter commented 8 years ago
I think my queries is same , can any body tell me how to implements/ integrate 
custom renderer per object basis .
I have seen function has been provided , but how ?

-Matrixlnmi169

Original comment by ashakant...@gmail.com on 2 Jun 2011 at 11:38

GoogleCodeExporter commented 8 years ago
Matrixlnmi169,

  That is not possible right now as the renderer is Global. There can only be one Renderer and texture manager.

D

Original comment by GagiCo...@gmail.com on 4 Jun 2011 at 3:11

GoogleCodeExporter commented 8 years ago
I got this working, by making the shared class non static and passing the 
shared object around.

Original comment by Chuest...@gmail.com on 18 Oct 2012 at 10:20

GoogleCodeExporter commented 8 years ago
Could you show a code example of how you solved it?

Original comment by sanchi...@gmail.com on 12 Feb 2013 at 11:44