POV-Ray : Newsgroups : povray.newusers : Isosurface checker Server Time
26 Apr 2024 12:15:04 EDT (-0400)
  Isosurface checker (Message 1 to 3 of 3)  
From: LanuHum
Subject: Isosurface checker
Date: 24 Apr 2014 14:10:00
Message: <web.535952a0418935ca7a3e03fe0@news.povray.org>
Hi!
ERROR!

#version 3.7;
#include "functions.inc"
global_settings {
    assumed_gamma 1.0
    max_trace_level 3
}
background {rgbt<0.0509, 0.0509, 0.0509, 0>}

// In tutorial:
// http://www.f-lohmueller.de/pov_tut/all_shapes/shapes950e.htm

isosurface{ //-------------------------
  function{  f_checker( x*1.2,y*1.19,z*1.2)*0.08
  contained_by{box{<-2,-3,-2>,<2,3,2>}}
  threshold 0.05
  max_gradient 200

  texture{
    pigment{ color rgb<1,1,1>*1.2}
            finish { phong 1 }
  } // end of texture
  scale <1,1,1>*0.35
  rotate <0,0,0>
  translate <0,0,0>
} // end of isosurface ----------------


light_source {
    <4.08,5.9,4.96>
    color rgb<1, 1, 1>
}
camera {
    location  <0, 0, 0>
    look_at  <0, 0, -1>
    right <-1.6077777759896383, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-27.098163, 46.688390, -0.903519>
    translate <7.481132, 5.343666, 6.507640>
}

==== [Parsing...] ==========================================================
File '/home/leonid/blender/povwip/povwip.pov' line 34: Possible Parse Error:
 Suspicious identifier found in function! If you want to call a function make
 sure the function you call has been declared. If you call an internal function,
 make sure you have included 'functions.inc'.
File '/home/leonid/blender/povwip/povwip.pov' line 34: Parse Error: Expected
 'operator', contained_by found instead
Fatal error in parser: Cannot parse input.
Render failed


Post a reply to this message

From: FractRacer
Subject: Re: Isosurface checker
Date: 24 Apr 2014 18:25:02
Message: <53598f3e$1@news.povray.org>

> Hi!
> ERROR!
>
> #version 3.7;
> #include "functions.inc"
> global_settings {
>      assumed_gamma 1.0
>      max_trace_level 3
> }
> background {rgbt<0.0509, 0.0509, 0.0509, 0>}
>
> // In tutorial:
> // http://www.f-lohmueller.de/pov_tut/all_shapes/shapes950e.htm
>
> isosurface{ //-------------------------
>    function{  f_checker( x*1.2,y*1.19,z*1.2)*0.08
>    contained_by{box{<-2,-3,-2>,<2,3,2>}}
>    threshold 0.05
>    max_gradient 200
>
>    texture{
>      pigment{ color rgb<1,1,1>*1.2}
>              finish { phong 1 }
>    } // end of texture
>    scale <1,1,1>*0.35
>    rotate <0,0,0>
>    translate <0,0,0>
> } // end of isosurface ----------------
>
>
> light_source {
>      <4.08,5.9,4.96>
>      color rgb<1, 1, 1>
> }
> camera {
>      location  <0, 0, 0>
>      look_at  <0, 0, -1>
>      right <-1.6077777759896383, 0, 0>
>      up <0, 1, 0>
>      angle  49.134343
>      rotate  <-27.098163, 46.688390, -0.903519>
>      translate <7.481132, 5.343666, 6.507640>
> }
>
> ==== [Parsing...] ==========================================================
> File '/home/leonid/blender/povwip/povwip.pov' line 34: Possible Parse Error:
>   Suspicious identifier found in function! If you want to call a function make
>   sure the function you call has been declared. If you call an internal function,
>   make sure you have included 'functions.inc'.
> File '/home/leonid/blender/povwip/povwip.pov' line 34: Parse Error: Expected
>   'operator', contained_by found instead
> Fatal error in parser: Cannot parse input.
> Render failed
>

Hello,
You have missed a the final bracket in function's line, typo!

function{  f_checker( x*1.2,y*1.19,z*1.2)*0.08}

Lionel
-- 
Do not judge my words, judge my actions.

---

http://www.avast.com


Post a reply to this message

From: LanuHum
Subject: Re: Isosurface checker
Date: 25 Apr 2014 12:15:01
Message: <web.535a89afa6f329697a3e03fe0@news.povray.org>
FractRacer <lg.### [at] gmailcom> wrote:

>
> Hello,
> You have missed a the final bracket in function's line, typo!
>
> function{  f_checker( x*1.2,y*1.19,z*1.2)*0.08}
>
> Lionel
> --
> Do not judge my words, judge my actions.
>
> ---

 active.
> http://www.avast.com

Hello, Thanks!
I copied the text from tutorial without understanding.


Post a reply to this message

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