|
|
Hi all there !
Yes, again another message related to the mesh2 object
using texture_list definitions...
I've noticed in the mesh.c code that all textures are
copied when the initial mesh2 object is duplicated, as for
instance:
/* will use 3 times the required memory for the textures */
#declare surface = mesh2{...}
object {surface transform ...}
object {surface rotate ...}
This is IMHO a little bit in contradiction with the original
mesh features. Needless to say that it requires much more
memory when using big meshes with a lot of textures...
I suppose it could be possible to use a Reference
system as designed for the Data structure of the object. I did
something like this for my patch (colors only, not full textures).
Maybe I missed some critical thing concerning the mesh2 object,
and I wanted to know it before changing the related code.
Thanx ;-)
*** Nicolas Calimet
*** http://pov4grasp.free.fr
Post a reply to this message
|
|