 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi all
I tried ridged_mf for terrain on a iso-planet but result is "strange"
If function (x*x+y*y+z*z - (f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 ,
2)+100)) is used directly in isosurface results ar goog but if same function is
used in pigment
#declare Dec_p=pigment{function{f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 , 2)
}}
#declare fp_mount=function{pigment{pigment_pattern {Dec_p}}}
isosurface { function { (x*x+y*y+z*z - (fp_mount(x,y,z).gray+100)) }
resulting object is broken
Post a reply to this message
Attachments:
Download 'rmf-func-pigm.png' (235 KB)
Preview of image 'rmf-func-pigm.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Hi all
> I tried ridged_mf for terrain on a iso-planet but result is "strange"
> If function (x*x+y*y+z*z - (f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 ,
> 2)+100)) is used directly in isosurface results ar goog but if same function is
> used in pigment
>
> #declare Dec_p=pigment{function{f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 , 2)
> }}
>
> #declare fp_mount=function{pigment{pigment_pattern {Dec_p}}}
>
> isosurface { function { (x*x+y*y+z*z - (fp_mount(x,y,z).gray+100)) }
>
> resulting object is broken
>
Hello,
You can use max_gradient in your isosurface block, increase the value to
obtain a better surface.
--
Lionel
<b>Do not judge my words, judge my actions.</b>
---
http://www.avast.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
FractRacer <lg.### [at] gmail com> wrote:
> > Hi all
> > I tried ridged_mf for terrain on a iso-planet but result is "strange"
> > If function (x*x+y*y+z*z - (f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 ,
> > 2)+100)) is used directly in isosurface results ar goog but if same function is
> > used in pigment
> >
> > #declare Dec_p=pigment{function{f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 , 2)
> > }}
> >
> > #declare fp_mount=function{pigment{pigment_pattern {Dec_p}}}
> >
> > isosurface { function { (x*x+y*y+z*z - (fp_mount(x,y,z).gray+100)) }
> >
> > resulting object is broken
> >
> Hello,
> You can use max_gradient in your isosurface block, increase the value to
> obtain a better surface.
>
> --
> Lionel
> <b>Do not judge my words, judge my actions.</b>
>
> ---
active.
> http://www.avast.com
I tried but nothing changed, iso rendered with pigment has artifact
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"eticre" <eti### [at] tin it> wrote:
> Hi all
> I tried ridged_mf for terrain on a iso-planet but result is "strange"
> If function (x*x+y*y+z*z - (f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 ,
> 2)+100)) is used directly in isosurface results ar goog but if same function is
> used in pigment
>
> #declare Dec_p=pigment{function{f_ridged_mf(x,y,z, 0.2 , 5 , 7 , 1.6 , 0.1 , 2)
> }}
>
> #declare fp_mount=function{pigment{pigment_pattern {Dec_p}}}
>
> isosurface { function { (x*x+y*y+z*z - (fp_mount(x,y,z).gray+100)) }
>
> resulting object is broken
you want something like:
f_sphere = function(x,y,z,R) { sqrt(x*x + y*y + z*z) - R }
f_planet = function(x,y,z,R) =
function {
f_sphere(x,y,z,R + f_ridged_mf... // here R is the minimum radius.
regards,
A.D.B.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
AFAIK pigments are clipped at 1.0, could this explain your effect?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Christian Froeschlin <chr### [at] chrfr de> wrote:
> AFAIK pigments are clipped at 1.0, could this explain your effect?
yes thanks
divided by 10 and multiplied by 10 in iso
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |