POV-Ray : Newsgroups : povray.beta-test : Bicubic Patch bug : Bicubic Patch bug Server Time
30 Jul 2024 00:16:52 EDT (-0400)
  Bicubic Patch bug  
From: Txemi Jendrix
Date: 9 Feb 2002 21:19:27
Message: <3c65d8af@news.povray.org>
Hi, I think this must be a bug in beta 11.

I get this error message :

//
File: C:\WINDOWS\Escritorio\povies\bugbeta11.pov  Line: 4
    bicubic_patch { type 1 flatness 0.0010 u_steps 3 v_steps 3,
      <-0.342715, -0.197866, 1.991929>, <----ERROR
Parse Error: Expected 'numeric expression', ,  found instead
Returned from renderer with error status
//

When I render this file:

//
#declare sPatchObj1 = union {
  object {
    bicubic_patch { type 1 flatness 0.0010 u_steps 3 v_steps 3,
      <-0.342715, -0.197866, 1.991929>, <-0.311988, -0.251087, 1.991929>,
<-0.251087, -0.311988, 1.991929>, <-0.197867, -0.342715, 1.991929>,
      <-0.242606, -0.140069, 2.023171>, <-0.211879, -0.193289, 2.023171>,
<-0.193289, -0.211879, 2.023171>, <-0.140069, -0.242606, 2.023171>,
      <-0.109128, -0.063005, 2.064827>, <-0.108319, -0.064405, 2.064827>,
<-0.064405, -0.108319, 2.064827>, <-0.063005, -0.109128, 2.064827>,
      <-0.009019, -0.005207, 2.096069>, <-0.008210, -0.006608, 2.096069>,
<-0.006608, -0.008210, 2.096069>, <-0.005207, -0.009019, 2.096069>
    }
  }
  object {
    bicubic_patch { type 1 flatness 0.0010 u_steps 3 v_steps 3,
      <-0.315659, -0.182245, 1.741485>, <-0.287357, -0.231265, 1.741485>,
<-0.231265, -0.287357, 1.741485>, <-0.182246, -0.315659, 1.741485>,
      <-0.354316, -0.204565, 1.802643>, <-0.326015, -0.253584, 1.802643>,
<-0.253584, -0.326015, 1.802643>, <-0.204565, -0.354316, 1.802643>,
      <-0.334598, -0.193180, 1.916796>, <-0.303871, -0.246401, 1.916796>,
<-0.246401, -0.303871, 1.916796>, <-0.193180, -0.334598, 1.916796>,
      <-0.342715, -0.197866, 1.991929>, <-0.311988, -0.251087, 1.991929>,
<-0.251087, -0.311988, 1.991929>, <-0.197867, -0.342715, 1.991929>
    }
  }
}

object {sPatchObj1 pigment {color rgb 1} finish {ambient 1}}
//

It renders OK with povray 3.1g and Megapov 0.7 (and worked fine with beta
10)

AMD Athlon 600 Mhz 128 Mb Ram 10 Gb HD Windows98 SE Povray for Windows 3.5
beta 11


--
Txemi Jendrix
tji### [at] euskalnetnet
http://www.geocities.com/txemijendrix


Post a reply to this message

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