POV-Ray : Newsgroups : povray.beta-test : Bicubic Patch bug Server Time
1 Nov 2024 23:16:38 EDT (-0400)
  Bicubic Patch bug (Message 1 to 7 of 7)  
From: Txemi Jendrix
Subject: Bicubic Patch bug
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

From: Warp
Subject: Re: Bicubic Patch bug
Date: 9 Feb 2002 22:56:02
Message: <3c65ef52@news.povray.org>
Txemi Jendrix <tji### [at] euskalnetnet> wrote:
:     bicubic_patch { type 1 flatness 0.0010 u_steps 3 v_steps 3,

  Are you 100% sure that there can be a comma at the end of that line?
Seems strange and out of place.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Txemi Jendrix
Subject: Re: Bicubic Patch bug
Date: 10 Feb 2002 00:01:29
Message: <3c65fea9@news.povray.org>

news:3c65ef52@news.povray.org...
> Txemi Jendrix <tji### [at] euskalnetnet> wrote:
> :     bicubic_patch { type 1 flatness 0.0010 u_steps 3 v_steps 3,
>
>   Are you 100% sure that there can be a comma at the end of that line?
> Seems strange and out of place.

Same results with and without comma.

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


Post a reply to this message

From: Ib Rasmussen
Subject: Re: Bicubic Patch bug
Date: 10 Feb 2002 06:30:50
Message: <3C665A83.20606@my.email.address>
Txemi Jendrix wrote:

> Hi, I think this must be a bug in beta 11.
> Parse Error: Expected 'numeric expression', ,  found instead

I can confirm that. A bicubic_patch that worked fine in beta 10 
generates that error in beta 11.

/Ib


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Bicubic Patch bug
Date: 10 Feb 2002 07:13:10
Message: <3c6663d6$4@news.povray.org>
In article <3c65d8af@news.povray.org> , "Txemi Jendrix" <tji### [at] euskalnetnet>
wrote:

>     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

While cleaning out remaining junk from the rbezier patch I accidently cleared
out the parsing of commas as well.  Commas will be allowed again in beta 12.
For now, just remove them - your scene will still work (and continue to work
as all commas are optional).

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Txemi Jendrix
Subject: Re: Bicubic Patch bug
Date: 10 Feb 2002 15:02:31
Message: <3c66d1d7@news.povray.org>

news:3c6663d6$4@news.povray.org...
> While cleaning out remaining junk from the rbezier patch I accidently
cleared
> out the parsing of commas as well.  Commas will be allowed again in beta
12.

I've removed all the commas. The scene parses and renders, but no object
appears on the screen. On povray 3.1, Megapov 0.7 and beta 10 I obtained a
white object (and you will get it if you try). With beta 11 only a black
screen.
Any ideas?

> For now, just remove them - your scene will still work (and continue to
work
> as all commas are optional).

 Sorry to hear that, 'cause it means I can't work with my scene for the IRTC
with the new beta.
The reason is that I have a lot of bezier patches to edit, and all of them
have commas (as that's the way moray and hamapatch exports bezier patches to
pov).
Let's see if I can make beta 10 work again.

Thank you for the explanation.
Bye
--
Txemi Jendrix
tji### [at] euskalnetnet
http://www.geocities.com/txemijendrix


Post a reply to this message

From: Txemi Jendrix
Subject: Re: Bicubic Patch bug
Date: 10 Feb 2002 15:14:39
Message: <3c66d4af@news.povray.org>

news:3c66d1d7@news.povray.org...

> news:3c6663d6$4@news.povray.org...
> I've removed all the commas. The scene parses and renders, but no object
> appears on the screen. On povray 3.1, Megapov 0.7 and beta 10 I obtained a
> white object (and you will get it if you try). With beta 11 only a black
> screen.
> Any ideas?

Forget it. When removing all the commas, I had removed all, even the ones
between < >.
Removing only the needed commas, it renders OK.

Anyway, now I've realised it's impossible to work with the current beta in
my WIP for the IRTC.
<sigh>
Bye.
--
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.