|
|
On Fri, 23 Nov 2001 21:09:45 +0100, Christoph Hormann <chr### [at] gmxde>
wrote:
> Wow, did you do this completely by hand or do you have some automatism?
Both. I've made lists by hand for povray script. Then runed script to create
files. And finally renumbered some files with 'Multi-raname tool' from Windows
Commander.
> If yes, this could be very useful for custom include files.
I plan to add bitmaps to it for color_maps, pigments, textures and shapes.
Here is example of script used to make it.
#local Names=array[5]{
"T_Brass_1A"
"T_Brass_1B"
"T_Brass_1C"
"T_Brass_1D"
"T_Brass_1E"
}
#local Counter=0;
#while ( Counter<dimension_size(Names,1))
#fopen File concat(
"c:\\Program Files\\POV-Ray for Windows v3.5\\",
"Insert Menu\\21 - Include files - keywords\\",
"90 - 'metals.inc'",
"\\",
"30 - metals textures"
"\\",Names[Counter],".txt"
) write
#write(File,Names[Counter])
#fclose File
#local Counter=Counter+1;
#end
> Only one inconsistency i recognized until now: The functions
> 'f_hetero_mf', 'f_ridged_mf' and 'f_ridge' should probably go to 'noise
> functions'.
I will change it and upload updated version after new beta (I hope with some
bitmaps). Thanks.
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
|