POV-Ray : Newsgroups : povray.beta-test : macro issue Server Time
29 Jul 2024 12:15:49 EDT (-0400)
  macro issue (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Alf Peake
Subject: Re: macro issue
Date: 17 Jun 2002 11:17:45
Message: <3d0dfd99@news.povray.org>
I didn't invoke your macro first time - just added it to a test file.
_Using_ it now gives me an error but I can't see anything wrong in the
script ( that pigment{ Green } in my post shouldn't be there).

Alf


Post a reply to this message

From: Alf Peake
Subject: No there isn't :(
Date: 17 Jun 2002 11:22:52
Message: <3d0dfecc@news.povray.org>
"Alf Peake" <alf### [at] peake42freeservecouk> wrote in message
news:3d0dfba6@news.povray.org...
> Correction:
>
> "Alf Peake" <alf### [at] peake42freeservecouk> wrote in message
> news:3d0de779$1@news.povray.org...
> > No problems with me.
>
> Now I got one :/
> sphere { < 0,0,0>, 1 fooTexture() } }

OK - there's an extra brace above. Sorry. No problems when corrected.


Post a reply to this message

From: Warp
Subject: Re: macro issue
Date: 17 Jun 2002 11:24:51
Message: <3d0dff43@news.povray.org>
The current form for layered textures is not very good, after all. It causes
too many ambiguities to both the parser and the user. IMHO it should be
redesigned for pov4.
  For example something like:

texture
{ layered texture_map
  { [1 texture1]
    [1 texture2]
  }
}

  'layered' could work like 'average', but layering the textures instead
of averaging them. The values could be used for some extra effect (don't
know if there's any useful thing, though).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Christoph Hormann
Subject: Re: macro issue
Date: 17 Jun 2002 11:25:20
Message: <3D0DFF5F.53283978@gmx.de>
Scott Wasson wrote:
> 
> I'm trying to declare a macro that defines a layered texture.  Here's a
> simplified example:
> 
> [...]

This does not look like a POV-Ray 3.5 specific problem to me.  If it is,
please post a correct bug report with a sample scene showing the problem. 
It it is just a problem about POV-Ray in general that occured to you while
working you should post it in a different newsgroup.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 14 Jun. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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