POV-Ray : Newsgroups : povray.general : fastprox02 error? : Re: fastprox02 error? Server Time
30 Jul 2024 06:18:07 EDT (-0400)
  Re: fastprox02 error?  
From: stbenge
Date: 31 Aug 2009 16:05:06
Message: <4a9c2cf2@news.povray.org>
Thomas de Groot wrote:
> This is for Sam:
> 
> Using the proximity macro fastProx3() I get a parse error: ".... line 344: 
> Parse Error: Cannot assign uninitialized identifier."

Is that in line 344 of my code or yours?

> I am sure you know what went wrong (or what I do wrong for that matter).

No, I have no clue. I typed up this test and it parsed and rendered just 
fine in both 3.6 and 3.7b:

#include"fast_prox02.inc"

#declare FinalBuilding=
union{
  box{-1,1 scale<4,2,2>}
  box{-1,1 scale<2,4,2>}
  box{-1,1 scale<2,2,4>}
}

object{
  FinalBuilding
  pigment{
   fastProx3(
    FinalBuilding,
    min_extent(FinalBuilding),
    max_extent(FinalBuilding),
    <2, 2, 2>, 4, 20, <1, 1, 1>*8
   )
   color_map{[.25 rgb 0][1 rgb 1]}
  }
}

Run that code to see if you still have problems. I'll try to keeping 
helping until it works for you, if you wish.

Happy Povving :)

Sam


Post a reply to this message

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