|
![](/i/fill.gif) |
Hi Zeger,
I want to try out your textures, but they are macros. I created a box and
added "texture { MetaalBol(1) }", which gives the error message
"No mathing } in 'texture', texture found instead".
How should I use the textures?
Greetings,
Sven
"Zeger Knaepen" <zeg### [at] povplace com> schrieb im Newsbeitrag
news:44738fd7@news.povray.org...
"Sven Littkowski" <sve### [at] jamaica-focus com> wrote in message
news:44738867$1@news.povray.org...
> The worrying thing with me, Zeger, is, that I not only like your greebles
> a
> lot, but also that very supportive texture you have applied!
thank you :)
> It partially looks like chrome or silver, but on the other side it also
> looks like burnt steel, smoky silver.
that's more or less the intention :)
> Do you mind to tell me/us what texture it is?
sure, see attachment
use as follows:
#declare Seed=seed(123); //seed-value for random translation of the texture
#declare BS=1; //Bump size of the texture
object {MyObject Metaal()}
> Besides that, I like that your texture can be applied to roundish
> surfaces.
it can't, I had to turn off the normals or it just looked weird :(
> But the only logical error might be, here as well as on one of the
> previous-shown examples, that the greebles unlogically get smaller and
> smaller the more they come close to the left or right edge. It looks damn
> good this way, but I would expect the greebles to be in one consistant
> size.
> Example: The apartments (and persons within them) don't get smaller
> (shorter) the more the apartment houses are located to a 5 or 6-streets
> corner. Therefore, the greebles, as well, should consist their regular
> size.
hmm, I don't know...
it's hard to subdivide a superellipsoid in another way :-/
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
|
![](/i/fill.gif) |