POV-Ray : Newsgroups : povray.binaries.images : Meditating on Rocks Server Time
1 Aug 2024 12:21:37 EDT (-0400)
  Meditating on Rocks (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Carlo C 
Subject: Re: Meditating on Rocks
Date: 4 Oct 2008 16:55:00
Message: <web.48e7d7a31835ca62fee0a3ee0@news.povray.org>

> web.48e79b7c570d422cbd1b3ad10@news.povray.org...
> Hi all, I finally got a bit of a break in my hectic schedule this week so
> I took
> some "me" time and rendered these rocks in placid water. I was trying to
> duplicate a photo I saw; I came close, but there are still some things
> left to
> work on, so we'll see... the rocks are isosurfaces (yes, I still see some
> floating fragments). Illumination is completely from radiosity and a
> highly
> ambient sky_sphere.
>
> Comments/suggestions are welcomed as always - happy weekend :)
>
> Cheers,
> Rob

Simply fantastic.

Perhaps the contrast between light and shadows in the rock is too high and the
color of the water tends to gray too.

However, this is one of the best achievements in POV that I've ever seen!
A little focal blur and it would be perfect!

> I litterally mumbled "Oh la vache !"
> I can't translate it in English, the closest I think of is "OMG*"
>
> Marc
> (*) that does NOT mean I worship a cow :-)

In Italian should be "Porca vacca!"


Post a reply to this message

From: Thomas de Groot
Subject: Re: Meditating on Rocks
Date: 5 Oct 2008 03:00:21
Message: <48e86605$1@news.povray.org>
"Robert McGregor" <rob### [at] mcgregorfineartcom> schreef in bericht 
news:web.48e79b7c570d422cbd1b3ad10@news.povray.org...
> Hi all, I finally got a bit of a break in my hectic schedule this week so 
> I took
> some "me" time and rendered these rocks in placid water. I was trying to
> duplicate a photo I saw; I came close, but there are still some things 
> left to
> work on, so we'll see... the rocks are isosurfaces (yes, I still see some
> floating fragments). Illumination is completely from radiosity and a 
> highly
> ambient sky_sphere.
>
> Comments/suggestions are welcomed as always - happy weekend :)
>

A fossilized oyster shell hash, or a coral, or some hydrothermal stuff! This 
is very, very good, Robert. I would be interested to see the formula you 
used to achieve that.

Thomas


Post a reply to this message

From: B  Gimeno
Subject: Re: Meditating on Rocks
Date: 5 Oct 2008 07:10:00
Message: <web.48e8a0191835ca62e1b6b9710@news.povray.org>
"Carlo C." <nomail@nomail> wrote:

If you want to get to the realistically obsessive I suggest a layer of moss or
lichen near water.

Great job.

>
> > I litterally mumbled "Oh la vache !"
> > I can't translate it in English, the closest I think of is "OMG*"
> >
> > Marc
> > (*) that does NOT mean I worship a cow :-)
>
> In Italian should be "Porca vacca!"

Curiously be expressed in Spanish: "Es la leche!"

Litterally : "It's the milk!!"

B. Gimeno


Post a reply to this message

From: Robert McGregor
Subject: Re: Meditating on Rocks
Date: 5 Oct 2008 10:45:01
Message: <web.48e8d1db1835ca62bd1b3ad10@news.povray.org>
> A fossilized oyster shell hash, or a coral, or some hydrothermal stuff! This
> is very, very good, Robert. I would be interested to see the formula you
> used to achieve that.
>
> Thomas

Well Thomas, it's mostly textured trickery. Here's the basic code, using image
maps and procedural stone averaged on the isosurfaces (note the boring
no-texture version):

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// pitted stone texture

#declare T_PittedStone = texture {
   average
   texture_map {
      [3
         pigment {
            average
            turbulence 0.15
            scale 0.5
            pigment_map {
               [3 image_map {png "PittedStoneTile2.png" map_type 0 interpolate
2} turbulence 0.15 scale 1.25]
               [1 image_map {png "rock02_tile.png" map_type 0 interpolate 2}
turbulence 0.15  scale 1.66]
               [1 image_map {png "PlantsTile060.png" map_type 0 interpolate 2}
turbulence 0.15  scale 1.37]
            }
         }
         normal {
            average
            turbulence 0.15
            scale 0.5
            normal_map {
               [3 bump_map {png "PittedStoneTile2.png" map_type 0 interpolate 2}
turbulence 0.15 scale 1.25]
               [1 bump_map {png "rock02_tile_bump.png" map_type 0 interpolate 2}
turbulence 0.15 scale 1.66]
            }
         }
      ]
      [1 T_Stone10 finish {phong 0 specular 0}]
   }
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// A basic rock pigment function for deforming isosurfaces

#declare fn_Rock = function {
   pigment {
      granite
      turbulence 0.01
      scale 3
      color_map {
         [0 color rgb 0]
         [1 color rgb 1]
      }
   }
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Macro: Rock()

#macro Rock(MaxGradient)
   isosurface {
      #local amt = RRand(0.33, 0.9, R_Rock);
      function { f_sphere(x, y, z, 1)-fn_Rock(x/2, y/2, z/2).hf*amt }
      contained_by { sphere { 0, 2 } }
      accuracy 0.001
      max_gradient MaxGradient
      scale 0.5
      rotate 360*RRand(0, 1, R_Rock)
   }
#end

// create a rock
union {
   object { Rock(3.1)
      rotate <RRand(0, 360, R_Rock), RRand(0, 360, R_Rock), RRand(0, 360,
R_Rock)>
      scale <RRand(4, 7, R_Rock), RRand(2, 3, R_Rock), RRand(4, 7, R_Rock)>
      translate <-8, 1, -1>
   }
   object { Rock(4.4)
      rotate <RRand(0, 360, R_Rock), RRand(0, 360, R_Rock), RRand(0, 360,
R_Rock)>
      scale <RRand(4, 7, R_Rock), RRand(2, 3, R_Rock), RRand(4, 7, R_Rock)>
      translate <-8, 1, -1>
   }
   texture { T_PittedStone
      // very rough planar alignment to camera elevation
      // (eliminates most distortion of planar image map on "round" rocks)
      rotate x*15
   }
}


Post a reply to this message


Attachments:
Download 'zenrocksnotex.jpg' (34 KB)

Preview of image 'zenrocksnotex.jpg'
zenrocksnotex.jpg


 

From: Larry Hudson
Subject: Re: Meditating on Rocks
Date: 5 Oct 2008 19:34:10
Message: <48e94ef2$1@news.povray.org>
Robert McGregor wrote:
> Hi all, I finally got a bit of a break in my hectic schedule this week so I took
> some "me" time and rendered these rocks in placid water. I was trying to
> duplicate a photo I saw; I came close, but there are still some things left to
> work on, so we'll see... the rocks are isosurfaces (yes, I still see some
> floating fragments). Illumination is completely from radiosity and a highly
> ambient sky_sphere.
> 
> Comments/suggestions are welcomed as always - happy weekend :)
> 
> Cheers,
> Rob
> 
> 
> ------------------------------------------------------------------------
> 
To me, the right-hand rock looks like a turtle leaving to the right, and 
the left-hand one looks (vaguely) like a hippopotamus leaving to the 
left.  Did the middle rock do something bad??     ;-)

Seriously, impressive image.

      -=- Larry -=-


Post a reply to this message

From: Thomas de Groot
Subject: Re: Meditating on Rocks
Date: 6 Oct 2008 03:00:38
Message: <48e9b796$1@news.povray.org>
Thank you indeed, Robert! VERY much appreciated. I confess that I had been 
fooled by your rocks. I frankly thought that the texture was part of the 
isosurface.

Thomas


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Meditating on Rocks
Date: 6 Oct 2008 12:40:11
Message: <48ea3f6b@news.povray.org>

> Thank you indeed, Robert! VERY much appreciated. I confess that I had been 
> fooled by your rocks. I frankly thought that the texture was part of the 
> isosurface.
> 

   Yeah... I found that isosurfaces and image_maps help each other to be 
more realistic.

   BTW, fantastic image, Rob... as usual.

   Regards,

--
Jaime


Post a reply to this message

From: Thomas de Groot
Subject: Re: Meditating on Rocks
Date: 7 Oct 2008 02:51:53
Message: <48eb0709$1@news.povray.org>
"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> schreef in bericht 
news:48ea3f6b@news.povray.org...
>
>   Yeah... I found that isosurfaces and image_maps help each other to be 
> more realistic.
>

Indeed. And especially when proceduralized as with your macro.
I have neglected isosurfaces for some time now. I shall have to go back soon 
:-)

Thomas


Post a reply to this message

From: Blue Herring
Subject: Re: Meditating on Rocks
Date: 8 Oct 2008 13:17:07
Message: <48eceb13$1@news.povray.org>
Robert McGregor wrote:
> Hi all, I finally got a bit of a break in my hectic schedule this week so I took
> some "me" time and rendered these rocks in placid water. I was trying to
> duplicate a photo I saw; I came close, but there are still some things left to
> work on, so we'll see... the rocks are isosurfaces (yes, I still see some
> floating fragments). Illumination is completely from radiosity and a highly
> ambient sky_sphere.
> 
> Comments/suggestions are welcomed as always - happy weekend :)

Incredible!  My admiration knows no bounds for this one!

-- 
// The Mildly Infamous Blue Herring
#version 3.61;#include"functions.inc"global_settings{assumed_gamma
2.2}isosurface{function{-f_strophoid(x/2-.45,y,z*3,1,1.2,1,1.5)-.05}
contained_by{box{<-2.1,-1,-1/3>,<1.4,1,1/3>}}max_gradient 12inverse
hollow pigment{rgbf 1}interior{media{samples 8 emission<3,80,150>/255
density{crackle metric 1color_map{[0rgb 6][.03rgb 0][1rgb 0]}scale<1,
2,1>warp{turbulence<.5,.75,.5>}scale 1/3}}}translate z*3}


Post a reply to this message

From: Blue Herring
Subject: Re: Meditating on Rocks
Date: 8 Oct 2008 13:18:28
Message: <48eceb64$1@news.povray.org>
Robert McGregor wrote:
> Well Thomas, it's mostly textured trickery. Here's the basic code, using image
> maps and procedural stone averaged on the isosurfaces (note the boring
> no-texture version):

Thanks for sharing how you did this.  The untextured ones still look 
good, they actually remind me strongly of moon rocks.

-- 
// The Mildly Infamous Blue Herring
#version 3.61;#include"functions.inc"global_settings{assumed_gamma
2.2}isosurface{function{-f_strophoid(x/2-.45,y,z*3,1,1.2,1,1.5)-.05}
contained_by{box{<-2.1,-1,-1/3>,<1.4,1,1/3>}}max_gradient 12inverse
hollow pigment{rgbf 1}interior{media{samples 8 emission<3,80,150>/255
density{crackle metric 1color_map{[0rgb 6][.03rgb 0][1rgb 0]}scale<1,
2,1>warp{turbulence<.5,.75,.5>}scale 1/3}}}translate z*3}


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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