POV-Ray : Newsgroups : povray.binaries.images : mountain and and Server Time
18 Apr 2024 09:46:37 EDT (-0400)
  mountain and and (Message 11 to 20 of 36)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Thomas de Groot
Subject: Re: mountain and and
Date: 3 Feb 2019 07:42:00
Message: <5c56e198$1@news.povray.org>
On 3-2-2019 10:26, ingo wrote:
> in news:5c569fc3$1@news.povray.org Thomas de Groot wrote:
> 
>> http://news.povray.org/povray.binaries.images/attachment/%3Cweb.4ac2c5
>> 52a7005b411322341f0@news.povray.org%3E/landscapetutorial.pov.txt
>>
> 
> Interesting.
> There once was an include file for realistic sky/(fog?) based on media
> that had proper absortion depending on the suns angle. Can't find it :(
> 
> Regarding tree placement, it would be nice if we could use voronoi
> (crackle) some howe to determine how big the crown of a tree can be before
> intersecting with the surrounding ones.
> The centre of the cell would be the trunk. The size of the cell the crown
> and the height of the tree.
> 
> http://math.lbl.gov/voro++/examples/ for inspiration,
> 
> ingo
> 

I have to do a bit of research, but my mind tells me 'Tek' (Tekno 
Frannansa) and a scene called 'Dawn'. I have it somewhere. Also there is 
Jaime Vives Piqueres who has produced realistic skies with LightsysIV. I 
have used it quite often but have to look that up too presently; will 
take a little time.

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: mountain and and
Date: 3 Feb 2019 08:00:00
Message: <web.5c56e4bd6bbc519154cba1b90@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:5c569fc3$1@news.povray.org Thomas de Groot wrote:
>
> > http://news.povray.org/povray.binaries.images/attachment/%3Cweb.4ac2c5
> > 52a7005b411322341f0@news.povray.org%3E/landscapetutorial.pov.txt
> >
>
> Interesting.
> There once was an include file for realistic sky/(fog?) based on media
> that had proper absortion depending on the suns angle. Can't find it :(
>
> Regarding tree placement, it would be nice if we could use voronoi
> (crackle) some howe to determine how big the crown of a tree can be before
> intersecting with the surrounding ones.
> The centre of the cell would be the trunk. The size of the cell the crown
> and the height of the tree.
>
> http://math.lbl.gov/voro++/examples/ for inspiration,
>
> ingo

Too difficult .!


Post a reply to this message

From: Bald Eagle
Subject: Re: mountain and and
Date: 3 Feb 2019 12:45:02
Message: <web.5c57285b6bbc5191765e06870@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:5c569fc3$1@news.povray.org Thomas de Groot wrote:
>
> > http://news.povray.org/povray.binaries.images/attachment/%3Cweb.4ac2c5
> > 52a7005b411322341f0@news.povray.org%3E/landscapetutorial.pov.txt
> >
>
> Interesting.
> There once was an include file for realistic sky/(fog?) based on media
> that had proper absortion depending on the suns angle. Can't find it :(
>
> Regarding tree placement, it would be nice if we could use voronoi
> (crackle) some howe to determine how big the crown of a tree can be before
> intersecting with the surrounding ones.
> The centre of the cell would be the trunk. The size of the cell the crown
> and the height of the tree.
>
> http://math.lbl.gov/voro++/examples/ for inspiration,
>
> ingo

That's a rather brilliant idea.   :)

I have a .pov file where I copied the POV-Ray source for the crackle pattern,
hoping to decode it / translate it into SDL, for use in such scenes where the
parameters of the Voronoi diagram are user-accessible, but I have a lot to learn
about C++ and mysterious things like operator overloading....

That said, there's the way to "fake" a Voronoi diagram with overlapping cones.
Perhaps there's a way to do something with an array of cone-axes, and either
brute-force "collision detection" (overlap within a given radius) or using a
quad-tree plus collision detection, difference{} away the surrounding cones, and
then use trace() to determine the radius of the inscribed circle.

This might help a lot too:
https://en.wikipedia.org/wiki/Delaunay_triangulation#Algorithms


Post a reply to this message

From: ingo
Subject: Re: mountain and and
Date: 3 Feb 2019 16:27:05
Message: <XnsA9EBE46427A03seed7@news.povray.org>
in news:web.5c57285b6bbc5191765e06870@news.povray.org Bald Eagle wrote:

> Voronoi diagram

been tinkering with it today using the voro++ commandline programm and the 
Tess python binding. Intersting stuff can be done with it and I have my 
first voronoi forrest, albeit with a bit of scaling that should not be. 
I'm in the process of writing a python file that outputs all possible data 
in arrays. The boundaries/faces of each cell can be turned into polygons 
relative easy.
The voro++ command line programm output nice POV-Ray files, but arrays are 
handier.
The main problem so far is the interaction with the boundaries of the 
'box' that contains the cells.


ingo


Post a reply to this message

From: Thomas de Groot
Subject: Re: mountain and and
Date: 4 Feb 2019 02:24:11
Message: <5c57e89b$1@news.povray.org>
On 3-2-2019 13:55, And wrote:
> ingo <ing### [at] tagpovrayorg> wrote:
>> in news:5c569fc3$1@news.povray.org Thomas de Groot wrote:
>>
>>> http://news.povray.org/povray.binaries.images/attachment/%3Cweb.4ac2c5
>>> 52a7005b411322341f0@news.povray.org%3E/landscapetutorial.pov.txt
>>>
>>
>> Interesting.
>> There once was an include file for realistic sky/(fog?) based on media
>> that had proper absortion depending on the suns angle. Can't find it :(
>>
>> Regarding tree placement, it would be nice if we could use voronoi
>> (crackle) some howe to determine how big the crown of a tree can be before
>> intersecting with the surrounding ones.
>> The centre of the cell would be the trunk. The size of the cell the crown
>> and the height of the tree.
>>
>> http://math.lbl.gov/voro++/examples/ for inspiration,
>>
>> ingo
> 
> Too difficult .!
> 

Seconded!

-- 
Thomas


Post a reply to this message

From: ingo
Subject: Re: mountain and and
Date: 4 Feb 2019 04:35:35
Message: <XnsA9EC6BC34394Fseed7@news.povray.org>
in news:5c57e89b$1@news.povray.org Thomas de Groot wrote:

>> Too difficult .!
>> 
> 
> Seconded!
> 

is it?

ingo


Post a reply to this message


Attachments:
Download 'forrest_spheres.jpg' (45 KB)

Preview of image 'forrest_spheres.jpg'
forrest_spheres.jpg


 

From: Thomas de Groot
Subject: Re: mountain and and
Date: 4 Feb 2019 06:50:05
Message: <5c5826ed$1@news.povray.org>
On 4-2-2019 10:35, ingo wrote:
> in news:5c57e89b$1@news.povray.org Thomas de Groot wrote:
> 
>>> Too difficult .!
>>>
>>
>> Seconded!
>>
> 
> is it?
> 
> ingo
> 

I need to see the code in order to judge ;-)

-- 
Thomas


Post a reply to this message

From: ingo
Subject: Re: mountain and and
Date: 4 Feb 2019 08:03:45
Message: <XnsA9EC8F0E7320seed7@news.povray.org>
in news:5c5826ed$1@news.povray.org Thomas de Groot wrote:

> I need to see the code in order to judge ;-)
> 
> 

 <XnsA9EC8ED92EA29seed7@news.povray.org>

ingo


Post a reply to this message

From: Thomas de Groot
Subject: Re: mountain and and
Date: 5 Feb 2019 02:32:27
Message: <5c593c0b$1@news.povray.org>
On 4-2-2019 14:03, ingo wrote:
> in news:5c5826ed$1@news.povray.org Thomas de Groot wrote:
> 
>> I need to see the code in order to judge ;-)
>>
>>
> 
>   <XnsA9EC8ED92EA29seed7@news.povray.org>
> 
> ingo
> 

Right, but my point is that - not having too much time - I am reluctant 
to plunge into the learning/use of C++ programming at this stage. :-/

-- 
Thomas


Post a reply to this message

From: ingo
Subject: Re: mountain and and
Date: 5 Feb 2019 10:07:59
Message: <XnsA9EDA41D77430seed7@news.povray.org>
in news:5c593c0b$1@news.povray.org Thomas de Groot wrote:

> learning/use of C++ programming

No need for that. I currently have a running python3 program that parses 
the output file of Voro++ and writes the data as POV-Ray arrays to a file. 
It uses exactly the same commandline options as Voro++ and even calls 
Voro++ for you. Needs a thourough cleaning up, so it will take some time 
before I publish it.

ingo


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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