|
![](/i/fill.gif) |
hi all,
here's a chunk of code for your consideration (m and cm are arbitrary units
of meters and centimeters)
//start
#local fn = function { pattern {granite} };
HF_Square (fn, no, no, <25,25>, yes, "square1.inc", <0,0,0>, <1,1,1>*m)
object{#include "square1.inc" scale <1,0.1,1> pigment{Green}}
HF_Cylinder(fn, no, no, <25,25>, yes, "cylinder1.inc", <0,0,0>, <0,0,1>*m,
5*cm,10*cm)
object{#include "cylinder1.inc" translate -5*cm*y pigment{Red}}
//end
How would I manipulate this such that the cylinder 'tiles' seamlessly with
the square. The basic end result I'm aiming for is a round_box with a real
normal as opposed to a normal normal... or is there an easier way?
thanks in advance
jim
Post a reply to this message
|
![](/i/fill.gif) |