POV-Ray : Newsgroups : povray.binaries.images : Re: Random points on surface of an object (in advanced-users) Server Time
3 Aug 2024 02:16:38 EDT (-0400)
  Re: Random points on surface of an object (in advanced-users) (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 20 Feb 2007 09:46:00
Message: <45db09a8@news.povray.org>
This is a result test when using 
Point_At_Trans(vnormalize(<Norm.x,0,Norm.z>)). Exactly what I wanted. The 
top is trashy, but that can easily be corrected :-)

Thanks again, Tim.

Thomas


Post a reply to this message


Attachments:
Download 'RandomDistribution.jpg' (88 KB)

Preview of image 'RandomDistribution.jpg'
RandomDistribution.jpg


 

From: Stephen
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 20 Feb 2007 11:50:00
Message: <web.45db25b96a72babbf1cb1e660@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> This is a result test when using
> Point_At_Trans(vnormalize(<Norm.x,0,Norm.z>)). Exactly what I wanted. The
> top is trashy, but that can easily be corrected :-)
>
> Thanks again, Tim.
>
> Thomas

It looks OK to me, nice topiary

Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 21 Feb 2007 03:05:19
Message: <45dbfd3f@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> schreef in bericht 
news:web.45db25b96a72babbf1cb1e660@news.povray.org...
>
> It looks OK to me, nice topiary
>

Yes, this works quite well. When I saw Tim's code, I immediately thought 
about its use for topiaries and all those cases where vegetation is hanging 
down a wall. But its use could certainly be extended to lots of other 
applications! For instance, a figure covered with bees? or flies?  :-)

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 21 Feb 2007 04:05:02
Message: <web.45dc0ab06a72babbf1cb1e660@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> "Stephen" <mcavoys_AT_aolDOT.com> schreef in bericht
> news:web.45db25b96a72babbf1cb1e660@news.povray.org...
> >
> > It looks OK to me, nice topiary
> >
>
> Yes, this works quite well. When I saw Tim's code, I immediately thought
> about its use for topiaries and all those cases where vegetation is hanging
> down a wall. But its use could certainly be extended to lots of other
> applications! For instance, a figure covered with bees? or flies?  :-)
>
> Thomas

Or made of bees or point glows as a hive intelligence (?).
I looked at your image again at home on a decent screen and I see what you
mean about the top being messy.


Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 21 Feb 2007 07:36:41
Message: <45dc3cd9$1@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> schreef in bericht 
news:web.45dc0ab06a72babbf1cb1e660@news.povray.org...
>
> Or made of bees or point glows as a hive intelligence (?).
Yes, indeed, that would also be an interesting idea to work out.

> I looked at your image again at home on a decent screen and I see what you
> mean about the top being messy.
Yes, it mainly comes from the leaf image that contains a long stem. So, 
first thing to do is get rid of that. Secondly, this is where the supporting 
object bends away. It may then be viewpoint-related. I shall have to 
investigate.

Fwiw, there are some 6000 leaves here and it took v.3.7 about 5 minutes to 
parse and render on a Pentium D machine. About 30 minutes with v.3.6.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 21 Feb 2007 11:15:00
Message: <web.45dc6fb26a72babbf1cb1e660@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> "Stephen" <mcavoys_AT_aolDOT.com> schreef in bericht
> news:web.45dc0ab06a72babbf1cb1e660@news.povray.org...
> >
> > Or made of bees or point glows as a hive intelligence (?).
> Yes, indeed, that would also be an interesting idea to work out.

Especially in an animation. :-)

> > I looked at your image again at home on a decent screen and I see what you
> > mean about the top being messy.
> Yes, it mainly comes from the leaf image that contains a long stem. So,
> first thing to do is get rid of that. Secondly, this is where the supporting
> object bends away. It may then be viewpoint-related. I shall have to
> investigate.

Yes POV can make or break an image.

> Fwiw, there are some 6000 leaves here and it took v.3.7 about 5 minutes to
> parse and render on a Pentium D machine. About 30 minutes with v.3.6.
>



Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 22 Feb 2007 03:44:33
Message: <45dd57f1@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> schreef in bericht 
news:web.45dc6fb26a72babbf1cb1e660@news.povray.org...
>
>> Fwiw, there are some 6000 leaves here and it took v.3.7 about 5 minutes 
>> to
>> parse and render on a Pentium D machine. About 30 minutes with v.3.6.
>>
>
> Impressive, it is probable time I upgraded my wife's machine :-)
>

Well, that might be a good idea :-)

However, there are limits still. The same image, with 2000 leaves but with 
four different image_maps choosen randomly (see image), took about 15 
minutes and the hard drive started to protest. You can easily get to the 
limits of your memory that way.

Thomas


Post a reply to this message


Attachments:
Download 'RandomDistribution.jpg' (182 KB)

Preview of image 'RandomDistribution.jpg'
RandomDistribution.jpg


 

From: Stephen
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 22 Feb 2007 14:47:32
Message: <8qsrt21v39lv1eoudo4cupc16ebnaj9c3b@4ax.com>
On Thu, 22 Feb 2007 09:44:27 +0100, "Thomas de Groot" <t.d### [at] internlDOTnet>
wrote:

>However, there are limits still. The same image, with 2000 leaves but with 
>four different image_maps choosen randomly (see image), took about 15 
>minutes and the hard drive started to protest. You can easily get to the 
>limits of your memory that way.

You'll have to get rid of those stalks, Thomas.  :-)
Could you pre-render the leaves and convert them into a mesh so you would only
have to do it once?

Regards
	Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 23 Feb 2007 04:36:45
Message: <45deb5ad@news.povray.org>
"Stephen" <mcavoysATaolDOTcom@> schreef in bericht 
news:8qsrt21v39lv1eoudo4cupc16ebnaj9c3b@4ax.com...
>
> You'll have to get rid of those stalks, Thomas.  :-)
Yes. Well, you know how it is: take a leaf down, trim the stem, put the leaf 
back, take the next leaf down....  :-)

> Could you pre-render the leaves and convert them into a mesh so you would 
> only
> have to do it once?
Shame on me! You put the finger on the sore spot! This is a flagrant case of 
sloppy code writing! I was so stupid to call the image_map for every single 
leaf. No wonder the pc (which is sometimes more intelligent than I am) was 
protesting. Corrected now.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Random points on surface of an object (in advanced-users)
Date: 23 Feb 2007 05:20:01
Message: <web.45debed06a72babbf1cb1e660@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> "Stephen" <mcavoysATaolDOTcom@> schreef in bericht
> news:8qsrt21v39lv1eoudo4cupc16ebnaj9c3b@4ax.com...
> >
> > You'll have to get rid of those stalks, Thomas.  :-)
> Yes. Well, you know how it is: take a leaf down, trim the stem, put the leaf
> back, take the next leaf down....  :-)



> > Could you pre-render the leaves and convert them into a mesh so you would
> > only
> > have to do it once?
> Shame on me! You put the finger on the sore spot! This is a flagrant case of
> sloppy code writing! I was so stupid to call the image_map for every single
> leaf. No wonder the pc (which is sometimes more intelligent than I am) was
> protesting. Corrected now.
>


What did I say? :-)


Stephen


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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