POV-Ray : Newsgroups : povray.unofficial.patches : (uni)MegaPOV 0.5a mesh2 textures : (uni)MegaPOV 0.5a mesh2 textures Server Time
2 Sep 2024 02:12:44 EDT (-0400)
  (uni)MegaPOV 0.5a mesh2 textures  
From: Nicolas Calimet
Date: 15 Jul 2000 11:12:21
Message: <39707FED.96857CB9@free.fr>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.