POV-Ray : Newsgroups : povray.binaries.images : cuboids (36 KB jpeg) Server Time
12 Aug 2024 05:22:54 EDT (-0400)
  cuboids (36 KB jpeg) (Message 1 to 6 of 6)  
From: Alex Kluchikov
Subject: cuboids (36 KB jpeg)
Date: 13 Nov 2003 19:58:05
Message: <1103_1068771469@news.povray.org>
Hello.
 Just for fun. Look at interesting objects I've got. Every cuboid is an intersection
of three orthogonal tori:

 intersection{
  torus{.5,.5}
  torus{.5,.5 rotate x*90}
  torus{.5,.5 rotate z*90}
  }
 
Quite simple, right?

Sincerely yours, Alex Kluchikov.


Post a reply to this message


Attachments:
Download 'cuboids.jpg' (37 KB)

Preview of image 'cuboids.jpg'
cuboids.jpg


 

From: JANWV
Subject: Re: cuboids (36 KB jpeg)
Date: 14 Nov 2003 02:38:08
Message: <3fb48660@news.povray.org>
nice effect, but are you able to control the location of the cornerpoints?
I have made a similar shape using 6 spheres. I was able to fix the corner
points, and have a macro alter the radius of the spheres. I'll try to find
the file and render it.

JWV

"Alex Kluchikov" <klk### [at] ukrnet> wrote in message
news:1103_1068771469@news.povray.org...
> Hello.
>  Just for fun. Look at interesting objects I've got. Every cuboid is an
intersection of three orthogonal tori:
>
>  intersection{
>   torus{.5,.5}
>   torus{.5,.5 rotate x*90}
>   torus{.5,.5 rotate z*90}
>   }
>
> Quite simple, right?
>
> Sincerely yours, Alex Kluchikov.
>


Post a reply to this message

From: JANWV
Subject: Re: cuboids (36 KB jpeg)
Date: 14 Nov 2003 02:42:38
Message: <3fb4876e$1@news.povray.org>
> I'll try to find the file and render it.

this seems to be taking a while since the file is on a CD which about 200 km
away from me now. next week i''l be within range, so then you can expect it.

JWV


"JANWV" <jwv|at|planet.nl> wrote in message news:3fb48660@news.povray.org...
> nice effect, but are you able to control the location of the cornerpoints?
> I have made a similar shape using 6 spheres. I was able to fix the corner
> points, and have a macro alter the radius of the spheres. I'll try to find
> the file and render it.
>
> JWV
>
> "Alex Kluchikov" <klk### [at] ukrnet> wrote in message
> news:1103_1068771469@news.povray.org...
> > Hello.
> >  Just for fun. Look at interesting objects I've got. Every cuboid is an
> intersection of three orthogonal tori:
> >
> >  intersection{
> >   torus{.5,.5}
> >   torus{.5,.5 rotate x*90}
> >   torus{.5,.5 rotate z*90}
> >   }
> >
> > Quite simple, right?
> >
> > Sincerely yours, Alex Kluchikov.
> >
>
>


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: cuboids (36 KB jpeg)
Date: 14 Nov 2003 03:25:59
Message: <3fb49197@news.povray.org>
Alex Kluchikov <klk### [at] ukrnet> wrote in
news:1103_1068771469@news.povray.org: 

>  Hello.
>  Just for fun. Look at interesting objects I've got. Every cuboid is
>  an intersection of three orthogonal tori: 
> 
>  intersection{
>   torus{.5,.5}
>   torus{.5,.5 rotate x*90}
>   torus{.5,.5 rotate z*90}
>   }
...


That's an interesting shape.

What texture did you use ?


I too once played with tori intersections:

http://news.povray.org/search/?s=%22Another+Quiz%22
("Another Quiz" posted to this group 10. May 2000)


Tor Olav


Post a reply to this message

From: Alex Kluchikov
Subject: Re: cuboids (36 KB jpeg)
Date: 14 Nov 2003 16:25:01
Message: <web.3fb547a970ae0bde6c49c33b0@news.povray.org>
Hello again.

Tor Olav Kristensen wrote:
>That's an interesting shape.
>
>What texture did you use ?
>

The texture is simple:
//=== Start
texture{pigment{color rgb .75}
  finish{diffuse 0.85 ambient 0 specular 0.8 roughness 0.03 phong 1.0
brilliance 7.3 phong_size 80  metallic .5
   reflection{0.6,1.0 metallic}}
  }
//=== End

The trick is in lighting and environment. I mean, the scene contains
invisible and shadowless sphere around, with radius about thousands and
with chrome-like texture, here the code:

//=== Start
sphere{0,1000
 texture{
  pigment{
   gradient y color_map{
    [0,color rgb <0.8,0.83,1>]
    [1,color rgb <0.4,0.7,1>]
    }scale 2 translate -y}finish{ambient 1}scale 1000}

texture{
 pigment{average pigment_map{
 #declare gr=.5;
 #declare ge=3/(1+gr+gr);
 #declare t1=.1;
 #declare t2=.9;
 #declare tr1=.2;
 #declare tr2=.2;
  [1,bozo translate 1*y color_map{
   [t1,color rgbt < 1,gr,gr,tr1>*ge]
   [t2,color rgbt < 0, 0, 0,tr2>*ge]
  }]
  [1,bozo translate 1*z color_map{
   [t1,color rgbt < gr, 1,gr,tr1>*ge/.85]
   [t2,color rgbt <  0, 0, 0,tr2>*ge]
  }]
  [1,bozo translate 1*x color_map{
   [t1,color rgbt < gr,gr, 1,tr1>*ge/.7]
   [t2,color rgbt <  0, 0, 0,tr2>*ge]
  }]

 }}scale 0.25 finish{ambient 1 diffuse 0}scale 2500}

 no_shadow
 no_image
 hollow double_illuminate scale 100}
//=== End

 I put this sphere in every scene with metallic or other high-reflective
surface.

And two colored lights - yellow and sky-blue used to improve realism:

//=== Begin
light_source{
 -35*z, color rgb <1.0,0.8,0.6>*0.55
 parallel
 rotate x*25 rotate -y*15
 }

light_source{
 -35*z, color rgb <0.6,0.8,1>*0.55
 parallel
 rotate x*-25 rotate y*15
 }
//=== End

So, I discovered all my secrets :)

Sincerely yours, Alex Kluchikov.


Post a reply to this message

From:  Light Beam 
Subject: Re: cuboids (36 KB jpeg)
Date: 15 Nov 2003 12:54:53
Message: <3fb6686d$1@news.povray.org>
Good modelling idea !


Post a reply to this message

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