POV-Ray : Newsgroups : povray.binaries.images : mountain and and Server Time
19 May 2024 08:13:54 EDT (-0400)
  mountain and and (Message 7 to 16 of 36)  
<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: And
Subject: Re: mountain and and
Date: 3 Feb 2019 00:00:00
Message: <web.5c5674cb6bbc519154cba1b90@news.povray.org>
Alain <kua### [at] videotronca> wrote:
> Le 19-02-02 à 09:23, And a écrit :
> > Thomas de Groot <tho### [at] degrootorg> wrote:
> >> On 1-2-2019 4:15, And wrote:
> >>> Remove media:
> >>>
> >>
> >> Looking good. However, even better would be to (1) randomise the tracing
> >> a bit creating clearings and clumps, and (2) randomise the sizes
> >> allowing for larger and smaller trees.
> >>
> >> --
> >> Thomas
> >
> > Wrote a file to place object and avoid overlap.
> >
>
> If you want to make a forest, then, avoiding overlap is not than
> important. You only want to prevent to much of an overlap.

Basically I store the position on a file. And apply a bit large tree model.


Post a reply to this message

From: Thomas de Groot
Subject: Re: mountain and and
Date: 3 Feb 2019 03:01:07
Message: <5c569fc3$1@news.povray.org>
On 3-2-2019 5:57, And wrote:
> Alain <kua### [at] videotronca> wrote:
>> Le 19-02-02 à 09:23, And a écrit :
>>> Thomas de Groot <tho### [at] degrootorg> wrote:
>>>> On 1-2-2019 4:15, And wrote:
>>>>> Remove media:
>>>>>
>>>>
>>>> Looking good. However, even better would be to (1) randomise the tracing
>>>> a bit creating clearings and clumps, and (2) randomise the sizes
>>>> allowing for larger and smaller trees.
>>>>
>>>> --
>>>> Thomas
>>>
>>> Wrote a file to place object and avoid overlap.
>>>
>>
>> If you want to make a forest, then, avoiding overlap is not than
>> important. You only want to prevent to much of an overlap.
> 
> Basically I store the position on a file. And apply a bit large tree model.
> 

At this stage, I think the following might be of interest to you:

http://news.povray.org/povray.binaries.images/attachment/%3Cweb.4ac2c552a7005b411322341f0@news.povray.org%3E/landscapetutorial.pov.txt

I have used code snippets tailored to my needs ever since Kirk Andrews 
posted this.

-- 
Thomas


Post a reply to this message

From: ingo
Subject: Re: mountain and and
Date: 3 Feb 2019 04:26:15
Message: <XnsA9EB6A2E5DDADseed7@news.povray.org>
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


Post a reply to this message

From: ingo
Subject: Re: mountain and and
Date: 3 Feb 2019 04:31:50
Message: <XnsA9EB6B204729seed7@news.povray.org>
in news:XnsA9EB6A2E5DDADseed7@news.povray.org ingo wrote:

> http://math.lbl.gov/voro++/examples/ for inspiration,
> 

nice cloud ;)
http://math.lbl.gov/voro++/examples/cut_region/

ingo


Post a reply to this message

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


 

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

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