POV-Ray : Newsgroups : povray.binaries.images : 2,296 grains Server Time
19 Apr 2024 08:58:30 EDT (-0400)
  2,296 grains (Message 1 to 10 of 30)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Samuel Benge
Subject: 2,296 grains
Date: 2 Apr 2011 20:10:00
Message: <web.4d97bab0dc7be259e5cacc00@news.povray.org>
Hi again!

I found a way to allow grains of different sizes to placed, and the results
aren't so bad! All I needed to do was to subtract blob components with sizes
*relative* to the grain being produced. To do /that/, however, required an extra
loop in which all neighboring point distances were added up and averaged to
determine an acceptable size for the current grain.

Voronoi calculation time for scene: about 3 seconds. Parse time: 3 seconds.
Render time with one 12x12 area-illuminating area light: 10 minutes 6 seconds.
Not too bad!

The biggest problem I can see is that some grains (other than those assumed to
be held up by walls) appear to float. These are so few, and the parsing time so
short, that for a final scene grains could be placed manually to make it look
physically-correct.

I'd love to make this available to everyone, but I don't know where to start :(
I could just drop some source/binaries and hope for the best...

Sam


Post a reply to this message


Attachments:
Download '2296-grains.jpg' (100 KB)

Preview of image '2296-grains.jpg'
2296-grains.jpg


 

From: Thomas de Groot
Subject: Re: 2,296 grains
Date: 3 Apr 2011 04:00:58
Message: <4d98293a$1@news.povray.org>
In sedimentological terms, this would be an inversely graded set consisting 
of moderately sorted, moderately to badly rounded, medium to very coarse 
sand with cobble-sized elements... Oh well, don't make me repeat myself too 
often, please ;-)

Thomas


Post a reply to this message

From: stbenge
Subject: Re: 2,296 grains
Date: 3 Apr 2011 14:54:25
Message: <4d98c261$1@news.povray.org>
On 4/3/2011 12:59 AM, Thomas de Groot wrote:
> In sedimentological terms, this would be an inversely graded set consisting
> of moderately sorted, moderately to badly rounded, medium to very coarse
> sand with cobble-sized elements... Oh well, don't make me repeat myself too
> often, please ;-)

Your, ahem, expertise in this field is appreciated ;P


Post a reply to this message

From: stbenge
Subject: 27,841 grains
Date: 3 Apr 2011 15:06:00
Message: <4d98c518@news.povray.org>
Continuing in the same vein...

I was over-complicating each blob's influence, and it was causing the 
smaller particles to become too spaced.

Here's a set of over 27,000 particles. Variable particle density was 
used to give the appearance of strata. Parse time was around 30 seconds, 
render time was 6 minutes, 18 seconds.

This will be it for while, at least until I can take it to the next 
level. Hopefully I'll get this working with spherical objects, at which 
point things like gumball machines and granular flow will become 
possible (realistic avalanches might even become a possibility).

If nothing else, it's a highly entertaining way to spend my time :)

Sam


Post a reply to this message


Attachments:
Download '27841-grains.jpg' (115 KB)

Preview of image '27841-grains.jpg'
27841-grains.jpg


 

From: Thomas de Groot
Subject: Re: 2,296 grains
Date: 4 Apr 2011 02:57:49
Message: <4d996bed$1@news.povray.org>
"stbenge" <"egnebts <-inverted"@hotmail.com> schreef in bericht 
news:4d98c261$1@news.povray.org...
> Your, ahem, expertise in this field is appreciated ;P

Whatever it is worth in the POV-Ray world... ;-)

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: 27,841 grains
Date: 4 Apr 2011 03:01:24
Message: <4d996cc4$1@news.povray.org>
Better and better!

You know, Sam, this is very like RL. I just cannot help myself to see a 
river bed here. I hope you will develop further along these lines. Great 
work, as usual.

Thomas


Post a reply to this message

From: Bill Pragnell
Subject: Re: 27,841 grains
Date: 4 Apr 2011 05:00:01
Message: <web.4d9987de172c40c46dd25f0b0@news.povray.org>
This looks awesome, and the technique is very elegant! I look forward to further
developments.

I think it could be adapted to make excellent drystone walls.

Bill


Post a reply to this message

From: Paolo Gibellini
Subject: Re: 2,296 grains
Date: 4 Apr 2011 08:53:59
Message: <4d99bf67$1@news.povray.org>
>Samuel Benge  on date 03/04/2011 02:09 wrote:
> Hi again!
>
> I found a way to allow grains of different sizes to placed, and the results
> aren't so bad! All I needed to do was to subtract blob components with sizes
> *relative* to the grain being produced. To do /that/, however, required an extra
> loop in which all neighboring point distances were added up and averaged to
> determine an acceptable size for the current grain.
>
> Voronoi calculation time for scene: about 3 seconds. Parse time: 3 seconds.
> Render time with one 12x12 area-illuminating area light: 10 minutes 6 seconds.
> Not too bad!
>
> The biggest problem I can see is that some grains (other than those assumed to
> be held up by walls) appear to float. These are so few, and the parsing time so
> short, that for a final scene grains could be placed manually to make it look
> physically-correct.
>
> I'd love to make this available to everyone, but I don't know where to start :(
> I could just drop some source/binaries and hope for the best...
>
> Sam
I like e lot the colors of these grains.
;-)
Paolo


Post a reply to this message

From: nemesis
Subject: Re: 2,296 grains
Date: 4 Apr 2011 12:36:05
Message: <4d99f375$1@news.povray.org>
so very awesome.  We can always say the floating particles were actually 
caught midair from a fall.

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

From: Christian Froeschlin
Subject: Re: 2,296 grains
Date: 4 Apr 2011 15:54:17
Message: <4d9a21e9$1@news.povray.org>
Very impressive!

So, if these are blobs the roughness is just texture?

Reading up a bit on Voronoi diagrams I found this
entertaining interactive web application:

http://www.pi6.fernuni-hagen.de/GeomLab/VoroGlide/


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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