POV-Ray : Newsgroups : povray.binaries.images : 3d-Mosaic Server Time
18 Oct 2026 03:53:34 EDT (-0400)
  3d-Mosaic (Message 1 to 19 of 19)  
From: Thies Heidecke
Subject: 3d-Mosaic
Date: 28 Dec 2001 08:20:49
Message: <3c2c71b1@news.povray.org>
Hi,

I've made a picture with a 3dmosaic-macro i wrote and i think it looks
interesting.
The macro divides a box in space into unisized cubes and tests each cube if
it is in
a particular object. it can take several samples per cube if wished. then it
only creates
those cubes which are partially inside and partially outside the object.
It's a bit like
the marching-cubes algo but without triangulation. each vube which is
created is a
superellipsoid which size and shape is dependant on how many samples were in
the
object. The scene uses radiosity and an area-light. The object is an
isosurface.
Rendertime was 90 hours on my celeron 400. If i had known this before i
hadn't
rendered it at all : ]
I would appreciate comments and suggestions on this.

    Thies Heidecke


Post a reply to this message


Attachments:
Download 'iso_mosaic.jpg' (158 KB)

Preview of image 'iso_mosaic.jpg'
iso_mosaic.jpg


 

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 08:22:54
Message: <3c2c722e@news.povray.org>
sorry for the too long rows : /


Post a reply to this message

From: Francois Labreque
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 08:28:57
Message: <3C2C71D8.3070704@videotron.ca>
Thies Heidecke wrote:

> Hi,
> 
> I would appreciate comments and suggestions on this.


What are these blotches on the walls and floor?

Very nice pic, BTW.
-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 08:55:20
Message: <3c2c79c8$1@news.povray.org>
Hi Francois,

> What are these blotches on the walls and floor?

I've added some turbulence to the checker-pigment.
The pigment block is like this:
pigment {
    checker color rgb 1 color rgb <0.4,0.2,0.01>
    turbulence 0.0015
}

> Very nice pic, BTW.

Thanks : )

    Thies Heidecke


Post a reply to this message

From: Andrew
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 10:13:16
Message: <3c2c8c0c$1@news.povray.org>
> The macro divides a box in space into unisized cubes and tests each
cube if
> it is in
> a particular object. it can take several samples per cube if wished.
then it
> only creates
> those cubes which are partially inside and partially outside the
object.

How?  Do you use the trace function?

Very nice indeed.  When you have a faster computer, make the cubes out
of glass, put a light inside it, and render with photons :)


Post a reply to this message

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 11:39:16
Message: <3c2ca034@news.povray.org>
Hi Andrew,

> How?  Do you use the trace function?

I use the inside-function to test if a point is inside the object.
If anyone is interested in the source i'll post it.

> Very nice indeed.  When you have a faster computer, make the cubes out
> of glass, put a light inside it, and render with photons :)

Thanks. Argh. Although I'll upgrade my computer soon (Duron 700 =) )
this would be pure overkill =] but If anyone of you has too much
idle-time...
I'd be interested in the result : ]

Greetings
    Thies Heidecke


Post a reply to this message

From: Gleb
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 13:13:30
Message: <3c2cb64a@news.povray.org>
Hi,

> I use the inside-function to test if a point is inside the object.
> If anyone is interested in the source i'll post it.

Yes, please. Been attracted by the beauty of such objects, I'm interested.

> > Very nice indeed.  When you have a faster computer, make the cubes out
> > of glass, put a light inside it, and render with photons :)
>
> Thanks. Argh. Although I'll upgrade my computer soon (Duron 700 =) )
> this would be pure overkill =] but If anyone of you has too much
> idle-time...
> I'd be interested in the result : ]

I can't say that I have too much idle-time,
but it's possible to try. :)

wbr,

 gleb


Post a reply to this message

From: Ian Burgmyer
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 22:34:16
Message: <3c2d39b8@news.povray.org>
"Thies Heidecke" <h3i### [at] gmxnet> wrote in message
news:3c2c71b1@news.povray.org...
> Hi,
>
> I've made a picture with a 3dmosaic-macro i wrote and i think it looks
> interesting.

Wow!  This looks very cool.

I think it would look very interesting with that glass/photons idea, but
that'd be pushing it :-)

Maybe if someone has an extra system...hmm...

Actually, after I get my Mac (should arrive in a few days), I might be able
to render it on my P2-400 if you make the necessary changes in the scene
file.  Be prepared to wait a few years while it renders, though ;-)

--
#macro S(M)cylinder{E(M)<A,C,5>,<B,D,5>,.1,15}#end#macro E(P)#if(div(P,16)
)#declare B=-1;#declare D=-2;#end#if(div(P,32))#declare A=1;#declare C=0;#
end#if(div(P,64))#declare B=-1;#declare D=0;#end#if(div(P,128))#declare A=
1;#declare C=2;#end#end blob{S(192)S(96)S(48)pigment{rgb 8*z}} /** Ian **/


Post a reply to this message

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 28 Dec 2001 23:34:22
Message: <3c2d47ce@news.povray.org>
I posted the scene-file (after major cleanup and some improvements) in
p.b.s-f
if u want the photon-overkill-scene =) turn photons and centerlight on with
the
declares at the beginning, change texture to texture{ glass }and uncomment
the interior statement.

Greetings
    Thies Heidecke


Post a reply to this message

From: Andrew
Subject: Re: 3d-Mosaic
Date: 29 Dec 2001 05:19:01
Message: <3c2d9895@news.povray.org>
> > How?  Do you use the trace function?
>
> I use the inside-function to test if a point is inside the object.
> If anyone is interested in the source i'll post it.

Uh, oh yeah!  I'd forgotten all about the inside function :-)  Guess I'd
better keep reading the helpfile...


Post a reply to this message

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 29 Dec 2001 10:46:09
Message: <3c2de541@news.povray.org>
Hi Ian,

> Wow!  This looks very cool.
Thanks very much : )

> Actually, after I get my Mac (should arrive in a few days), I might be
able
> to render it on my P2-400 if you make the necessary changes in the scene
> file.  Be prepared to wait a few years while it renders, though ;-)

I've posted the scenefile in p.b.s-f so if you like you can render it. I
would be
interested in the outcome.(2 months later...) =]

Greetings
    Thies Heidecke


Post a reply to this message

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 29 Dec 2001 10:47:27
Message: <3c2de58f$1@news.povray.org>
Hi Gleb,

> > I use the inside-function to test if a point is inside the object.
> > If anyone is interested in the source i'll post it.
>
> Yes, please. Been attracted by the beauty of such objects, I'm interested.
I've posted the .pov-file in p.b.s-f

Greetings
    Thies Heidecke


Post a reply to this message

From: Ian Burgmyer
Subject: Re: 3d-Mosaic
Date: 30 Dec 2001 22:07:32
Message: <3c2fd674@news.povray.org>
"Thies Heidecke" <h3i### [at] gmxnet> wrote in message
news:3c2de541@news.povray.org...
> > Actually, after I get my Mac (should arrive in a few days), I might be
> able
> > to render it on my P2-400 if you make the necessary changes in the scene
> > file.  Be prepared to wait a few years while it renders, though ;-)
>
> I've posted the scenefile in p.b.s-f so if you like you can render it. I
> would be
> interested in the outcome.(2 months later...) =]

Okay :-)

I'll have to give it a go after my new computer arrives (I can't wait I
can't wait).  Mind if I post the result here when (if) it gets done?  ;-)

--
#macro S(M)cylinder{E(M)<A,C,5>,<B,D,5>,.1,15}#end#macro E(P)#if(div(P,16)
)#declare B=-1;#declare D=-2;#end#if(div(P,32))#declare A=1;#declare C=0;#
end#if(div(P,64))#declare B=-1;#declare D=0;#end#if(div(P,128))#declare A=
1;#declare C=2;#end#end blob{S(192)S(96)S(48)pigment{rgb 8*z}} /** Ian **/


Post a reply to this message

From: David Fontaine
Subject: Re: 3d-Mosaic
Date: 2 Jan 2002 01:33:37
Message: <3C32AA97.7F0ABB1E@faricy.net>
Cool, reminds me of those things with a bunch of pins where you can
stick something behind it and make a relief.  It might be interesting to
rotate the cube lattice relative to the object you're sampling; as is
they're oriented the same way.

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


Post a reply to this message

From: Hartmut Wagener
Subject: Re: 3d-Mosaic
Date: 2 Jan 2002 16:23:19
Message: <3c337a47@news.povray.org>
Yes, an animation would be cool, but i think that rendering and of course
parsing-time will be awful ...

Hartmut

"David Fontaine" <dav### [at] faricynet> schrieb im Newsbeitrag
news:3C32AA97.7F0ABB1E@faricy.net...
> Cool, reminds me of those things with a bunch of pins where you can
> stick something behind it and make a relief.  It might be interesting to
> rotate the cube lattice relative to the object you're sampling; as is
> they're oriented the same way.
>
> --
> David Fontaine  <dav### [at] faricynet>  ICQ 55354965
> My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 2 Jan 2002 16:57:55
Message: <3c338263@news.povray.org>
Hi David,

> Cool, reminds me of those things with a bunch of pins where you can
> stick something behind it and make a relief.
Yeah, I had this idea, too : )
> It might be interesting to
> rotate the cube lattice relative to the object you're sampling; as is
> they're oriented the same way.
I've made a pic where the orientation of the mosaic is rotated while
the object is unchanged. I used a rotated version of the object for the
Mosaic and rotated it back after mosaic. Perhaps I'll do an animation
in the near future, but the parsetime is quite long, even with this few
cubes. (Parsetime was about 4 minutes).

Greetings
    Thies Heidecke

Here's the pic:


Post a reply to this message


Attachments:
Download '3D_Mosaic_2.jpg' (72 KB)

Preview of image '3D_Mosaic_2.jpg'
3D_Mosaic_2.jpg


 

From: Hartmut Wagener
Subject: Re: 3d-Mosaic
Date: 2 Jan 2002 17:26:03
Message: <3c3388fb@news.povray.org>
An animation would be great, but will take a wile ...
Keep on rendering, this looks cool ...

Hartmut

"Thies Heidecke" <h3i### [at] gmxnet> schrieb im Newsbeitrag
news:3c338263@news.povray.org...
> Hi David,
>
> > Cool, reminds me of those things with a bunch of pins where you can
> > stick something behind it and make a relief.
> Yeah, I had this idea, too : )
> > It might be interesting to
> > rotate the cube lattice relative to the object you're sampling; as is
> > they're oriented the same way.
> I've made a pic where the orientation of the mosaic is rotated while
> the object is unchanged. I used a rotated version of the object for the
> Mosaic and rotated it back after mosaic. Perhaps I'll do an animation
> in the near future, but the parsetime is quite long, even with this few
> cubes. (Parsetime was about 4 minutes).
>
> Greetings
>     Thies Heidecke
>
> Here's the pic:
>
>
>
>


Post a reply to this message

From: Thies Heidecke
Subject: Re: 3d-Mosaic
Date: 3 Jan 2002 19:13:04
Message: <3c34f390@news.povray.org>
"Hartmut Wagener" <har### [at] t-onlinede>  wrote :
news:3c3388fb@news.povray.org...
> An animation would be great, but will take a wile ...
> Keep on rendering, this looks cool ...
>
> Hartmut

My computer finally finished the animation. It consists of
80 frames. Each took about 15 min to render. I hope you
like it : )
You can d/l the file in p.b.a

Thies Heidecke


Post a reply to this message

From: David Fontaine
Subject: Re: 3d-Mosaic
Date: 5 Jan 2002 23:37:53
Message: <3C37D57A.E5FFDF47@faricy.net>
Cool, it looks springy or under torsion.  The corner at top left in the
pic looks like a scroll decoration too.

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


Post a reply to this message

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