POV-Ray : Newsgroups : povray.binaries.images : Pending Storm Server Time
20 Apr 2024 06:37:31 EDT (-0400)
  Pending Storm (Message 67 to 76 of 76)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Kenneth
Subject: Re: Pending Storm - final
Date: 17 Oct 2020 13:15:00
Message: <web.5f8b256aeb8b16cd98418910@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Kenneth" <kdw### [at] gmailcom> wrote:
>
> > An idea off the top of my head: Instead of a flat billboard, you could make a
> > simple low-rez height_field for the tree (including the trunk too, possibly).
>
> Hmmm.
> If a heightfield is just a displacement based on the grayscale value of the
> image pixels, then you could also make an isosurface of it, and abs() should
> mirror the
> displacement in both directions.
> Then I think there's the isosurface approximation macros that could make a
> mesh{} of _that_, and then you could possibly make a whole 3D tree from just the
> image.
> Alternatively, I guess you could just intersect{} it with a box and texture it
> with the image_map and see how that turns out...
>

I was actually thinking that a sort of dome-shaped, low-rez crinkly HF (with
'smooth', and 'water_level' to clip off the ground plane), could then be rotated
-90*x, then aligned to the camera view like Thomas did with his billboards. With
the tree texture applied, that would make a quasi-3D tree shape, at least for
the 'bulk of tree leaves' if not the trunk, and it might pick up some
semi-realistic lighting highlights if phong is used. It wouldn't matter that the
HF is just a shell; its underside ('rear') would never be seen, since the HF
would always face the camera.


Post a reply to this message

From: jr
Subject: Re: Pending Storm - final
Date: 22 Oct 2020 04:55:01
Message: <web.5f914822eb8b16ca8a81eb0@news.povray.org>
hi,

Thomas de Groot <tho### [at] degrootorg> wrote:
> Please find here the (last) version of the scene. Search for the
> differences ;-)

spent hours, and still couldn't find Wally!  :-)

<https://en.wikipedia.org/wiki/Where%27s_Wally%3F>

> One notable change I want to elaborate on a bit. I dumped Gilles Tran's
> MakeGrass and replaced it by Lawnmaker from Uwe Gleiss (2004).  ...
> Not stopping there, and interested as I am in using mesh2{} files, ...

some months ago, I played with generated "tufts" of grass, made from a small
number of mesh2 grassblades, and thought the results ok.  attached, perhaps you
can put it use.


regards, jr.


Post a reply to this message


Attachments:
Download 'tufts.inc.txt' (31 KB)

From: Thomas de Groot
Subject: Re: Pending Storm - final
Date: 23 Oct 2020 02:33:54
Message: <5f927952$1@news.povray.org>
Op 22/10/2020 om 10:51 schreef jr:
> hi,
> 
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Please find here the (last) version of the scene. Search for the
>> differences ;-)
> 
> spent hours, and still couldn't find Wally!  :-)
> 
> <https://en.wikipedia.org/wiki/Where%27s_Wally%3F>

Oh, LOL! this would be a great challenge to do someday in POV-Ray!
[I think that Wally is hidding in the tower... but one of the background 
trees is not impossible either.]

> 
>> One notable change I want to elaborate on a bit. I dumped Gilles Tran's
>> MakeGrass and replaced it by Lawnmaker from Uwe Gleiss (2004).  ...
>> Not stopping there, and interested as I am in using mesh2{} files, ...
> 
> some months ago, I played with generated "tufts" of grass, made from a small
> number of mesh2 grassblades, and thought the results ok.  attached, perhaps you
> can put it use.
> 

Thank you very much indeed. I shall certainly try it out. I am about 
finished with a HowTo document about Lawnmaker. When finished, I shall 
post the whole package in these n.g's.


-- 
Thomas


Post a reply to this message

From: jr
Subject: Re: Pending Storm - final
Date: 23 Oct 2020 15:15:01
Message: <web.5f932b62eb8b16ca8a81eb0@news.povray.org>
hi,

Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 22/10/2020 om 10:51 schreef jr:
> > Thomas de Groot <tho### [at] degrootorg> wrote:
> >> Please find here the (last) version of the scene. Search for the
> >> differences ;-)
> >
> > spent hours, and still couldn't find Wally!  :-)
>
> Oh, LOL! this would be a great challenge to do someday in POV-Ray!

a horde of Cousin Ricky's Androids, in bobble hats and striped jumpers?!

:-)


> I am about finished with a HowTo document about Lawnmaker. When finished,
> I shall post the whole package in these n.g's.

sounds good.


regards, jr.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Pending Storm - final
Date: 24 Oct 2020 03:01:10
Message: <5f93d136$1@news.povray.org>
Op 22/10/2020 om 10:51 schreef jr:
> some months ago, I played with generated "tufts" of grass, made from a small
> number of mesh2 grassblades, and thought the results ok.  attached, perhaps you
> can put it use.
> 

Something is not right I believe. The app remains stuck in an endless 
loop while parsing, without generating anything. Could you provide a 
small demo scene where it works? Thanks!

-- 
Thomas


Post a reply to this message

From: jr
Subject: Re: Pending Storm - final
Date: 24 Oct 2020 04:30:00
Message: <web.5f93e5e5eb8b16ca8a81eb0@news.povray.org>
hi,

Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 22/10/2020 om 10:51 schreef jr:
> > some months ago, I played with generated "tufts" of grass, made from a small
> > number of mesh2 grassblades, and thought the results ok.  attached, perhaps you
> > can put it use.
>
> Something is not right I believe. The app remains stuck in an endless
> loop while parsing, without generating anything. Could you provide a
> small demo scene where it works? Thanks!

had a quick look over the code posted, and .. looks alright.  will post zip of
demo and  another copy of inc tonight.


regards, jr.


Post a reply to this message

From: jr
Subject: Re: Pending Storm - final
Date: 24 Oct 2020 13:10:00
Message: <web.5f945f9deb8b16ca8a81eb0@news.povray.org>
hi,

Thomas de Groot <tho### [at] degrootorg> wrote:
> Something is not right I believe. The app remains stuck in an endless
> loop while parsing, without generating anything. Could you provide a
> small demo scene where it works? Thanks!

I didn't have a demo scene per se, so the attached is cannibalised from a ("the"
:-)) wip scene.  the .inc file is the same as posted.  POV-Ray gets to about
280,000 "K tokens" parsing.  the "planting" is relatively sparse, one "tuft" per
square unit.


regards, jr.


Post a reply to this message


Attachments:
Download '201024tdg.zip' (157 KB)

From: Thomas de Groot
Subject: Re: Pending Storm - final
Date: 25 Oct 2020 03:16:50
Message: <5f952662$1@news.povray.org>
Op 24/10/2020 om 19:08 schreef jr:
> hi,
> 
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Something is not right I believe. The app remains stuck in an endless
>> loop while parsing, without generating anything. Could you provide a
>> small demo scene where it works? Thanks!
> 
> I didn't have a demo scene per se, so the attached is cannibalised from a ("the"
> :-)) wip scene.  the .inc file is the same as posted.  POV-Ray gets to about
> 280,000 "K tokens" parsing.  the "planting" is relatively sparse, one "tuft" per
> square unit.
> 
> 
> regards, jr.
> 

Thank you! I shall go with that and come back later.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Pending Storm - final
Date: 27 Oct 2020 03:56:37
Message: <5f97d2b5$1@news.povray.org>
Op 24/10/2020 om 19:08 schreef jr:
> hi,
> 
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Something is not right I believe. The app remains stuck in an endless
>> loop while parsing, without generating anything. Could you provide a
>> small demo scene where it works? Thanks!
> 
> I didn't have a demo scene per se, so the attached is cannibalised from a ("the"
> :-)) wip scene.  the .inc file is the same as posted.  POV-Ray gets to about
> 280,000 "K tokens" parsing.  the "planting" is relatively sparse, one "tuft" per
> square unit.
> 
> 
> regards, jr.
> 

OK, thank you very much indeed. This works. Going to look more closely.

-- 
Thomas


Post a reply to this message

From: MichaelJF
Subject: Re: Pending Storm
Date: 14 Jan 2021 13:16:48
Message: <60008a90$1@news.povray.org>
Here you can find such arrangements of trees

https://en.wikipedia.org/wiki/Dehesa

Best regards
Michael


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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