|
|
Timothy R. Cook <tim### [at] scifi-fantasycom> wrote:
: If a moray-style preview is not possible, then how does moray do it?
: ;)
Moray does not read a pov-file. Moray supports a rather limited set of
primitives.
In theory you could generate a wireframe with a given resolution from many
povray primitives, and even when in CSG (I think there are algorithms for
calculating the CSG of triangle meshes). However, this becomes difficult to
do with certain objects. For example tesselating a 4D-Julia, a poly or an
isosurface is not that simple (specially the poly object can be difficult as
it can be an infinite surface, which is impossible to tesselate completely).
If you start tesselating those things, the tesselation takes time (it can
take even a surprisingly long time depending on the wanted accuracy). This
starts to raise the question of whether it's worth the efforts, as a +Q0
raytrace might not take longer than that.
Moray doesn't have to worry about those because it doesn't support them.
If it supported them, I suppose that it would just show them as boxes.
--
#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
|
|