POV-Ray : Newsgroups : povray.binaries.images : Wot no superellipsoids? - Boz_1.jpg Server Time
19 Aug 2024 16:20:27 EDT (-0400)
  Wot no superellipsoids? - Boz_1.jpg (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: David Wilkinson
Subject: Wot no superellipsoids? - Boz_1.jpg
Date: 29 Oct 2000 15:13:58
Message: <d20pvs0fm3o64uvrv09m55v92tvak2nv84@4ax.com>
My first try at isosurfaces. Just a single pigment on the bricks and noise3d to
gives a rustic brick appearance.  There are plenty of brick wall macros around,
but they tend to have long rendering times so I thought I would try to devise an
Isosurface representation.  The functions used to create the recessed joints are
also used to define the pigment for the bricks and the mortar.
The code used in this wall is available on my website.

rendering time:-  800x600 aa 0.3  took 27m 21s on my PII 350 

The character looking over the wall was popular in the UK in the 40s when
everything was in short supply, with the tag "Wot no ****" 
Thanks to Quadhall for the spiral Isosurface and to Samuel T Benge and Mike
Williams for their Isosurface tutors.
----------------------
dav### [at] hamiltonitecom
http://hamiltonite.com/


Post a reply to this message


Attachments:
Download 'Boz_1.jpg' (57 KB)

Preview of image 'Boz_1.jpg'
Boz_1.jpg


 

From: Steve
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 29 Oct 2000 19:24:04
Message: <slrn8vpe86.9j4.steve@zero-pps.localdomain>
This looks good, but the vertical section of mortar seems to have
a harsh/dark shadow that doesn't look right, I'm talking about
the lower section, not the top course of upended bricks which 
doesn't have the shadow I'm talking about. 

-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

 11:15pm  up 19 days,  1:36,  3 users,  load average: 1.00, 1.01, 1.00


Post a reply to this message

From: David Fontaine
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 29 Oct 2000 20:44:22
Message: <39FCD239.994DC6CE@faricy.net>
Steve wrote:

> This looks good, but the vertical section of mortar seems to have
> a harsh/dark shadow that doesn't look right, I'm talking about
> the lower section, not the top course of upended bricks which
> doesn't have the shadow I'm talking about.

Looks like it's just the lighting making the shadows overlap.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: David Wilkinson
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 30 Oct 2000 09:26:06
Message: <lo0rvso0rlhntei7gkm1hesrg1fir03buo@4ax.com>
On Sun, 29 Oct 2000 19:43:21 -0600, David Fontaine <dav### [at] faricynet> wrote:

>Steve wrote:
>
>> This looks good, but the vertical section of mortar seems to have
>> a harsh/dark shadow that doesn't look right, I'm talking about
>> the lower section, not the top course of upended bricks which
>> doesn't have the shadow I'm talking about.
>
>Looks like it's just the lighting making the shadows overlap.

You're right David.  The first of the attached  images uses a wider joint to
avoid the overlap and show that the joint surface is complete.  The second image
shows the effect of  a negative depth of joint - good for POV Waffles?
Both images show that the isosurface is tending to have problems at the edge of
the bricks - not surprising as there is an instantaneous change of slope there.
----------------------
dav### [at] hamiltonitecom
http://hamiltonite.com/


Post a reply to this message


Attachments:
Download 'IsoBrick2.jpg' (17 KB) Download 'IsoWaffle.jpg' (16 KB)

Preview of image 'IsoBrick2.jpg'
IsoBrick2.jpg

Preview of image 'IsoWaffle.jpg'
IsoWaffle.jpg


 

From: Sander
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 30 Oct 2000 15:51:44
Message: <MPG.1466acd76285e3199896a3@news.povray.org>
in povray.binaries.images, David Wilkinson says...
> My first try at isosurfaces. Just a single pigment on the bricks and noise3d to
> gives a rustic brick appearance.  There are plenty of brick wall macros around,
> but they tend to have long rendering times so I thought I would try to devise an
> Isosurface representation.  The functions used to create the recessed joints are
> also used to define the pigment for the bricks and the mortar.
> The code used in this wall is available on my website.
> 
> rendering time:-  800x600 aa 0.3  took 27m 21s on my PII 350 
> 
> The character looking over the wall was popular in the UK in the 40s when
> everything was in short supply, with the tag "Wot no ****" 
> Thanks to Quadhall for the spiral Isosurface and to Samuel T Benge and Mike
> Williams for their Isosurface tutors.
> ----------------------
> dav### [at] hamiltonitecom
> http://hamiltonite.com/
> 
David, would it be possible to have your code modified in such a way that 
the length of the bricks vary a little randomly? Just to use it in making 
a not too regulat floor...
-- 
Regards,  Sander


Post a reply to this message

From: David Wilkinson
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 30 Oct 2000 17:55:19
Message: <6isrvskljb1po5hs5mq7jblkiof14vs3kk@4ax.com>
On Mon, 30 Oct 2000 21:53:05 +0100, Sander <san### [at] stolscom> wrote:
>> 
>David, would it be possible to have your code modified in such a way that 
>the length of the bricks vary a little randomly? Just to use it in making 
>a not too regulat floor...

Hi Sander, this would be a good modification but I can't see a way to do it.  As
far as I can see there is no random function available in an isosurface.  (On
the other hand it must be possible to cook one up using clock, in fact IIRC
someone has suggested this.) 

The functions I have devised use <sin> to get a repeating pattern (modulus is
not available) and it took me quite a bit of head scratching and experimentation
to avoid color reversals at the junctions of the joints and yet have variable
width joints.  This is one of the three functions I have used;
{if(ceil(sin(pi*x+pi/2)-sin((pi/2)*(1-GROUT)))|ceil(sin(pi*(y+1))-sin(GROUT*pi/2)),Recess,0)}
Where GROUT is the thickness of the joints and Recess is the depth of the
groove.

To make these functions randomly variable, whilst avoiding color reversals would
be tricky even if a random function was available  It looks as if you will have
to use individual bricks if you want random variation :-(

Another desirable modification would be to get a random element in the
pigmentation, but again I have not yet been able to think of a way to do this.
Suggestions gratefully received :-)
----------------------
dav### [at] hamiltonitecom
http://hamiltonite.com/


Post a reply to this message

From: GrimDude
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 30 Oct 2000 18:47:33
Message: <39fe0895@news.povray.org>
..enough already,..you're killing me!

Grim


Post a reply to this message

From: David Fontaine
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 30 Oct 2000 23:35:33
Message: <39FE4BDA.5D431970@faricy.net>
Sander wrote:

> David, would it be possible to have your code modified in such a way that
> the length of the bricks vary a little randomly? Just to use it in making
> a not too regulat floor...

I wouldn't know, I didn't write it.



HAHAHAHA

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Jérôme M  Berger
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 31 Oct 2000 04:58:14
Message: <39FE97B3.1AB4C9F@enst.fr>
David Wilkinson wrote:
> 
> To make these functions randomly variable, whilst avoiding color reversals would
> be tricky even if a random function was available  It looks as if you will have
> to use individual bricks if you want random variation :-(
> 
	Wouldn't something like that work?

(sin((x+(floor(y)%2)/2)*2*pi)+0.9+noise3d(x, 0, 0)*0.1) *
(sin(2*y*2*pi)+0.9) * z

	(with a threshol of 0)

	Completely untested though...

	OTOH, you do have a "random" function (noise3d) and a modulus funtion
(it's written %) in isosurfaces


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

From: David Wilkinson
Subject: Re: Wot no superellipsoids? - Boz_1.jpg
Date: 31 Oct 2000 17:33:34
Message: <3qhuvsgusrj4h9i3rg0rvplkp42jkir32k@4ax.com>

wrote:

>
>	Wouldn't something like that work?
>
>(sin((x+(floor(y)%2)/2)*2*pi)+0.9+noise3d(x, 0, 0)*0.1) *
>(sin(2*y*2*pi)+0.9) * z
>
>	(with a threshol of 0)
>
>	Completely untested though...
>
>	OTOH, you do have a "random" function (noise3d) and a modulus funtion
>(it's written %) in isosurfaces
>
Thanks Jerome,  I didn't know about the % (or had forgotten :-) and as you say
noise3d is a random function.  Tried your function and it has bugs but could be
made to work.  I have other ideas now and am about to give them a try.
----------------------
dav### [at] hamiltonitecom
http://hamiltonite.com/


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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