POV-Ray : Newsgroups : povray.binaries.scene-files : Wind pattern code and reed stalk example Server Time
28 Mar 2024 16:06:39 EDT (-0400)
  Wind pattern code and reed stalk example (Message 16 to 25 of 25)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: LanuHum
Subject: Re: Wind pattern code and reed stalk example
Date: 23 Sep 2014 13:35:00
Message: <web.5421af2b825f35c27a3e03fe0@news.povray.org>
Now there are a lot of modifiers


Post a reply to this message


Attachments:
Download 'wind.blend.jpg' (375 KB)

Preview of image 'wind.blend.jpg'
wind.blend.jpg


 

From: Thomas de Groot
Subject: Re: Wind pattern code and reed stalk example
Date: 24 Sep 2014 03:59:42
Message: <542279ee$1@news.povray.org>
On 23-9-2014 19:34, LanuHum wrote:
> Now there are a lot of modifiers
>

This is looking very good! Exactly how I think it should be.

Thomas


Post a reply to this message

From: LanuHum
Subject: Re: Wind pattern code and reed stalk example
Date: 24 Sep 2014 12:20:00
Message: <web.5422ee73825f35c27a3e03fe0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
>
> This is looking very good! Exactly how I think it should be.
>
> Thomas

I develop leaves :)


Post a reply to this message


Attachments:
Download 'wind_with_leaves.jpg' (104 KB)

Preview of image 'wind_with_leaves.jpg'
wind_with_leaves.jpg


 

From: Stephen
Subject: Re: Wind pattern code and reed stalk example
Date: 24 Sep 2014 13:19:47
Message: <5422fd33$1@news.povray.org>
On 24/09/2014 17:16, LanuHum wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>>
>> This is looking very good! Exactly how I think it should be.
>>
>> Thomas
>
> I develop leaves :)
>

You do it well. Bravo!

-- 

Regards
     Stephen


Post a reply to this message

From: LanuHum
Subject: Re: Wind pattern code and reed stalk example
Date: 24 Sep 2014 15:10:01
Message: <web.542316ad825f35c27a3e03fe0@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
> >
> > I develop leaves :)
> >
>
> You do it well. Bravo!
>
> --
>
> Regards
>      Stephen

It only scheme (plan).
In high resolution it won't look good.
Besides, I used manual editing. For animation automatic process is necessary.


Post a reply to this message

From: Stephen
Subject: Re: Wind pattern code and reed stalk example
Date: 24 Sep 2014 18:50:38
Message: <54234abe$1@news.povray.org>
On 24/09/2014 20:08, LanuHum wrote:
> Stephen <mca### [at] aolcom> wrote:
>>>
>>> I develop leaves :)
>>>
>>
>> You do it well. Bravo!
>>
>> --
>>
>> Regards
>>       Stephen
>
> It only scheme (plan).
> In high resolution it won't look good.
> Besides, I used manual editing. For animation automatic process is necessary.
>

Yes
Proof of concept?
It can be done.
I have not used Forces nor animation in Blender, yet. Sounds like fun. :-)

-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Wind pattern code and reed stalk example
Date: 25 Sep 2014 03:24:02
Message: <5423c312$1@news.povray.org>
On 24-9-2014 18:16, LanuHum wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>>
>> This is looking very good! Exactly how I think it should be.
>>
>> Thomas
>
> I develop leaves :)
>

Look at that! You did it!

Thomas


Post a reply to this message

From: kurtz le pirate
Subject: Re: Wind pattern code and reed stalk example
Date: 27 Sep 2014 09:23:07
Message: <5426ba3b$1@news.povray.org>

> On 19-9-2014 21:53, LanuHum wrote:
>> In the console there are a lot of lines:
>> File '/usr/share/povray-3.7/include/math.inc' line 232: Possible Parse
>> Error:
>> Normalizing zero-length vector.
>
> I know but I don't know what to do about that. As far as I know I have
> dealt with all zero-length vectors.



because sometimes <Norm> is equal to <0.000, 1.000, 0.000>
then, you caculate VerAng with :
	#local VerAng = VAngleD(<Norm.x, 0, Norm.z>, Norm);

first parameter become <0.000, 0.000, 0.000>

VAngleD use vnormalize that is not defined for a null vector.

and you get :
	Possible Parse Error: Normalizing zero-length vector.


you can, for exemple, correct this by adding smalls values to <Norm>
	#if ((Norm.x = 0.0) &  (Norm.z = 0.0))
		#local Norm = <0.0001, Norm.y, 0.0001>;
	#end



> Anyway, they have no effect on the render.

no visible difference in fact :)



---
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

From: Thomas de Groot
Subject: Re: Wind pattern code and reed stalk example
Date: 27 Sep 2014 10:26:05
Message: <5426c8fd$1@news.povray.org>
On 27-9-2014 15:23, kurtz le pirate wrote:

> because sometimes <Norm> is equal to <0.000, 1.000, 0.000>
> then, you caculate VerAng with :
>      #local VerAng = VAngleD(<Norm.x, 0, Norm.z>, Norm);
>
> first parameter become <0.000, 0.000, 0.000>
>
> VAngleD use vnormalize that is not defined for a null vector.
>
> and you get :
>      Possible Parse Error: Normalizing zero-length vector.
>
>
> you can, for exemple, correct this by adding smalls values to <Norm>
>      #if ((Norm.x = 0.0) &  (Norm.z = 0.0))
>          #local Norm = <0.0001, Norm.y, 0.0001>;
>      #end
>

Simple and effective indeed. Thank you. I had difficulty in visualizing 
what was exactly happening.

Thomas


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Wind pattern code and reed stalk example
Date: 1 Oct 2014 04:29:05
Message: <542bbb51$1@news.povray.org>
LanuHum wrote on 24/09/2014 18.16:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>>
>> This is looking very good! Exactly how I think it should be.
>>
>> Thomas
>
> I develop leaves :)
>
Very nices!
;-)
Paolo


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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