POV-Ray : Newsgroups : povray.general : Need for new pattern - cubediv? : Re: Need for new pattern - cubediv? Server Time
31 Jul 2024 20:22:44 EDT (-0400)
  Re: Need for new pattern - cubediv?  
From: Raf256
Date: 21 Sep 2006 07:13:07
Message: <451273c2@news.povray.org>
Warp <45125062@news.povray.org> Thursday 21 of September 2006 10:42

>   No, one have not. I have posted this before:

I browsed few posts in archiwum before ;)

>   pigment
>   { function { CubePattern(x, y, z) }
>     pigment_map
>     { [0/6 Image rotate x*90]
>       [1/6 Image]
>       [2/6 Image rotate -y*90]
>       [3/6 Image rotate -y*180]
>       [4/6 Image rotate y*90]
>       [5/6 Image rotate -x*90]
>     }
>   };
> 

Wow, awesome - I invented almost identical solution on my own (see the other
post).

Before I tried also making actual 6 pyramids shape and intersecting it with
the shape we want, but it didnt worked when using 6 prisms intersected with
superellipsoid; Neither it worked when intersecting mesh with superelis -
in general the texture from mash was not used.

Still I think it is common enought to code there a function to do that
fastly, not by using function{}

-- 

Cytat tygodnia:


Post a reply to this message

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