|
![](/i/fill.gif) |
Le 2011-12-02 11:56, Francois Labreque a écrit :
> Le 2011-12-01 09:36, Invisible a écrit :
>>>> POV-Ray makes nice stone textures (unless you're a geologist) and wood
>>>> textures (unless you're a dendrologist). Last time I checked,
>>>> there's no
>>>> way of making a canvas texture or a wet paper texture or a spilled
>>>> paint
>>>> texture or...
>>>
>>> By playing with gradient and checker textures, I'm sure you could come
>>> up with a decent canvas texture in less than half an hour.
>>
>> Off you go then. :-)
>>
>
> Challenge accepted. I have a few hours ahead of me saturday as I baby
> sit an Oracle upgrade.
>
>
Sorry for being on topic...
Took a little over an hour in total, since I was distracted by my work
on the other PC, but I didn't spend more than 30 minutes writing the
code, even though I haven't touched POV-Ray in almost 5 years.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* gmail.com */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
Attachments:
Download 'canvas.pov.txt' (3 KB)
Download 'canvas.jpg' (46 KB)
Preview of image 'canvas.jpg'
![canvas.jpg](/povray.off-topic/attachment/%3C4eda548a%241%40news.povray.org%3E/canvas.jpg?preview=1)
|
![](/i/fill.gif) |