|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
what you think about implementing of macros directly in POV
source-code??
I don't mean every small macro, i mean the famous macros, like the
hair-macro and the tree-macros. Theese will be much faster in the source
as an POV-macro.
It is possible? Hard to implement?
Paul
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3A186246.8AFA7CBC@alpharay.de>, Paul Blaszczyk
<3d### [at] alpharayde> wrote:
> what you think about implementing of macros directly in POV
> source-code??
> I don't mean every small macro, i mean the famous macros, like the
> hair-macro and the tree-macros. Theese will be much faster in the source
> as an POV-macro.
More work than it is worth, and it would break consistency with the rest
of the POV language. If those things are added as POV features, they
should be modified to use the correct syntax. For example, trees should
be objects, not functions, POV keywords should all be lower-case, etc...
Also, it would be a tremendous amount of work to simply convert the more
complex macros and includes into functions.
BTW, for a lot of my patches, I do prototyping in POV-Script and then
use that as a base for the actual patch. The particle_system patch was
descended from a simple particle system written in POV-Script, the
extended blur patch I am now working on has it's algorithms being tested
in .pov files, etc...
Also, some features were originally macros, for example, the "sgn()"
function in MegaPOVPlus.
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Paul Blaszczyk <3d### [at] alpharayde> wrote:
> Hi,
> what you think about implementing of macros directly in POV
> source-code??
> I don't mean every small macro, i mean the famous macros, like the
> hair-macro and the tree-macros. Theese will be much faster in the source
> as an POV-macro.
I thought I had a pretty good handle on what was out there. Is there a hair
macro? If so, where can I get it? I don't see anything on the pov links
page.
Geoff
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Geoff Wedig <wed### [at] darwinepbicwruedu> wrote:
: I thought I had a pretty good handle on what was out there. Is there a hair
: macro? If so, where can I get it? I don't see anything on the pov links
: page.
There may be several, but I think that Colefax's macro is one of the
most popular.
It may be a little hard to find since it's "hidden" inside another
macro: The povray compressed mesh (PCM) macro. The hair macro is part of it.
http://www.geocities.com/ccolefax/pcm.html
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
> Geoff Wedig <wed### [at] darwinepbicwruedu> wrote:
> : I thought I had a pretty good handle on what was out there. Is there a hair
> : macro? If so, where can I get it? I don't see anything on the pov links
> : page.
> There may be several, but I think that Colefax's macro is one of the
> most popular.
> It may be a little hard to find since it's "hidden" inside another
> macro: The povray compressed mesh (PCM) macro. The hair macro is part of it.
Ah, that would explain why I couldn't find it. Thanks.
Geoff
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|