POV-Ray : Newsgroups : povray.newusers : Isosurface checker : Re: Isosurface checker Server Time
7 May 2024 04:42:23 EDT (-0400)
  Re: Isosurface checker  
From: FractRacer
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

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