POV-Ray : Newsgroups : povray.binaries.scene-files : Greeble-macros Server Time
1 Sep 2024 14:26:56 EDT (-0400)
  Greeble-macros (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Zeger Knaepen
Subject: Greeble-macros
Date: 5 Jun 2006 11:49:50
Message: <4484529e$1@news.povray.org>
stats for the demo-file:

Total Scene Processing Times
  Parse Time:    0 hours  0 minutes 11 seconds (11 seconds)
  Photon Time:   0 hours  0 minutes  0 seconds (0 seconds)
  Cloth Time:    0 hours  0 minutes  0 seconds (0 seconds)
  Mechsim Time:  0 hours  0 minutes  0 seconds (0 seconds)
  Render Time:   0 hours  3 minutes 33 seconds (213 seconds)
  Postpr. Time:  0 hours  0 minutes  0 seconds (0 seconds)
  Total Time:    0 hours  3 minutes 44 seconds (224 seconds)
CPU time used: kernel 4.91 seconds, user 201.72 seconds, total 206.62 
seconds
Render averaged 5947.01 PPS over 1228800 pixels

there is some explanation of how to use it in the file greebles.inc

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 'greebles.zip' (10 KB)

From: Rarius
Subject: Re: Greeble-macros
Date: 6 Jun 2006 06:04:20
Message: <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?

Rarius


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Greeble-macros
Date: 6 Jun 2006 08:04:17
Message: <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.

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

From: Doctor John
Subject: Re: Greeble-macros
Date: 7 Jun 2006 05:24:07
Message: <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)

John
-- 
"Please refrain from fondling the nymphs and sprites - it makes them giggly
and skittish.
Thank you for your co-operation.
The Management"


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Greeble-macros
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)

From: Jaap
Subject: Re: Greeble-macros
Date: 7 Jun 2006 16:30:01
Message: <web.448736d68ff9e6c3a8399d8d0@news.povray.org>
"Doctor John" <doc### [at] linuxmailorg> wrote:
> Mind you, it would help if my Dutch was better then I could read all your
> comments (I must buy a dictionary)

I'm a native Dutch speaker, but somehow reading code with Dutch comments
feels wrong. I use English in my own code, as well as for my txt files with
notes.
English just seems much more dyslectic-friendly, and also a better fit for
describing technical things. (and it's plain shorter) :-)


Post a reply to this message

From: Doctor John
Subject: Re: Greeble-macros
Date: 8 Jun 2006 05:03:47
Message: <4487e7f3@news.povray.org>
"Jaap" <jws### [at] yahoocom> wrote in message 
news:web.448736d68ff9e6c3a8399d8d0@news.povray.org...
> English just seems much more dyslectic-friendly, and also a better fit for
> describing technical things. (and it's plain shorter) :-)
>
True ...
Now see p.b.i. for continuation of this discussion

John
-- 
"Please refrain from fondling the nymphs and sprites - it makes them giggly
and skittish.
Thank you for your co-operation.
The Management"


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Greeble-macros
Date: 8 Jun 2006 08:18:09
Message: <44881581@news.povray.org>
"Doctor John" <doc### [at] linuxmailorg> wrote in message 
news:4487e7f3@news.povray.org...
> "Jaap" <jws### [at] yahoocom> wrote in message 
> news:web.448736d68ff9e6c3a8399d8d0@news.povray.org...
> > English just seems much more dyslectic-friendly, and also a better 
fit for
> > describing technical things. (and it's plain shorter) :-)
> >
> True ...

I disagree, but I'm not going to turn this into a discussion.

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

From: Sven Littkowski
Subject: Re: Greeble-macros
Date: 20 Jun 2006 12:13:04
Message: <44981e90$1@news.povray.org>
Hi Zeger,

I am also getting errors, and I use the updated version you posted as 
response of Doctor John's and Rarius' problems.

Here is the error message:

----------------------------------------------------------------------------
Preset INI file is 'D:\PROGRAMME\POV-RAY FOR WINDOWS\RENDERER\QUICKRES.INI', 
section is '[800x600, AA 0.3]'.
Preset source file is 'D:\Programme\POV-Ray for Windows\Scenes\Other 
Authors\Greebles\greebletest.pov'.
Rendering with 4 threads.
Parser Options
  Input file: D:\Programme\POV-Ray for Windows\Scenes\Other 
Authors\Greebles\greebletest.pov
  Remove bounds........On
  Split unions.........Off
  Library paths:
    D:\Programme\POV-Ray for Windows\Include
    E:\Scripts\Eigene Bilder\Povray Textures
    C:\WINDOWS\Fonts
    D:\PROGRAMME\POV-RAY FOR WINDOWS\include
    C:\WINDOWS\Fonts
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
Possible Parse Error: Singular matrix in MInvers.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 520: Parse 
Warning: Patch objects not allowed in intersection.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 521: Parse 
Warning: Should have at least 2 objects in csg.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: Parse 
Warning: Polygon not closed. Closing it.
File 'D:\Programme\POV-Ray for Windows\Include\greebles.inc' line 75: 
Possible Parse Error: Singular matrix in MInvers.
Fatal error in parser: Uncategorized error.
Render failed
-
CPU time used: kernel 0.58 seconds, user 0.16 seconds, total 0.73 seconds.
Elapsed time 0.86 seconds.
----------------------------------------------------------------------------


Post a reply to this message

From: Thomas de Groot
Subject: Re: Greeble-macros
Date: 24 Aug 2006 07:34:03
Message: <44ed8eab$1@news.povray.org>
Just curious...

Doctor John had found a way to correct Zeger's Greeble but has not posted a 
new version. How are things going on that front?

Thomas


Post a reply to this message

Goto Latest 10 Messages Next 6 Messages >>>

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