POV-Ray : Newsgroups : povray.binaries.images : Bathtub - take 2 Server Time
1 Aug 2024 10:16:37 EDT (-0400)
  Bathtub - take 2 (Message 46 to 55 of 65)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: alphaQuad
Subject: Re: Bathtub - take 2
Date: 20 Dec 2008 22:05:01
Message: <web.494db1786655db189963dd650@news.povray.org>
"Cousin Ricky" <ric### [at] yahoocom> wrote:
>
> > I doubt anyone can.
>
> Very fragile generalization.
>
you got me, I'm smarter than that, I was fishing and caught a bite

whoa both my fav water ppl in one day.

this is Cousin Ricky absorption, as they all have been
but now with the HF from TgQ


little too busy, perhaps windy, previous images were using TgQ norms

using norms it seemed water needed to at least touch the tile.
using HF I had a dark wall if not overlapping


Post a reply to this message


Attachments:
Download 'lego_pool_hf.png' (323 KB)

Preview of image 'lego_pool_hf.png'
lego_pool_hf.png


 

From: Trevor G Quayle
Subject: Re: Bathtub - take 2
Date: 20 Dec 2008 22:05:02
Message: <web.494db23a6655db18c67b294d0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
Slight problem with some grout scaling being off, try this instead:

//START
#declare BSiz=<20,6,10>;  //Size of box
#declare TilSiz=<2,1>;    //Size of tile (x,y)
#declare Grt=0.5;         //Width of grout

#declare TilCol=rgb 0;  //Tile colour
#declare GrtCol=rgb 1;  // Grout colour

#declare DimU=Grt/TilSiz.u; //Grout scaling x
#declare DimV=Grt/TilSiz.v; //Grout scaling y

#declare PX=pigment{  //Tile pattern x plane
      gradient x
      pigment_map{
        [  DimZ/2 GrtCol]
        [  DimZ/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimZ/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimZ/2 GrtCol]
      }
      scale <TilSiz.u/BSiz.z/4,TilSiz.v/BSiz.y/3>
}

#declare PY=pigment{  //Tile pattern y plane
      gradient x
      pigment_map{
        [  DimU/2 GrtCol]
        [  DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 GrtCol]
      }
      scale <TilSiz.u/BSiz.x/4,TilSiz.v/BSiz.z/3>
}

#declare PZ=pigment{  //Tile pattern y plane
      gradient x
      pigment_map{
        [  DimU/2 GrtCol]
        [  DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 GrtCol]
      }
      scale <TilSiz.u/BSiz.x/4,TilSiz.v/BSiz.y/3>
}

#declare BoxUV= //Tile pattern for uv box
  pigment{
    uv_mapping
    gradient x
    pigment_map{
      [0/4 PX]  //Xmin
      [1/4 PX]  //Xmin
      [1/4 gradient y pigment_map{
                                  [0/3 PY]  //Ymin
                                  [1/3 PY]  //Ymin
                                  [1/3 PZ]  //Zmax
                                  [2/3 PZ]  //Zmax
                                  [2/3 PY]  //Ymax
                                  [3/3 PY]  //Ymax
                                  }]
      [2/4 gradient y pigment_map{
                                  [0/3 PY]  //Ymin
                                  [1/3 PY]  //Ymin
                                  [1/3 PZ]  //Zmax
                                  [2/3 PZ]  //Zmax
                                  [2/3 PY]  //Ymax
                                  [3/3 PY]  //Ymax
                                  }]
      [2/4 PX]  //Xmax
      [3/4 PX]  //Xmax
      [3/4 PZ]  //Zmin
      [4/4 PZ]  //Zmin
    }
  }
//END


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Bathtub - take 2
Date: 20 Dec 2008 22:10:00
Message: <web.494db29e6655db18c67b294d0@news.povray.org>
one more correction, replace PX in the previous with:

#declare PX=pigment{  //Tile pattern x plane
      gradient x
      pigment_map{
        [  DimU/2 GrtCol]
        [  DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
TilCol][1-DimV/2 GrtCol]}]
        [1-DimU/2 GrtCol]
      }
      scale <TilSiz.u/BSiz.z/4,TilSiz.v/BSiz.y/3>
}


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Bathtub - take 2
Date: 20 Dec 2008 22:10:00
Message: <web.494db3286655db18c67b294d0@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> "Cousin Ricky" <ric### [at] yahoocom> wrote:
> >
> > > I doubt anyone can.
> >
> > Very fragile generalization.
> >
> you got me, I'm smarter than that, I was fishing and caught a bite
>
> whoa both my fav water ppl in one day.
>
> this is Cousin Ricky absorption, as they all have been
> but now with the HF from TgQ
>
>
> little too busy, perhaps windy, previous images were using TgQ norms
>
> using norms it seemed water needed to at least touch the tile.
> using HF I had a dark wall if not overlapping

The busyness appears to be coming from refraction of the tile pattern.

Yes, make sure the water is *slightly* larger than the pool hole to avoid
coincident surfaces.

-tgq


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Bathtub - take 2
Date: 20 Dec 2008 22:35:01
Message: <web.494db8616655db18c67b294d0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> Next step will be to make it as a
> single pattern...

//START
#declare BSiz=<20,6,10>;  //Size of box
#declare TilSiz=<2,1>;    //Size of tile (x,y)
#declare Grt=0.1;         //Width of grout

#declare TilCol=rgb 0;  //Tile colour
#declare GrtCol=rgb <1,0,0>;  // Grout colour


#declare DimU=Grt/TilSiz.u/2; //Grout scaling x
#declare DimV=Grt/TilSiz.v/2; //Grout scaling y

#declare CMapVGrt=colour_map{[DimV GrtCol][DimV TilCol][1-DimV TilCol][1-DimV
GrtCol]}

#declare BoxUV= //Tile pattern for uv box
  pigment{
    uv_mapping
    gradient x
    pigment_map{
      [1/4 gradient x
        pigment_map{
          [  DimU GrtCol]
          [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU GrtCol]
        }
        frequency 4*BSiz.z/TilSiz.u
      ]
      [1/4 gradient x
        pigment_map{
          [  DimU GrtCol]
          [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
          [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
          [1-DimU GrtCol]
        }
        frequency 4*BSiz.x/TilSiz.u
      ]
      [2/4 gradient x
        pigment_map{
          [  DimU GrtCol]
          [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
          [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
          [1-DimU GrtCol]
        }
        frequency 4*BSiz.x/TilSiz.u
      ]
      [2/4 gradient x
        pigment_map{
          [  DimU GrtCol]
          [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU GrtCol]
        }
        frequency 4*BSiz.z/TilSiz.u
      ]
      [3/4 gradient x
        pigment_map{
          [  DimU GrtCol]
          [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU GrtCol]
        }
        frequency 4*BSiz.z/TilSiz.u
      ]
      [3/4 gradient x
        pigment_map{
          [  DimU GrtCol]
          [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
          [1-DimU GrtCol]
        }
        frequency 4*BSiz.x/TilSiz.u
      ]
    }
  }

box{0, BSiz pigment{BoxUV}}
//END


Post a reply to this message

From: SharkD
Subject: Re: Bathtub - take 2
Date: 21 Dec 2008 03:00:01
Message: <web.494df7116655db1854e70680@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> I wasn't originally going to go in this direction, but with some of the comments
> on my previous render I ran through some alterations.
>
> -toned down the darkness of the water.  It still looks dark, but actually that
> is mostly due to environment reflection.
> -altered the waves of the water.  toned down the choppiness and added ripples
> -changed some of the faucet textures
> -changed the image plane (it is a image/bump map not procedural)
> -most importantly, added AA.  Only set to 0.3 but coame out pretty godd still.
>
> Ny further critique, suggestions are more than welcome.
>
> -tgq

Any way you could render this first image at a higher resolution? I think I
might send it to my mother for her desktop background.

-Mike


Post a reply to this message

From: alphaQuad
Subject: Re: Bathtub - take 2
Date: 21 Dec 2008 17:25:01
Message: <web.494ec12c6655db18f798649f0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> Slight problem with some grout scaling being off, try this instead:
>
> //START
> #declare BSiz=<20,6,10>;  //Size of box
> #declare TilSiz=<2,1>;    //Size of tile (x,y)
> #declare Grt=0.5;         //Width of grout
> #declare TilCol=rgb 0;  //Tile colour
> #declare GrtCol=rgb 1;  // Grout colour
> #declare DimU=Grt/TilSiz.u; //Grout scaling x
> #declare DimV=Grt/TilSiz.v; //Grout scaling y
>
> #declare PX=pigment{  //Tile pattern x plane
>       gradient x
>       pigment_map{
>         [  DimU/2 GrtCol]
>         [  DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
> TilCol][1-DimV/2 GrtCol]}]
>         [1-DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
> TilCol][1-DimV/2 GrtCol]}]
>         [1-DimU/2 GrtCol]
>       }
>       scale <TilSiz.u/BSiz.z/4,TilSiz.v/BSiz.y/3>
> }
>
> #declare PY=pigment{  //Tile pattern y plane
>       gradient x
>       pigment_map{
>         [  DimU/2 GrtCol]
>         [  DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
> TilCol][1-DimV/2 GrtCol]}]
>         [1-DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
> TilCol][1-DimV/2 GrtCol]}]
>         [1-DimU/2 GrtCol]
>       }
>       scale <TilSiz.u/BSiz.x/4,TilSiz.v/BSiz.z/3>
> }
>
> #declare PZ=pigment{  //Tile pattern y plane
>       gradient x
>       pigment_map{
>         [  DimU/2 GrtCol]
>         [  DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
> TilCol][1-DimV/2 GrtCol]}]
>         [1-DimU/2 gradient y colour_map{[DimV/2 GrtCol][DimV/2 TilCol][1-DimV/2
> TilCol][1-DimV/2 GrtCol]}]
>         [1-DimU/2 GrtCol]
>       }
>       scale <TilSiz.u/BSiz.x/4,TilSiz.v/BSiz.y/3>
> }
>
> #declare BoxUV= //Tile pattern for uv box
>   pigment{
>     uv_mapping
>     gradient x
>     pigment_map{
>       [0/4 PX]  //Xmin
>       [1/4 PX]  //Xmin
>       [1/4 gradient y pigment_map{
>                                   [0/3 PY]  //Ymin
>                                   [1/3 PY]  //Ymin
>                                   [1/3 PZ]  //Zmax
>                                   [2/3 PZ]  //Zmax
>                                   [2/3 PY]  //Ymax
>                                   [3/3 PY]  //Ymax
>                                   }]
>       [2/4 gradient y pigment_map{
>                                   [0/3 PY]  //Ymin
>                                   [1/3 PY]  //Ymin
>                                   [1/3 PZ]  //Zmax
>                                   [2/3 PZ]  //Zmax
>                                   [2/3 PY]  //Ymax
>                                   [3/3 PY]  //Ymax
>                                   }]
>       [2/4 PX]  //Xmax
>       [3/4 PX]  //Xmax
>       [3/4 PZ]  //Zmin
>       [4/4 PZ]  //Zmin
>     }
>   }
> //END


Post a reply to this message


Attachments:
Download 'boxmapping.png' (602 KB)

Preview of image 'boxmapping.png'
boxmapping.png


 

From: alphaQuad
Subject: Re: Bathtub - take 2
Date: 21 Dec 2008 17:55:00
Message: <web.494ec8896655db18f798649f0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> Slight problem with some grout scaling being off, try this instead:

If there were any heads to be saved in Gefilte Fish jars for the future it would
be yours. "Danger danger Will 'Einstein' Robinson".

"leet" brain waves there TQ


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Bathtub - take 2
Date: 21 Dec 2008 19:10:00
Message: <web.494eda296655db18c67b294d0@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> "Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> > Slight problem with some grout scaling being off, try this instead:
>
> If there were any heads to be saved in Gefilte Fish jars for the future it would
> be yours. "Danger danger Will 'Einstein' Robinson".
>
> "leet" brain waves there TQ

Well thanks...

As long as it all works out for you and we both learned something.  I always
take these things as a challenge to teach myself how to do something and
hopefully learn something.

-tgq


Post a reply to this message

From: alphaQuad
Subject: Re: Bathtub - take 2
Date: 21 Dec 2008 21:35:01
Message: <web.494efc3a6655db18f798649f0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> "Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> > Next step will be to make it as a
> > single pattern...
>
> //START
> #declare BSiz=<20,6,10>;  //Size of box
> #declare TilSiz=<2,1>;    //Size of tile (x,y)
> #declare Grt=0.1;         //Width of grout
>
> #declare TilCol=rgb 0;  //Tile colour
> #declare GrtCol=rgb <1,0,0>;  // Grout colour
>
>
> #declare DimU=Grt/TilSiz.u/2; //Grout scaling x
> #declare DimV=Grt/TilSiz.v/2; //Grout scaling y
>
> #declare CMapVGrt=colour_map{[DimV GrtCol][DimV TilCol][1-DimV TilCol][1-DimV
> GrtCol]}
>
> #declare BoxUV= //Tile pattern for uv box
>   pigment{
>     uv_mapping
>     gradient x
>     pigment_map{
>       [1/4 gradient x
>         pigment_map{
>           [  DimU GrtCol]
>           [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU GrtCol]
>         }
>         frequency 4*BSiz.z/TilSiz.u
>       ]
>       [1/4 gradient x
>         pigment_map{
>           [  DimU GrtCol]
>           [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
>           [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
>           [1-DimU GrtCol]
>         }
>         frequency 4*BSiz.x/TilSiz.u
>       ]
>       [2/4 gradient x
>         pigment_map{
>           [  DimU GrtCol]
>           [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
>           [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.z/TilSiz.v]
>           [1-DimU GrtCol]
>         }
>         frequency 4*BSiz.x/TilSiz.u
>       ]
>       [2/4 gradient x
>         pigment_map{
>           [  DimU GrtCol]
>           [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU GrtCol]
>         }
>         frequency 4*BSiz.z/TilSiz.u
>       ]
>       [3/4 gradient x
>         pigment_map{
>           [  DimU GrtCol]
>           [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU GrtCol]
>         }
>         frequency 4*BSiz.z/TilSiz.u
>       ]
>       [3/4 gradient x
>         pigment_map{
>           [  DimU GrtCol]
>           [  DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU gradient y colour_map{CMapVGrt} frequency 3*BSiz.y/TilSiz.v]
>           [1-DimU GrtCol]
>         }
>         frequency 4*BSiz.x/TilSiz.u
>       ]
>     }
>   }
>
> box{0, BSiz pigment{BoxUV}}
> //END


almost.
which one runs down the inside-z-plane of CSG
?


Post a reply to this message


Attachments:
Download 'insidezplane.jpg' (74 KB)

Preview of image 'insidezplane.jpg'
insidezplane.jpg


 

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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