POV-Ray : Newsgroups : povray.binaries.scene-files : Lua logo Server Time
2 Sep 2024 08:14:54 EDT (-0400)
  Lua logo (Message 1 to 3 of 3)  
From: Philippe Lhoste
Subject: Lua logo
Date: 5 Aug 2002 08:38:53
Message: <3d4e71dd@news.povray.org>
As an exercice, I have tried to make the Lua logo (http://www.lua.org) in
POV-Ray.
Note: in Portuguese, lua means moon.

I think it is quite close to the original, a Postscript program.

Nice little CSG exercice, and my first real #while loop...

Regards.

-- #=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=# --
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/


Post a reply to this message


Attachments:
Download 'LuaLogo.pov.txt' (4 KB)

From: Rafal 'Raf256' Maj
Subject: Re: Lua logo
Date: 6 Aug 2002 01:24:51
Message: <Xns92624ACFEE45Eraf256com@204.213.191.226>
"Philippe Lhoste" <Phi### [at] GMXnet> wrote in news:3d4e71dd@news.povray.org

> I think it is quite close to the original, a Postscript program.

nice.. but not looking much 3d to me ;)
maybe add a litle 3d effect - by removing "shadowless"
add in finish  abient .5 diffuse .5 brilliance .7 to get "just a little" 3d 
effect


-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Philippe Lhoste
Subject: Re: Lua logo
Date: 6 Aug 2002 06:19:38
Message: <3d4fa2ba$1@news.povray.org>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> "Philippe Lhoste" <Phi### [at] GMXnet> wrote in news:3d4e71dd@news.povray.org
>
> > I think it is quite close to the original, a Postscript program.
>
> nice.. but not looking much 3d to me ;)
> maybe add a litle 3d effect - by removing "shadowless"
> add in finish  abient .5 diffuse .5 brilliance .7 to get "just a little"
3d
> effect

Mmm, the main goal of the exercise was to be as close as possible from the
original design, hence the flat rendering...
However, in more dynamic views, your suggestion is worthwhile.
I give here the improved version: change the flatRendering value to see both
versions.

One Lua author suggested a spherical version, I will post it here.

Thank you for the hint.

Regards.

-- #=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=# --
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/


Post a reply to this message


Attachments:
Download 'LuaLogo.pov.txt' (4 KB)

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