POV-Ray : Newsgroups : povray.binaries.images : Proof of concept: The wind in the reeds : Re: Proof of concept: The wind in the reeds Server Time
8 Jul 2024 06:36:12 EDT (-0400)
  Re: Proof of concept: The wind in the reeds  
From: And
Date: 18 Sep 2014 01:30:00
Message: <web.541a6ce7efc7654257a8c4650@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Well, I am interested in modelling wind patterns over a reed field, or a
> corn field. What I seem to observe are turbulent wave patterns moving
> the stalks back and forward while going over the field.
>
> This is a first approximation. I am not really satisfied yet with the
> pattern. What I did is:
>
> 1) Make an image_map with a more or less turbulent ripple pattern.
> 2) Make a height_field based on that image_map.
> 3) Build a reed stalk with Inverse Kinematic properties (macro with Bend
> parameter).
> 4) Select random locations on the height_field;
> 4a) calculate the vertical angle between the normal at that location and
> a horizontal plane (using: VAngleD(V1,V2));
> 4b) calculate the horizontal angle between (arbitrarily) the +z-axis
> direction (direction of primary bending of the reed stalks) and the
> normal of the random location point (using: VRotationD(V1,V2,axis)).
> 5a) bend the stalk with a proportion of the vertical angle (4a);
> 5b) orient the bended stalk by rotating through the horizontal angle (4b);
> 5c) place the reed stalks at the random locations on a flat surface.
>
> The image shows 15000 reed stalks. About 4.5 minutes render time.
>
> suggestions are more than welcome of course.
>
> Thomas

Wow, like a painting.

What are the povray objects you use?


Post a reply to this message

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