POV-Ray : Newsgroups : povray.beta-test : f_snoise3d + isosurface =3D mangled result Server Time
1 Nov 2024 01:26:10 EDT (-0400)
  f_snoise3d + isosurface =3D mangled result (Message 1 to 2 of 2)  
From: JYR
Subject: f_snoise3d + isosurface =3D mangled result
Date: 23 May 2005 01:20:00
Message: <web.429167334ebdfea56a3607400@news.povray.org>
Hi all!

S'me again... Below is a short scene where an isosurface is defined with
f_snoise3d as a function.
Renders nicely with 3.6.1a, but the isosurface is mangled and the grey plane
is shown brown (like the isosurface) with 3.7.beta5a.
(Windows XP Home Edition, Athlon XP 2800+)

Good night everybody!

//---begin source
#include "functions.inc"
camera {
    location  -4.2*z
    look_at   0
    right     x*image_width/image_height
}

light_source {<-5, 15, -10> rgb 2}

plane {
    y, -2
    pigment {rgb .5}
    finish {ambient 0}
    }

isosurface {
    function {f_snoise3d (2*x, 3*y, 2*z)}
    threshold -.28
    contained_by {sphere {0, 1}}
    max_gradient 4.5
    pigment {rgb <.6, .4, .2>}
    finish {ambient 0}
}

//---end source


Post a reply to this message

From: JYR
Subject: Re: f_snoise3d + isosurface =3D3D mangled result
Date: 23 May 2005 17:15:01
Message: <web.429246f2e44f3c2d6a3607400@news.povray.org>
"JYR" <jyr### [at] hotmailcom> wrote:
>     contained_by {sphere {0, 1}}

This seems to be another CSG issue... replacing this line with a smaller
sphere or a box fixes it. Hoping this helps tracking down the origin of the
pb.

JYR


Post a reply to this message

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