POV-Ray : Newsgroups : povray.binaries.images : An image... Server Time
15 Aug 2024 14:19:58 EDT (-0400)
  An image... (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: marabou
Subject: Re: An image...
Date: 30 Jun 2002 15:39:59
Message: <3d1f5e8f@news.povray.org>
Warp wrote:

>   Just something random I cooked up when I was bored...
> 
the ground is impressive to me. how did you made it? i remind that there 
was a way to bump checkers or so...


Post a reply to this message

From: Warp
Subject: Re: An image...
Date: 30 Jun 2002 18:45:33
Message: <3d1f8a0d@news.povray.org>
marabou <not### [at] availablenet> wrote:
> the ground is impressive to me. how did you made it? i remind that there 
> was a way to bump checkers or so...

plane
{ y,0
  pigment { checker rgb <1,.8,.5>, rgb <1,.5,.3> }
  finish { specular .5 roughness .1 }
  #declare TileSlope =
    slope_map { [0 <0,1>][.025 <1,0>][.975 <1,0>][1 <0,-1>] }
  normal
  { average normal_map
    { [1 granite .4 scale .3 noise_generator 2]
      [1 gradient x 2 slope_map { TileSlope }]
      [1 gradient z 2 slope_map { TileSlope }]
    }
  }
}


-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Slime
Subject: Re: An image...
Date: 30 Jun 2002 18:52:01
Message: <3d1f8b91@news.povray.org>
You can also use this function I developed that's handy for checker-based
textures:

#declare smoothcheckerbasis = function (x,y,z,allfloors,xv,yv,zv) {
 select(allfloors-floor(allfloors/2)*2,
  0,
  max(xv-.5,yv-.5,zv-.5, .5-xv,.5-yv,.5-zv),
  min(xv+.5,yv+.5,zv+.5, 1.5-xv,1.5-yv,1.5-zv)
 )
}
#declare smoothchecker = function (x,y,z) {

smoothcheckerbasis(x,y,z,floor(x)+floor(y)+floor(z),x-floor(x),y-floor(y),z-
floor(z))
}


Use it like:

function {smoothchecker(x,y+.5,z)}

(translated by .5 units to show the interesting part on the X-Z plane)

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Dave VanHorn
Subject: Re: An image...
Date: 30 Jun 2002 19:24:21
Message: <3d1f9325$1@news.povray.org>
Are photons available in the released versions of POV?


Post a reply to this message

From: marabou
Subject: Re: An image...
Date: 30 Jun 2002 19:43:04
Message: <3d1f9787@news.povray.org>
Warp wrote:


>   { average normal_map
>     { [1 granite .4 scale .3 noise_generator 2]
>       [1 gradient x 2 slope_map { TileSlope }]
>       [1 gradient z 2 slope_map { TileSlope }]
>     }
>   }
> }
> 
> 

okay, i understand. povray 3.5beta is nice. is there a similar way for 
povray3.1? if yes, which?


Post a reply to this message

From: David Cook
Subject: Re: An image...
Date: 30 Jun 2002 23:52:20
Message: <3d1fd1f4@news.povray.org>
Nice! Reminded me of one I'd done a while back. Same effect where the photos
sear the phosphorus off your screen. I like the textured checkered tile
underneath and the nicely rounded edges on the ring.

-- Dave


Post a reply to this message


Attachments:
Download 'DavesRing2bb.jpg' (33 KB)

Preview of image 'DavesRing2bb.jpg'
DavesRing2bb.jpg


 

From: David Cook
Subject: Re: An image...
Date: 30 Jun 2002 23:54:44
Message: <3d1fd284$1@news.povray.org>
Ooops, I meant to type "...the focused photons..."

"David Cook" <nos### [at] oznet> wrote in message
news:3d1fd1f4@news.povray.org...
> Nice! Reminded me of one I'd done a while back. Same effect where the
photos
> sear the phosphorus off your screen. I like the textured checkered tile
> underneath and the nicely rounded edges on the ring.
>
> -- Dave


Post a reply to this message

From: bob h
Subject: Re: An image...
Date: 1 Jul 2002 02:26:45
Message: <3d1ff625@news.povray.org>
"marabou" <not### [at] availablenet> wrote in message
news:3d1f9787@news.povray.org...
> Warp wrote:
> >   { average normal_map
> >     { [1 granite .4 scale .3 noise_generator 2]
> >       [1 gradient x 2 slope_map { TileSlope }]
> >       [1 gradient z 2 slope_map { TileSlope }]
> >     }
> >   }
> > }
>
> okay, i understand. povray 3.5beta is nice. is there a similar way for
> povray3.1? if yes, which?

slope_map is also in 3.1, so I guess what Warp wrote would work okay minus
the noise_generator 2 part.

bob h


Post a reply to this message

From: bob h
Subject: Re: An image...
Date: 1 Jul 2002 02:31:15
Message: <3d1ff733@news.povray.org>
"Dave VanHorn" <dva### [at] cedarnet> wrote in message
news:3d1f9325$1@news.povray.org...
> Are photons available in the released versions of POV?

Not yet in a final release. Only the 3.5 beta, MegaPOV and perhaps some
other custom compilations.

bob h


Post a reply to this message

From: David Fontaine
Subject: Re: An image...
Date: 1 Jul 2002 14:02:25
Message: <3D209A89.1050909@faricy.net>
Pretty good for "something random"!  :)

-- 
___     ______________________________________________
  | \     |_         website: http://davidf.faricy.net/
  |_/avid |ontaine           email: <dav### [at] faricynet>


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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