POV-Ray : Newsgroups : povray.binaries.images : Triplanar Mapping : Re: Triplanar Mapping Server Time
9 May 2024 15:46:22 EDT (-0400)
  Re: Triplanar Mapping  
From: Samuel B 
Date: 14 Jan 2024 19:50:00
Message: <web.65a4800393092b9916bed5696e741498@news.povray.org>
"Samuel B." <stb### [at] hotmailcom> wrote:
> triplanar mapping

Attached is the same scene with some things changed. Here's the texture I used:

texture{
 pigment{
  average
  pigment_map{
   [1 Triplanar(PImgCol)]
   [1
    pigment_pattern{Triplanar(PImgDisp)}
    color_map{
     [0 rgb .75*<.25, .2, .15>]
     [.5 rgb <.5, .4, .3>]
     [1 rgb 1]
    }
   ]
  }
 }
 normal{
  pigment_pattern{Triplanar(PImgDisp)}
  bump_size 2
  accuracy 7/1024
 }
}

'PImgCol' is the color map, and 'PImgDisp' is the displacement map. (The hf
isn't very high res, since it uses a displacement map which is only 8-bit, and
would therefore produce stair-stepping artifacts at higher hf resolutions).

Sam


Post a reply to this message


Attachments:
Download 'triplanar26m_11s.jpg' (153 KB)

Preview of image 'triplanar26m_11s.jpg'
triplanar26m_11s.jpg


 

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