POV-Ray : Newsgroups : povray.binaries.images : Bathtub - take 2 Server Time
1 Aug 2024 18:24:48 EDT (-0400)
  Bathtub - take 2 (Message 61 to 65 of 65)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: Bathtub - take 2
Date: 24 Dec 2008 04:11:25
Message: <4951fcbd$1@news.povray.org>
I confess I lost my way along the road....

I can reproduce the water code without a problem, but the pool is beyond me 
now. Somewhere I lost pieces of code. Could you re-post the complete pool 
code as it stands now, please?  Thanks!!

Thomas


Post a reply to this message

From: alphaQuad
Subject: Re: Bathtub - take 2
Date: 24 Dec 2008 22:10:00
Message: <web.4952f8346655db18112f56370@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> I confess I lost my way along the road....
>
> I can reproduce the water code without a problem, but the pool is beyond me
> now. Somewhere I lost pieces of code. Could you re-post the complete pool
> code as it stands now, please?  Thanks!!
>
> Thomas

There were 3 "boxUV" where the second and third evolved for the pure brain-wave
patterns of TgQ.

I decided to go with the 3rd, "TQ_BoxUV".



///////////////////////////////////////////////////// TgQ
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#declare normhf = 0;
#include "TQ_water.pov"



#declare BSiz=<240,72,240>; // box size
#declare TilSiz=<4,8,1>;    //Size of tile (x,y)
#declare Grt=0.5;         //Width of grout
#declare TilCol=rgb <.6,.6,1>;  //Tile colour
#declare GrtCol=rgb 1;

#include "TQ_BoxUV.pov"
#declare pool_box_CSG =
difference {
    box { <-8, -72, -8> <232, 0, 232> } // legoworld hole  +8
    box { <0, -64, 0> <224, 1, 224> }
    texture { TQ_BoxUV basic_finish }
    translate <-8,0,-8>
}


#declare BSiz=<8,72,232>;
#include "TQ_BoxUV.pov"

#declare pool_box =
union {
   box { 0 <8,72,232> texture { TQ_BoxUV basic_finish } translate <-16,-72,-8> }
   box { 0 <8,72,232> texture { TQ_BoxUV basic_finish } rotate y*90 translate
<-8,-72,224> }
   box { 0 <8,72,232> texture { TQ_BoxUV basic_finish } translate <216,-72,-8> }
   box { 0 <8,72,232> texture { TQ_BoxUV basic_finish } rotate y*90 translate
<-16,-72,-8> }
   //floor
   #declare BSiz=<240, 240, 8>;
   #include "TQ_BoxUV.pov"
   box { 0 <240, 240, 8> texture { TQ_BoxUV basic_finish } rotate x*90
translate <-16,-64,-16> }
}
//object { pool_box translate y*4 }
///////////////////////////////////////////////////// TgQ
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


#declare pool =
union {
   object { pool_box }
   #if (normhf) object { TQ_water_hf }
   #else object { TQ_water_n }
   #end
   object { beachball scale 8.5 rotate z*45 rotate y*-55 translate <53,6.3,100>
} //<30,6.5,55> }
   translate y*4
}


Post a reply to this message


Attachments:
Download 'magician_tq.zip' (2 KB)

From: alphaQuad
Subject: Re: Bathtub - take 2
Date: 24 Dec 2008 23:30:01
Message: <web.49530bf26655db18112f56370@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> I confess I lost my way along the road....
>
> I can reproduce the water code without a problem, but the pool is beyond me
> now. Somewhere I lost pieces of code. Could you re-post the complete pool
> code as it stands now, please?  Thanks!!
>
> Thomas


The previous pool is in an earlier poolscene in legolib.zip:
http://home.earthlink.net/~openuniverse/

Intending, to update the scene in that file to include a road without 49
legoRoad warnings and my Rune adaptation,
including laser.inc
including hash.inc
including triangulation.inc

$Christmas slowing me down.
I hear it is really Nimrods birthday!

I think even darker finish than anything before looks better, what do you think?
(for the road) ambient 0.08 phong .3 phong_size 450 roughness 0.05 reflection
0.05
(rgb .887)


Post a reply to this message


Attachments:
Download 'lego_pool_04d.png' (678 KB)

Preview of image 'lego_pool_04d.png'
lego_pool_04d.png


 

From: Thomas de Groot
Subject: Re: Bathtub - take 2
Date: 25 Dec 2008 03:11:59
Message: <4953404f$1@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> schreef in bericht 
news:web.49530bf26655db18112f56370@news.povray.org...
> $Christmas slowing me down.
> I hear it is really Nimrods birthday!
>

I don't know about Nimrod, but certainly Mithra's.

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Bathtub - take 2
Date: 25 Dec 2008 03:15:24
Message: <4953411c$1@news.povray.org>
Thank you very much, Trevor and you. I am going to study this, at least to 
learn something about building this kind of code. Never too old to make 
those little grey cells do a bit of work out :-)

Thomas


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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