|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think we lost something when we didn't include the MegaPov feature
that allowed one to do an "automatic" height field from a function or
pattern.
(okay okay okay, Ken, yes it's too late to whine about feature
requests!)
That feature would have been the coolest solution to my repeated
complaint about diffuse==0 on the edges of isosurfaces with step
functions. The solution that 3.5 offers-- HF_Square-- appears to be a
bit clunky, and so far I have been unable to find a syntax that the
machine will accept. Adding (x,y,z) doesn't help.
//------------------------
#include "colors.inc"
#include "shapes.inc"
#declare fn_X = function { pigment { crackle solid color_map { [0 rgb 0]
[1 rgb 1] }}}
HF_Square(fn_X ,<-12,-12,-12>,<12,12,12>,<100,100>, no,
"c:\pov35\include\dangme")
camera {
location <0, 10, -25> //was z of 15
angle 22
look_at <0,.5,0>
}
light_source { <480, 1620, -980> color White*1 }
light_source { <-4000, -400, -4000> color White*.6 }
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3B97C920.5D39625F@aol.com> , "Greg M. Johnson"
<"gregj56590[:-0]"@aol.com> wrote:
> I think we lost something when we didn't include the MegaPov feature
> that allowed one to do an "automatic" height field from a function or
> pattern.
> (okay okay okay, Ken, yes it's too late to whine about feature
> requests!)
??? But what else does the function image type allow you to
do????????????????????????????????????????????????????????????
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
My apologies. Was this renamed from MP0.7?
Thorsten Froehlich wrote:
> ?? But what else does the function image type allow you to
> do?
> Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
seriously, though can someone verify that the HF square works? It does not
for me.
Thorsten Froehlich wrote:
> In article <3B97C920.5D39625F@aol.com> , "Greg M. Johnson"
> <"gregj56590[:-0]"@aol.com> wrote:
>
> > I think we lost something when we didn't include the MegaPov feature
> > that allowed one to do an "automatic" height field from a function or
> > pattern.
> > (okay okay okay, Ken, yes it's too late to whine about feature
> > requests!)
>
> ??? But what else does the function image type allow you to
> do????????????????????????????????????????????????????????????
>
> Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Greg M. Johnson <"gregj56590[:-0]"@aol.com> wrote:
: seriously, though can someone verify that the HF square works? It does not
: for me.
There are known problems in those include files.
And what you want is, indeed, to use the function image.
--
#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
|
|
| |
| |
|
|
|
|
| |
|
|