POV-Ray : Newsgroups : povray.off-topic : You thought 4K graphics demos were impressive? : Re: You thought 4K graphics demos were impressive? Server Time
5 Sep 2024 07:27:15 EDT (-0400)
  Re: You thought 4K graphics demos were impressive?  
From: triple r
Date: 28 Aug 2009 02:55:00
Message: <web.4a977f13a684af8f958421d50@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Only looks that elegant at first glance, until you notice that he's
> actually kind of cheating: First line defines a single-character empty
> preprocessor macro, which he makes quite liberal use of to achieve the
> desired formatting of the code.

Did you run it?  If you run it, the output is a different beautifully-formatted
c-code.  If you run that, the output is another formatted c-code.  If you run
that, the output is another formatted c-code.  If you run that, the output is
the first result again.  Basically:

original -> #1
#1 -> #2
#2 -> #3
#3 -> #1

It's probably more mundane than it looks, but at a glance it's pretty slick.
Maybe RLE compression?

 - Ricky


Post a reply to this message

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