POV-Ray : Newsgroups : povray.general : Re: Shorten Code Tips : Re: Shorten Code Tips Server Time
3 Aug 2024 12:21:39 EDT (-0400)
  Re: Shorten Code Tips  
From: Tim Nikias v2 0
Date: 29 Feb 2004 18:44:02
Message: <40427942@news.povray.org>
> >> anyone maybe have idea how to shorten
> >>   L(y)L(y)L(z)L(z)L(x)L(x)
> > Nope, not unless I know the macros and have an idea how they might
> > simply do double output.
>
> it's impossible to shorten L() macro itself probably
>
> code is in .b.i

Couldn't find the script. Maybe a pointer, or send me the file via email?

> >> and
> >>   union{... rotate R*90translate T scale.5}
> > Maybe the objects in the union could be scaled by .5 directly (e.g.
>
> same as above. I was thinking, wasn't it be shorten to use matrix syntax?

Well, Matrix has 12 digits, seperated by commas within the standard "<" and
">" and needs matrix keyword, that's 31 symbols minimum. now let's see
above: only 30.... And you'd need code to generate the matrix in the first
place...

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de


Post a reply to this message

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