POV-Ray : Newsgroups : povray.binaries.images : 3d-Mosaic Server Time
2 Nov 2024 07:23:20 EDT (-0400)
  3d-Mosaic (Message 1 to 10 of 19)  
Goto Latest 10 Messages Next 9 Messages >>>
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

Goto Latest 10 Messages Next 9 Messages >>>

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