POV-Ray : Newsgroups : povray.binaries.images : crash on modified sample file Server Time
19 Nov 2024 15:19:18 EST (-0500)
  crash on modified sample file (Message 1 to 9 of 9)  
From:
Subject: crash on modified sample file
Date: 12 Dec 2001 17:04:49
Message: <spkf1ugdk9ffq6q3shrfs0f1sqrgf8v9se@4ax.com>
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'
crashbox.jpg


 

From: Mahalis
Subject: Re: crash on modified sample file
Date: 12 Dec 2001 17:11:10
Message: <3c17d5fe@news.povray.org>
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

From:
Subject: Re: crash on modified sample file
Date: 12 Dec 2001 17:18:06
Message: <tqlf1uotj3gn59g3pnadei41fpjsvqsifh@4ax.com>
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

From: marabou
Subject: Re: crash on modified sample file
Date: 12 Dec 2001 17:21:00
Message: <3c17d84c@news.povray.org>
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

From:
Subject: Re: crash on modified sample file
Date: 12 Dec 2001 17:40:16
Message: <dpmf1uoe65u11c5th7om3oipcns0iverkt@4ax.com>
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

From: David Fontaine
Subject: Re: crash on modified sample file
Date: 13 Dec 2001 01:19:02
Message: <3C18493A.9846C93C@faricy.net>

> 
> 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

From:
Subject: Re: crash on modified sample file
Date: 13 Dec 2001 01:25:54
Message: <cdig1uodkgvsa5uleig5l9u52251vur5up@4ax.com>
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

From: Mike Williams
Subject: Re: crash on modified sample file
Date: 13 Dec 2001 13:03:49
Message: <5NvJ8CAtFGG8Ew+1@econym.demon.co.uk>
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

From: David Fontaine
Subject: Re: crash on modified sample file
Date: 13 Dec 2001 19:34:38
Message: <3C194A04.801F9846@faricy.net>

> 
> 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

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