|
![](/i/fill.gif) |
Wlodzimierz ABX Skiba <abx### [at] abx art pl> wrote:
: And I was surprised that I can't use transform{} in triangle of mesh.
A transformation to an individual triangle inside a mesh can't be done
in the regular way, as it is done to all other objects. I think that's
the reason why it's not supported.
However, I think it would be perfectly possible to support them: Just
transform internally the given vertex points with the transformation
before adding them to the vertex point list in the mesh data structure.
I don't think this would even be difficult to achieve (although it might
require some work because you have to keep the vertex points in temporary
variables until the triangle has been completely parsed and only then
add them to the mesh data structure).
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |