Can someone please tell me how can I do the following with a POVRay texture ...
//PseudoCode texture { pigment { if(y mod 5 == 0) { color rgb 0 } else { color rgb 1 } } }
those. - I want to get the equivalent of contour lines
Why not use a simple gradient?
pigment { gradient y color_map { [0.0 color rgb 0] [0.8 color rgb 0] [0.8 color rgb 1] [1.0 color rgb 1] } scale 5 }
Source: https://habr.com/ru/post/1782867/More articles:TFS - Forwarding solution for new TFS when previous TFS is no longer available - tfslibpcap gets MAC from AF_LINK sockaddr_dl (OSX) - cString in bytes [delphi] - delphiRevert changes to git - gitWhy is my width 100%? - htmlHow to configure the server to quickly run my PHP script? - phpHow can I rewrite my PHP script to run as quickly as possible? - performanceUse Powershell BeginInvoke () and EndInvoke () in asynchronous mode - asynchronousHow to run cURL once, check domain availability in a loop? Help me fix the code please - performancejavascript: is there any JS capable of testing network speed? - javascriptAll Articles