POV-Ray : Newsgroups : povray.binaries.images : Tunnel (WIP #2) Server Time
18 Aug 2024 10:19:59 EDT (-0400)
  Tunnel (WIP #2) (Message 1 to 4 of 4)  
From: Thomas Lake
Subject: Tunnel (WIP #2)
Date: 15 May 2001 03:14:27
Message: <3b00d753@news.povray.org>
I played around with isosurfaces for the floor, but I really don't have a
good idea how they work, and also the render time would have gone through
the roof. I also tried to put some heightfield mountains in the scene but I
just couldn't get the scaling right, the end of the tunnel is 200 units away
so it makes sense to play the heightfield far away, more than 1000 units,
but I couldn't get it to look right. Despite these problems and a few others
I have made some progress. The script now automatically creates the mortar
and I have randomly rotated the floor tiles, too much perhaps. One thing I
would like to do would be to randomly add some grass/plants in the cracks on
the floor. I'm not sure quite how to do this. It would be nice if I could
have more plants near the walls of the tunnel, but to do this I would need
some form of a probability function, that would make the likelihood of a
plant appearing greater as you approached the walls. Does anyone know how I
could do this, and at the same time restrict the plants to the mortar
spaces?

I used MegaPov radiosity and an arealight here.


Post a reply to this message


Attachments:
Download 'Tunnel 2.JPG' (68 KB)

Preview of image 'Tunnel 2.JPG'
Tunnel 2.JPG


 

From: Zeger Knaepen
Subject: Re: Tunnel (WIP #2)
Date: 15 May 2001 09:01:22
Message: <3b0128a2$1@news.povray.org>
I love the floor, I don't like the background, and it looks like the mortar has
an ambient-setting higher than 0...


cu!

--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: Shay
Subject: Re: Tunnel (WIP #2)
Date: 15 May 2001 10:03:19
Message: <3b013727@news.povray.org>
SFSG. Maybe try a slightly rolling heightfield of mossy mud just high enough
to fill in the cracks in the lowest parts of the floor and cover the lowest
parts of the floor tiles.

 -Shay

Thomas Lake <tla### [at] homecom> wrote in message
news:3b00d753@news.povray.org...
> I played around with isosurfaces for the floor, but I really don't have a
> good idea how they work, and also the render time would have gone through
> the roof. I also tried to put some heightfield mountains in the scene but
I
> just couldn't get the scaling right, the end of the tunnel is 200 units
away
> so it makes sense to play the heightfield far away, more than 1000 units,
> but I couldn't get it to look right. Despite these problems and a few
others
> I have made some progress. The script now automatically creates the mortar
> and I have randomly rotated the floor tiles, too much perhaps. One thing I
> would like to do would be to randomly add some grass/plants in the cracks
on
> the floor. I'm not sure quite how to do this. It would be nice if I could
> have more plants near the walls of the tunnel, but to do this I would need
> some form of a probability function, that would make the likelihood of a
> plant appearing greater as you approached the walls. Does anyone know how
I
> could do this, and at the same time restrict the plants to the mortar
> spaces?
>
> I used MegaPov radiosity and an arealight here.
>
>
>


Post a reply to this message

From: Christoph Hormann
Subject: Re: Tunnel (WIP #2)
Date: 15 May 2001 11:20:52
Message: <3B0149AF.4B53E98D@gmx.de>
Thomas Lake wrote:
> 
> I played around with isosurfaces for the floor, but I really don't have a
> good idea how they work, and also the render time would have gone through
> the roof. I also tried to put some heightfield mountains in the scene but I
> just couldn't get the scaling right, the end of the tunnel is 200 units away
> so it makes sense to play the heightfield far away, more than 1000 units,
> but I couldn't get it to look right. Despite these problems and a few others
> I have made some progress. The script now automatically creates the mortar
> and I have randomly rotated the floor tiles, too much perhaps. 

The floor looks quite good IMO, the walls are a bit strange though: they
are very straight in total, but the position of the single bricks varies
extremely.  Also the mortar seems too bright in the shadow.  

> One thing I
> would like to do would be to randomly add some grass/plants in the cracks on
> the floor. I'm not sure quite how to do this. 

Just choose random positions and round to the nearest gap in one
direction.  

> It would be nice if I could
> have more plants near the walls of the tunnel, but to do this I would need
> some form of a probability function, that would make the likelihood of a
> plant appearing greater as you approached the walls. Does anyone know how I
> could do this, and at the same time restrict the plants to the mortar
> spaces?

You can achieve different propabilities by using things like:

#if(rand(Seed)<0.2)

This example would give a propability of 1/5.

Normally you would not need such constructions, because you can simply
influence the total number of plants in one section.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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