POV-Ray : Newsgroups : povray.binaries.images : Seraglio (WIP) : Re: Seraglio (WIP) Server Time
2 Jul 2024 23:36:28 EDT (-0400)
  Re: Seraglio (WIP)  
From: And
Date: 29 Aug 2015 12:40:01
Message: <web.55e1df6ff1eaec47368e00af0@news.povray.org>
And the third is the 100x100 tilings, takes 2 minutes and 4 seconds to render.
Every object in it is intersection with the bounding cylinder first, then union.


#declare one_piece =
union{
    box{
    <0.005, 0.005, 0>, <0.395, 0.395, 0.01>
    }
    cylinder{
    <0.02, 0, 0>, <0.38, 0, 0>, 1
    scale <1,0.18,0.02>
    translate <0, 0.2, 0.01>
    }
    pigment{
    rgb<0.4,0.6,0.6>
    }
}

#declare the_tiling =
union{
    #for(i, 0, 99)
        #for(j, 0, 99)
            intersection{
                object{
                one_piece
                translate <i*0.4, j*0.4, 0>
                }
                cylinder{
                <20,20,0>,<20,20,1>,19
                }
                cutaway_textures
            }
        #end
    #end
}


the_tiling


Post a reply to this message


Attachments:
Download 'array_test1 3 2m4s.png' (131 KB)

Preview of image 'array_test1 3 2m4s.png'
array_test1 3 2m4s.png


 

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