|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have placed 1000 wooden spheres inside this woodbox but it was too much :-)
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
Attachments:
Download 'crashbox.jpg' (127 KB)
Preview of image 'crashbox.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
No wonder 8-|
What in the world were you doing with 1000 wooden spheres? <g>
> I have placed 1000 wooden spheres inside this woodbox but it was too much
:-)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 12 Dec 2001 17:12:48 -0500, "Mahalis" <don### [at] fakeycom> wrote:
> What in the world were you doing with 1000 wooden spheres? <g>
abacus with hardware memory ?
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
where lies the secret of the non-intersectional balls? in the
trace()-function? is there a way for this in v3.1?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 12 Dec 2001 23:22:43 +0100, marabou <not### [at] availableyet> wrote:
> where lies the secret of the non-intersectional balls? in the
> trace()-function?
partially yes
if you don't know what 'trace' does check description under
http://www.povray.org/working-docs/id000136.html#6_1_4_6
> is there a way for this in v3.1?
yes but you have to know some basic algorithms connected with finding ray's
intersection with objects (i.e. sphere)
iirc you can find some description of it within 'raytracer' part of new
documentation at http://www.povray.org/working-docs/id000107.html#4_2
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
> On Wed, 12 Dec 2001 17:12:48 -0500, "Mahalis" <don### [at] fakeycom> wrote:
> > What in the world were you doing with 1000 wooden spheres? <g>
>
> abacus with hardware memory ?
How 'bout an abacus that does symbolic integration?
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 13 Dec 2001 00:22:50 -0600, David Fontaine <dav### [at] faricynet> wrote:
> How 'bout an abacus that does symbolic integration?
As you see from my picture such operation provides to des-integration.
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wasn't it marabou who wrote:
>
>where lies the secret of the non-intersectional balls? in the
>trace()-function? is there a way for this in v3.1?
In 3.1 you just keep an array of the positions of the balls (and an
array of their sizes if different). Each time you try to add a sphere at
a random position, you check to ensure that vlength(newposition-
oldposition) is less than the sum of the two radii for each of the
existing spheres.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
> As you see from my picture such operation provides to des-integration.
Hehe, whooo, man... I went into shock that joke was so bad. ;)
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|