holocronweaver / ogre-procedural-old

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

Submesh for RoundedBox #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It will be helpful if the shapes are made of sub meshes so that it is possible 
to apply different texture to all the faces.

e.g apply texture to front of cube and another texture to back face of cube.

Original issue reported on code.google.com by sarbjit....@gmail.com on 10 May 2012 at 6:46

GoogleCodeExporter commented 9 years ago
Ok, I think I get the use case..
First, we don't want to produce n submeshes as a default option: too many 
batches hurt performance badly.
A more generalised way of handling this would be to assign labels to parts of a 
triangle buffer. Some options in the final TriangleBuffer->Ogre Mesh would 
allow separation between several submeshes.

Original comment by michael.broutin@gmail.com on 10 May 2012 at 8:19

GoogleCodeExporter commented 9 years ago
Any progress on this one. Is there any workaround that I can use.

Original comment by sarbjit....@gmail.com on 16 Jul 2012 at 9:19

GoogleCodeExporter commented 9 years ago
Hi,
The modification to OgreProcedural I'm considering is rather long-term, please 
don't hold your breath ;)
I explained a workaround for a similar request in Ogre forums : 
http://www.ogre3d.org/forums/viewtopic.php?f=11&t=60773&start=225#p459734
It's just one way to do it, but the idea is that you'll need either to modify 
roundedbox or create a copy of it in your project, and adapt it to your needs.. 
there's no "no-code" solution at the moment, I'm afraid...
Just tell me if you're stuck.

Original comment by michael.broutin@gmail.com on 16 Jul 2012 at 9:36

GoogleCodeExporter commented 9 years ago
This issue is tied with that one : 
http://code.google.com/p/ogre-procedural/issues/detail?id=129

Original comment by michael.broutin@gmail.com on 25 Sep 2012 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by michael.broutin@gmail.com on 4 Jan 2013 at 11:50