POV-Ray : Newsgroups : povray.binaries.images : How OBJuvPOV Works : Re: How OBJuvPOV Works Server Time
2 Aug 2024 08:13:52 EDT (-0400)
  Re: How OBJuvPOV Works  
From: alphaQuad
Date: 27 Sep 2007 10:50:00
Message: <web.46fbbeab624abd65ac60c46d0@news.povray.org>
since we are on the subject of bump, here is the bump example I got working
from
..... dangit cant locate original work or I would give credit here.

from fabric.pov


/*
A fabric bump map is used to shade the surface (see fabricbumps.pov)
Then, a checkerboard is overlayed using alternating patterns of H_streaks
and V_streaks. */


#declare fabric = texture {
  pigment { checker pigment { H_streaks } pigment { V_streaks } scale
0.5*0.17 }
  normal { bump_map { gif "fabricbumps.gif" bump_size 10 } scale 0.17 }
  finish { diffuse 0.8 specular 0.2 }
}


Post a reply to this message


Attachments:
Download 'fabric.jpg' (258 KB)

Preview of image 'fabric.jpg'
fabric.jpg


 

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