POV-Ray : Newsgroups : povray.beta-test : HF_Square Server Time
5 Nov 2024 07:20:47 EST (-0500)
  HF_Square (Message 1 to 5 of 5)  
From: Greg M  Johnson
Subject: HF_Square
Date: 6 Sep 2001 15:04:59
Message: <3B97C920.5D39625F@aol.com>
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

From: Thorsten Froehlich
Subject: Re: HF_Square
Date: 6 Sep 2001 15:38:36
Message: <3b97d0bc@news.povray.org>
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

From: Greg M  Johnson
Subject: Re: HF_Square
Date: 6 Sep 2001 16:10:21
Message: <3B97D870.A14E010@aol.com>
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

From: Greg M  Johnson
Subject: Re: HF_Square
Date: 6 Sep 2001 16:11:24
Message: <3B97D8B1.6CF6EE04@aol.com>
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

From: Warp
Subject: Re: HF_Square
Date: 6 Sep 2001 16:35:44
Message: <3b97de20@news.povray.org>
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

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