POV-Ray : Newsgroups : povray.binaries.images : Re: Chipboard Texture : Re: Chipboard Texture Server Time
18 Apr 2024 10:08:22 EDT (-0400)
  Re: Chipboard Texture  
From: Kontemplator
Date: 29 Jan 2018 11:45:05
Message: <web.5a6f4f23eeb2419db414b8600@news.povray.org>
In response to Bald Eagle's question ...
http://news.povray.org/povray.newusers/message/%3Cweb.5a6f217fe33edc0fc437ac910%40news.povray.org%3E/#%3Cweb.5a6f217fe3
3edc0fc437ac910%40news.povray.org%3E

I don't know how your chipboards look like but here is my attempt to texture
one.

//====================================================
#include "woods.inc"

#declare CM_1 = color_map {[0 rgb <.8,.6,.2>/2]
                           [1 rgb <.8,.6,.2>]
                          }

#declare CM_2 = color_map {[0 rgb <.6,.5,.2>/2]
                           [1 rgb <.6,.5,.2>]
                          }

#declare T_Chip1 =
 texture { agate
  texture_map {
    [0.0 pigment {P_WoodGrain1B color_map {CM_1} scale .01}]
    [0.4 pigment {P_WoodGrain1B color_map {CM_2} scale .01}]
    [0.4 pigment {P_WoodGrain1A color_map {CM_1} rotate <45,45,45>}]
    [0.6 pigment {P_WoodGrain1A color_map {CM_1} rotate <30,30,30>}]
    [0.6 pigment {P_WoodGrain1B color_map {CM_2} scale .01}]
    [1.0 pigment {P_WoodGrain1B color_map {CM_1} scale .01}]

  }
  scale <1,.1,1>/2
  }
//====================================================


Post a reply to this message


Attachments:
Download 'chipboard.png' (415 KB)

Preview of image 'chipboard.png'
chipboard.png


 

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