POV-Ray : Newsgroups : povray.unofficial.patches : superpatch/parametric trouble Server Time
3 Sep 2024 00:20:45 EDT (-0400)
  superpatch/parametric trouble (Message 1 to 6 of 6)  
From: david sharp
Subject: superpatch/parametric trouble
Date: 7 Jun 1999 13:03:46
Message: <375BFB44.2354@interport.net>
I compiled Ron Parker's SuperPatch for MSDOS POV-Ray 3.1e
basically by dumping all the SuperPatch source files on top of
the DOS 3.1e source distribution, then shovelling the
filenames of files unique to the SuperPatch into the 
djgpp makefile. The thing compiled (using djgpp) with amazingly 
few problems. I have only begun testing superpatch stuff, but
everything i have tested works very nicely, except the 
parametric function objects. Often in the tokenizing or 
rendering of parametric function objects, the SuperPatch 
POV crashes with SIGSEGV. And when it doesn't crash, there
is, at best, one black object with no pigment which is probably the
parametric surface.  
After compiling with debugging on, it never gets so far as rendering
anything. It crashes during 'tokenize' and as close as I can determine 
the crashes happen in mem.c on freeing some memory (again, only with 
parametric functions).
I have not tracked this down any better so far because
of lack of time. I worry that there is a bug in the 
parametric object code (i.e., not just in my half-assed 
compilation).
Does anyone know or can guess what the problem is from this
sketchy information?


Post a reply to this message

From: Ron Parker
Subject: Re: superpatch/parametric trouble
Date: 7 Jun 1999 14:08:57
Message: <375c0ab9@netplex.aussie.org>
On Mon, 07 Jun 1999 13:03:00 -0400, david sharp wrote:
>Does anyone know or can guess what the problem is from this
>sketchy information?

Can you send me the scene you're trying to render so I can try
it on my copy here?


Post a reply to this message

From: TonyB
Subject: Re: superpatch/parametric trouble
Date: 7 Jun 1999 16:01:38
Message: <375C178F.32FB0425@panama.phoenix.net>
Just curious...When will it be ready and where can we get it then?

PS: it=SuperPatch 3.1e
PS2: Did you like the logo I made?

--
Anthony L. Bennett
http://welcome.to/TonyB

Graphics rendered
by the Dreamachine.


Post a reply to this message

From: Ron Parker
Subject: Re: superpatch/parametric trouble
Date: 7 Jun 1999 16:17:05
Message: <375c28c1@netplex.aussie.org>
On Mon, 07 Jun 1999 15:03:43 -0400, TonyB wrote:
>Just curious...When will it be ready and where can we get it then?

Soon, and I don't know yet.   I've given up on trying to give a date,
because they keep slipping.  It will probably be on my personal web
space somewhere.  i'll post a message here the minute it's available.
(and my ISP will probably terminate my account a minute later. :) )

>PS2: Did you like the logo I made?

I've only gotten two submissions for my impromptu splash screen contest.
I liked yours, though I prefer to not have my own name displayed so
prominently (after all, other people did most of the real work.)  I 
also liked the other one, whose submitter I have temporarily forgotten,
for entirely different reasons.  I'll probably keep something like the 
current logo for this release and do the logo thing for the next release 
(probably not too long after - I still need to add dispersion, among 
other things) so keep those entries coming.  Or rather, start those 
entries coming.


Post a reply to this message

From: david sharp
Subject: Re: superpatch/parametric trouble
Date: 7 Jun 1999 20:20:14
Message: <375C618F.1A85@interport.net>
Here is just one example of a parametric{function{}} object which causes
my MSDOS compilation of SuperPatch to crash:

/* -------------------------------------------------*/
#include "colors.inc"

// the surface
#declare Helicoid=parametric{
     function
        v*cos(4*u), 
        u, 
        v*sin(4*u)      

       <-pi/2,-1>, <pi/2, 1> 
 
       accuracy 0.001
       //precompute 15, [x,z]

}


object{

        object{
               Helicoid
               texture {pigment{Yellow} }
               /*
               clipped_by{sphere{<0,0,0>,1}}
               */
        }
	rotate <0,70,0>
	scale 6
}

camera
{ 
	location  < 16, 11,-16>
	look_at   < 0, 0, 0>
} 

light_source { <20, 10, -20> color rgb 1 }

background{White}


Post a reply to this message

From: Ronald L  Parker
Subject: Re: superpatch/parametric trouble
Date: 7 Jun 1999 23:00:57
Message: <375c8743.82737223@news.povray.org>
On Mon, 07 Jun 1999 20:19:27 -0400, david sharp <dsh### [at] interportnet>
wrote:

>Here is just one example of a parametric{function{}} object which causes
>my MSDOS compilation of SuperPatch to crash:

My god, it's full of bugs!

f_param.c has a few problems.  It'll be fixed for the release.


Post a reply to this message

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