POV-Ray : Newsgroups : povray.binaries.animations : Differenced isosurface problem : Differenced isosurface problem Server Time
20 Jul 2024 03:21:16 EDT (-0400)
  Differenced isosurface problem  
From: Ruy
Date: 6 Oct 2001 07:31:40
Message: <3bbeeb9c@news.povray.org>
I don't know what I'm doing wrong with this scene. I created an isosurface
(the same you can see in the previous animation I posted) and differenced
half of it from a plane.  When observed from sideways the result looks fine,
but as I rotated it, a large white area appeared. Well, an animation with 60
frames is woth 60000 words, so go ahead and take a look.

If someone knows what I am doing wrong, please tell me. Oh, and if it is too
obvious, feel free to nag me from here to Kabul.

Here is the scene. It uses Ingo Janssen's "param.inc":

light_source { <0, 100, 00> color rgb 1.0 }
light_source { <0, 10, -100> color rgb 1.0 }

camera {
  location  <0.0 , .10 , -10.0>
  look_at   <0.0 , 0.0 , 0.0>
  angle 15
}

background { rgb 2 }

#declare Fx = function(u, v) {sin(u)*sin(v) +sin(20*v)*0.05}
#declare Fy = function(u, v) {cos(u)*cos(v) +cos(20*u)*0.05}
#declare Fz = function(u, v) {sin(v)}

#declare Umin = -1*pi;
#declare Umax =  1*pi;
#declare Vmin = -1*pi;
#declare Vmax =  1*pi;

#declare Iter_U = 100;
#declare Iter_V = 100;

#declare WriteReadMesh = "Parafun.msh"

#include "param.inc"
Parametric()

#declare Parafun = difference {
  object {
    Surface
    rotate y*90
    rotate x*90
    texture {
      pigment { color rgb z }
      finish { specular 1 }
    }
  }
  plane { x 0 }
  rotate z*-90
  translate y/2
}

object {
  Parafun
  texture {
    pigment { color rgb z }
    finish { specular 1 }
  }
  rotate x*360*.clock
}

Any help will be greatly apreciated.

Thanks,

Ruy


Post a reply to this message


Attachments:
Download 'Parafun.mpg' (543 KB)

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