From theseas!Princeton.EDU!cek Fri, 25 Mar 94 09:02:04 EET
Received: by kriton.UUCP (V1.16/Amiga)
	id AA00000; Fri, 25 Mar 94 09:02:04 EET
Received: by theseas.ntua.gr with UUCP; Thu, 24 Mar 1994 18:30:30 +0200
Received: from eunet.EU.net by pythia.ics.forth.gr via FORTHnet with SMTP;
	id AA04388 (5.65c/FORTH-ICS-3.0-MHS-7.0); Thu, 24 Mar 1994 17:43:13 +0200
Received: (uunet@localhost) by eunet.EU.net (8.6.8/8.6.8) with UUCP id QAA26081 for ariadne!theseas!kriton!kyrimis; Thu, 24 Mar 1994 16:01:45 +0100
Received: from Princeton.EDU by relay2.UU.NET with SMTP 
	(5.61/UUNET-internet-primary) id AAwipv25343; Thu, 24 Mar 94 09:58:37 -0500
Received: from fs.Princeton.EDU by Princeton.EDU (5.65b/2.108/princeton)
	id AA18949; Thu, 24 Mar 94 09:55:26 -0500
Received: by cs.Princeton.EDU (4.1/1.105)
	id AA08991; Thu, 24 Mar 94 09:55:24 EST
Received: from lobster.wellfleet.com by cs.Princeton.EDU (4.1/1.105)
	id AA08927; Thu, 24 Mar 94 09:54:48 EST
Received: from pobox.wellfleet (pobox.wellfleet.com) by lobster.wellfleet.com (4.1/SMI-4.1)
	id AA00321; Thu, 24 Mar 94 09:37:31 EST
Received: from nantucket.wellfleet by pobox.wellfleet (4.1/SMI-4.1)
	id AA14350; Thu, 24 Mar 94 09:48:24 EST
Received: from lobster.wellfleet.com by pobox.wellfleet (4.1/SMI-4.1)
	id AA14333; Thu, 24 Mar 94 09:47:27 EST
Received: by lobster.wellfleet.com (4.1/SMI-4.1)
	id AB00310; Thu, 24 Mar 94 09:36:21 EST
Date: Thu, 24 Mar 94 09:36:21 EST
Message-Id: <9403241436.AB00310@lobster.wellfleet.com>
Sender: mark_podlipec@wellfleet.com
Errors-To: rayshade-request@cs.Princeton.EDU
Remailed-Date: Thu Mar 24 09:54:54 EST 1994
From: Mailer-Daemon@lobster.wellfleet.com (Mail Delivery Subsystem)
To: <mark_podlipec@wellfleet.com>
Subject: Returned mail: Service unavailable

   ----- Transcript of session follows -----
Connected to YALE.EDU:
>>> RCPT To:<rayshade@cs.yale.edu>
<<< 554 <rayshade@cs.yale.edu>... rayshade : unknown person or mailing list
554 <rayshade@cs.yale.edu>... Service unavailable

   ----- Unsent message follows -----
Return-Path: <podlipec@pobox>
Received: from pobox.wellfleet (pobox.wellfleet.com) by lobster.wellfleet.com (4.1/SMI-4.1)
	id AA00308; Thu, 24 Mar 94 09:36:21 EST
Received: from nantucket.wellfleet by pobox.wellfleet (4.1/SMI-4.1)
	id AA14329; Thu, 24 Mar 94 09:47:15 EST
From: podlipec@pobox (Mark Podlipec)
Message-Id: <9403241447.AA14329@pobox.wellfleet>
Subject: Re: Negative Blobs
To: rayshade@cs.yale.edu
Date: Thu, 24 Mar 94 9:54:58 EST
Cc: mgix@jpn.thomson-di.fr
Reply-To: podlipec@wellfleet.com
In-Reply-To: <9403240856.AA17856@krainte.jpn.thomson-di.fr>; from "Emmanuel Mogenet" at Mar 3, 94 2:32 pm
Organization: Wellfleet Communications Inc.
X-Mailer: ELM [version 2.3 PL11]



The rayshade enhanced has had negative blobs for a while now. Here's 
the actual code so that it checks against negative radii and strength's
of zero.

      if (   ( (cur->mvec.c0 > -EPSILON) && (cur->mvec.c0 < EPSILON) )
          || (cur->mvec.rs < EPSILON) )
        {
          RLerror(RL_WARN,"Degenerate metaball in blob (sr).\n");
          return (Blob *)NULL;
        };


The enhanced verison also supports multicolored blobs(where each 
metaball can be a different color).

I have also written code that supports 4th and 6th degree blobs(the difference
is comparable between 2nd and 3rd degree splines) and 4th degree
blobs with a squash vector(pushes the metaball's density so that it's no
long radial symmetric about the center), but haven't had time to polish it
yet.

Mark

podlipec@wellfleet.com




----------
Administrivia: rayshade-request@cs.princeton.edu
Mailing list: rayshade-users@cs.princeton.edu

