POV-Ray : Newsgroups : povray.binaries.images : Glowing tree #2 - tree.jpg (1/1) Server Time
1 Oct 2024 09:25:45 EDT (-0400)
  Glowing tree #2 - tree.jpg (1/1) (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 9 Sep 2000 20:48:53
Message: <chrishuff-E48F1F.19504209092000@news.povray.org>
In article <39bad815@news.povray.org>, "Tony[B]" 
<ben### [at] panamac-comnet> wrote:

> It looks like you've managed to make the glows finite. Is it so? Have you
> had any success clipping them?

I cheated. It just doesn't calculate the glow amount information outside 
of a certain radius(though it still has to do some of the calculations 
to find the distance). If you choose a radius that is too small, you get 
a sudden circular transition from glow to nothing.
Type 2 glows are finite, though, and I will probably add another two 
finite types.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: ryan constantine
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 10 Sep 2000 01:26:22
Message: <39BB1B87.CF062997@yahoo.com>
no, no ,no.  you said you had to change the tree algorithm.  what
algorithm or tree inc/macro are you using?  i didn't mean what species
of deciduous tree!<g>

Chris Huff wrote:
> 
> In article <39BA9DF9.1A59449C@yahoo.com>, ryan constantine
> <rco### [at] yahoocom> wrote:
> 
> > i think it's time you finished your mods and released it! :)
> 
> Soon. I just finished testing all of the glow scenes, this was the last
> one...I want to make sure everything works this time. :-)
> 
> > btw, what tree is that you're using?
> 
> Not sure what you mean...it's just a tree, not any specific kind. I
> suppose it sort of resembles a plum tree we have, or the dead
> mock-orange tree out front...minus the glowing branch tips, of course.
> 
> --
> Christopher James Huff
> Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
> 
> <><


Post a reply to this message

From: ryan constantine
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 10 Sep 2000 01:29:42
Message: <39BB1C4F.32DEA202@yahoo.com>
are any of the finite types able to occupy only one pixel (or there
abouts)?  i'm looking for sparks at a distance, where they look like
points of light and don't give off much glow halo.

Chris Huff wrote:
> 
> In article <39bad815@news.povray.org>, "Tony[B]"
> <ben### [at] panamac-comnet> wrote:
> 
> > It looks like you've managed to make the glows finite. Is it so? Have you
> > had any success clipping them?
> 
> I cheated. It just doesn't calculate the glow amount information outside
> of a certain radius(though it still has to do some of the calculations
> to find the distance). If you choose a radius that is too small, you get
> a sudden circular transition from glow to nothing.
> Type 2 glows are finite, though, and I will probably add another two
> finite types.
> 
> --
> Christopher James Huff
> Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
> 
> <><


Post a reply to this message

From: Bob Hughes
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 10 Sep 2000 02:16:08
Message: <39bb2728@news.povray.org>
"ryan constantine" <rco### [at] yahoocom> wrote in message
news:39BB1B87.CF062997@yahoo.com...
| no, no ,no.  you said you had to change the tree algorithm.  what
| algorithm or tree inc/macro are you using?  i didn't mean what species
| of deciduous tree!<g>

LOL, that was funny.  Okay, I'm going away now.  :-)

| Chris Huff wrote:
| >
| > In article <39BA9DF9.1A59449C@yahoo.com>, ryan constantine
| > <rco### [at] yahoocom> wrote:
| >
| > > btw, what tree is that you're using?
| >
| > Not sure what you mean...it's just a tree, not any specific kind. I
| > suppose it sort of resembles a plum tree we have, or the dead
| > mock-orange tree out front...minus the glowing branch tips, of course.


Post a reply to this message

From: Chris Huff
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 10 Sep 2000 07:28:21
Message: <chrishuff-F30E4E.06301010092000@news.povray.org>
In article <39BB1C4F.32DEA202@yahoo.com>, ryan constantine 
<rco### [at] yahoocom> wrote:

> are any of the finite types able to occupy only one pixel (or there
> abouts)?  i'm looking for sparks at a distance, where they look like
> points of light and don't give off much glow halo.

They can get pretty close, using type 0, small size, and low cutoff 
radius. The number of pixels still depends on distance unless you use an 
orthographic camera.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Chris Huff
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 10 Sep 2000 07:37:35
Message: <chrishuff-13863F.06392410092000@news.povray.org>
In article <39BB1B87.CF062997@yahoo.com>, ryan constantine 
<rco### [at] yahoocom> wrote:

> no, no ,no.  you said you had to change the tree algorithm.  what
> algorithm or tree inc/macro are you using?  i didn't mean what species
> of deciduous tree!<g>

Oh... :-)
I am not using any include, and I don't think the algorithm has a name, 
it is a simple recursive macro which branches a random number of times 
at each node, and adjusts trunk radius and branch length depending on 
recursion depth. It is made entirely of cones, so if it was well lit, 
you could probably easily see gaps where the branches bend.(If I was 
after a more realistic macro, I would have put spheres at the junctions 
and not used perfectly straight branches, but this macro was designed 
specially for this scene.)
Here is the relevant code for the macro:

#macro SRand(RS) (rand(RS)*2 - 1) #end

#declare TreeTex =
texture {
    pigment {color White}
    finish {
        diffuse 1 ambient 0
        metallic reflect_metallic
    }
}

#declare RsA = seed(48664);
#declare RadScl = 0.75;
#declare LenScl = 0.98;

#macro Rec(Pt, Dir, Rad, Lvl)
    #if(Lvl>0)
        cone {Pt, Rad, Pt+Dir, Rad*RadScl texture {TreeTex}}
        #local J = 0;
        #local N = rand(RsA)*4;
        #while(J<N)
            #if(rand(RsA)<0.9)
                Rec(Pt+Dir, vrotate(Dir, x*SRand(RsA)*45 +
                                         z*SRand(RsA)*45)*LenScl,
                                         Rad*RadScl, Lvl-1)
            #end
            #set J = J + 1;
        #end
    #else
        cone {Pt, Rad, Pt+Dir*0.99, 0 texture {TreeTex}}
    #end
#end

union {
    Rec(< 0, 0, 0>, y*0.5, 0.15, 8)
}

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Jamie Davison
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 10 Sep 2000 08:09:52
Message: <MPG.1424bd89d497f73f9897cb@news.povray.org>
On Sat, 09 Sep 2000 15:13:00 -0500, Chris Huff wrote...
> After slightly improving the tree algorithm and random color generator, 
> making some updates to my patch, and using MegaPOV radiosity...what do 
> you think?
> Number of Glow Sources: 1652
> Render time: 15 minutes.
> Radiosity settings could be vastly improved, I just copied them from 
> some MegaPOV demo scene...

I don't know...  

I kind of liked the soft-focus effect the old image had.

Is there any way to re-enable the old glow method?

Bye for now,
     Jamie.


Post a reply to this message

From: Chris Huff
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 10 Sep 2000 08:40:07
Message: <chrishuff-48F914.07415510092000@news.povray.org>
In article <MPG.1424bd89d497f73f9897cb@news.povray.org>, 
jam### [at] dh70qdu-netcom (Jamie Davison) wrote:

> I kind of liked the soft-focus effect the old image had.

The old image didn't have radiosity, and the glows had an infinite 
radius.


> Is there any way to re-enable the old glow method?

Yes, simply don't specify a radius or specify a larger one. It will be a 
bit slower, though, since it won't be able to skip calculating glows 
further away.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 12 Sep 2000 09:06:53
Message: <39BE2934.BF0C2E3E@my-dejanews.com>
This is neat for the effect you were attempting here, but I'd like to see
the tree as a "tree."

Chris Huff wrote:

> After slightly improving the tree algorithm and random color generator,


Post a reply to this message

From: Chris Huff
Subject: Re: Glowing tree #2 - tree.jpg (1/1)
Date: 12 Sep 2000 17:41:40
Message: <chrishuff-367835.16433312092000@news.povray.org>
In article <39BE2934.BF0C2E3E@my-dejanews.com>, 
gre### [at] my-dejanewscom wrote:

> This is neat for the effect you were attempting here, but I'd like to see
> the tree as a "tree."

I don't know what you mean...it *is* a tree.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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