POV-Ray : Newsgroups : povray.binaries.scene-files : Greeble-macros : Re: Greeble-macros Server Time
1 Sep 2024 12:21:44 EDT (-0400)
  Re: Greeble-macros  
From: Zeger Knaepen
Date: 7 Jun 2006 09:24:07
Message: <4486d377@news.povray.org>
"Doctor John" <doc### [at] linuxmailorg> wrote in message 
news:44869b37$1@news.povray.org...
> "Zeger Knaepen" <zeg### [at] povplacecom> wrote in message 
> news:44856f41$1@news.povray.org...
> >>"Rarius" <rar### [at] rariuscouk> wrote in message 
> >>news:44855324$1@news.povray.org...
> > >When I try to render your POV file I get the following error...
> >>
> > >    Parse Error: Singular matrix in MInvers.
> > >
> >> I am using WinPOV 3.6.1c.. Do I need another version?
> 
> >you should read the first lines of greebles.inc, it says:
> 
> >// Greeble-macros and utilities
> >// for some weird reason, these don't function properly in POV-Ray 
3.6.1, 
> >but they work fine in MegaPOV
> 
> >the problem, as far as I can tell, is that some greeble-cells get too 
small 
> >for POV-Ray, causing an error in >the official version when I try to 
create 
> >a polygon for that cell.  MegaPOV probably just ignores those 
>polygons.
> 
> Nope, Megapov also throws the same error specifically pointing at line 
75
> Reading your code it looks like you've got a NOP #while...#end
> 
> Is it possible you've posted the wrong version - something I've done a 
few 
> times :-)
> Mind you, it would help if my Dutch was better then I could read all 
your 
> comments (I must buy a dictionary)

I posted a more or less working version, but there are a few bugs in it.

try this one.

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message


Attachments:
Download 'us-ascii' (47 KB)

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