yunbiaolin / min3d

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

Please move the rendering to the 3d objects instead of doing it in the renderer #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This would be really important if the code (like your great model loaders) 
should be used in other projects. Currently its not possible to use an own 
renderer in combination with your 3D objects. I recommend to add an interface 
to the 3d objects with a "void draw(GL10 gl)" method, something like this, so 
no static context and the object has to render itself. 

Tell me what you think about this, it would be great if I could add support for 
your models in my Augmented realty framework ( 
http://code.google.com/p/droidar/ )

Original issue reported on code.google.com by simon.heinen on 2 Oct 2011 at 9:39