POV-Ray : Newsgroups : povray.pov4.discussion.general : Suggest new v4.0 'spatial' normal{} perturbation. (yuqk R15 v0.6.9.0) : Re: Suggest new v4.0 'spatial' normal{} perturbation. (yuqk R15 v0.6.9.0) Server Time
27 Jul 2024 12:08:21 EDT (-0400)
  Re: Suggest new v4.0 'spatial' normal{} perturbation. (yuqk R15 v0.6.9.0)  
From: William F Pokorny
Date: 1 Jun 2024 11:22:58
Message: <665b3cd2$1@news.povray.org>
On 6/1/24 11:11, William F Pokorny wrote:
> It's an attempt to open the door for users to create normal patterns 
> based on spatial information in a way sort of like what happens when 
> scalar value patterns / functions are used in a normal{} block.

Another 'spatial' normal{} image using the following code:

#declare Nrml_0 = normal {
   //spatial type 0 bump_size +0.3  // Left
     spatial type 1 bump_size +1.5  // Right
     warp { repeat x offset 1/3 flip y}
     warp { repeat y offset 2/3 flip z}
     warp { repeat z offset 0/3 flip x}
     rotate <+22,+44,-43>
     warp { repeat x offset 0/3 flip y}
     warp { repeat y offset 1/3 flip z}
     warp { repeat z offset 2/3 flip x}
     rotate <-33,+22,-11>
     scale 1/17
}

Bill P.


Post a reply to this message


Attachments:
Download 'wildwarp.jpg' (112 KB)

Preview of image 'wildwarp.jpg'
wildwarp.jpg


 

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