|
|
I'm trying to make a room with CSG - I'm cutting out 2 boxes of one -
bigger - here are two test pictures with the sources - maybe someone can
help.
The source for "test1.jpg"
#declare room = difference
{
box
{
<-2.100, -1.300, +1.600>
<+2.100, +1.300, -1.600>
}
box
{
<-2.000, -1.200, +1.500>
<+2.000, +1.200, -1.000>
}
box
{
<-2.000, -1.200, +1.500>
<+1.000, +1.200, -1.500>
}
}
And the source for "test2.jpg"
#declare room = difference
{
box
{
<-2.100, -1.300, +1.600>
<+2.100, +1.300, -1.600>
}
box
{
<-2.000, -1.200, +1.500>
<+2.000, +1.200, -1.000>
}
box
{
<-2.000, -1.200, -1.000>
<+1.000, +1.200, -1.500>
}
}
Post a reply to this message
Attachments:
Download 'test2.jpg' (30 KB)
Download 'test1.jpg' (13 KB)
Preview of image 'test2.jpg'
Preview of image 'test1.jpg'
|
|
|
|
http://www.students.tut.fi/~warp/povVFAQ/languageVFAQ.html#blackspots
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|