|
|
I've been thinking about this for a while and I simply can't find a
reason why it is not possible to copy a CSG object in the same, memory
saving way you can copy meshes.
My knowledge of the POV sources is very limited, so please correct me if
I'm wrong, but IMHO copies of the same mesh are simply references to the
same internal dataset, i.e. pointers, and additional data like
transformations. Why can't the same technique be applied to CSG objects
as well? Is this a general, algorithmic problem or is the way things are
handled in the POV-Ray sources the reason for this?
Please not that this is is not a feature request, but simply a question
out of curiosity. Also, I found this group a better place to ask than
p.programming, but again please correct me if I'm wrong.
Florian
--
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/
Post a reply to this message
|
|