File:Povray reeds in water in moonlight 1.png
Original file (2,400 × 1,800 pixels, file size: 2.47 MB, MIME type: image/png)
Captions
Summary
editDescriptionPovray reeds in water in moonlight 1.png |
English: Reeds in water in moonlight, Povray |
Date | |
Source | Own work |
Author | Merikanto |
This image is made with Povray 3.7. Made with Povrays own grass include util.
// moon and reeds in water
- include "colors.inc"
global_settings {
assumed_gamma 1.0
}
//#declare FII =251.5;
#declare FII =-90-30;
// ----------------------------------------
camera {
//location <0.0, 1, -10.0>
location <0.0, 0.05, -0.5>
direction 1.5*z
right x*image_width/image_height
look_at <0.0, 0.2, 0.0>
angle 90
}
sky_sphere {
pigment {
gradient y
poly_wave 1.3
// cubic_wave
color_map {
#declare mm = 0.0;
#declare pp= 1.0;
#declare rr=1.00;
#while(mm <= 1.0)
//#declare rr=exp(-pp*10)*0.5 ;
#declare rr=exp(-pp/3)*1;
// #declare rr=1-mm;
#declare cc=<rr,rr,rr+0.05>;
# if (mm<0.003)
#declare rr=100;
#declare cc=<10,10,10>;
#end
# if (mm>0.4)
#declare rr=0.001;
#declare cc=<0.0,0.0,0.05> ;
#end
[mm rgb cc]
#declare mm=mm+0.01;
#declare pp=pp+1;
#end
}
rotate x*FII
}
}
/*
light_source {
<0,500,1000>
color rgb <0.5,0.5,1>
}
*/
/*
sphere // transparent sphere containing media
{ 0,1 pigment { rgbt 1 } hollow
interior
{ media
{
// emission 0
// scattering { 1,<1,1,1>*0.001
scattering{ 1, 0.17 extinction 0.000001}
// extinction 0.0001
// }
samples 20,100
}
}
scale 10000
}
*/
// fog ...
/*
fog{
// color <0.05, 0.05, 0.15>
color rgbf<0.3, 0.3, 0.5, 1.0>
fog_type 2
fog_alt 10000
fog_offset 1
distance 1000*100
// rotate x*90
turbulence z*0.5
turb_depth 0.2
}
*/
// sea
plane {
y, -0.1
// pigment { color rgb <0.7,0.5,0.3> }
pigment {
// rgbf <0.0, 0.0, 1, 0>
rgb Blue
}
texture {
//#if (Wavelet)
normal {
bozo
scale <0.05, 0.25, 0.05>*0.5
}
//#end
finish {
diffuse 1.0
ambient 0.0
reflection {
0.9
fresnel on
}
}
}
interior { ior 1.33 }
}
// brairie 2
- include "makegrass.inc"
- declare nBlade=50; // number of blades per line (there will be nBlade * nBlade blades)
- declare segBlade= 40; // number of blade segments
- declare lPatch=10; // size of patch
- declare lBlade = 3; // length of blade
- declare wBlade = 0.01; // width of blade at start
- declare wBladeEnd = 0.0001; // width of blade at the end
- declare ryBlade = 0; // initial y rotation of blade
- declare doSmooth= 1; // true makes smooth triangles
- declare dofold = 1;//false;/true; or 0;/1; // true creates a central fold in the blade (twice more triangles)
- declare startBend = <0,1,0.3>; // bending of blade at start (<0,1,0>=no bending)
- declare vBend = <0,1,1>; // force bending the blade (<0,1,1> = 45°)
- declare pwBend =5; // bending power (how slowly the curve bends)
- declare rd = 5153; // seed
- declare stdposBlade = 1; // standard deviation of blade position 0..1
- declare stdrotBlade = 360; // standard deviation of rotation
- declare stdBlade = 1.2; // standard deviation of blade scale
- declare stdBend = 10; // standard deviation of blade bending
- declare dofile = 1;//false;/true; or 0;/1; // true creates a mesh file
- declare fname = "fgrass2.inc" // name of the mesh file to create
- declare nxPrairie=12; // number of patches for the first line
- declare addPatches=1.5; // number of patches to add at each line
- declare nzPrairie=35; // number of lines of patches
- declare rd=seed(179); // random seed
- declare stdscale=1; // stddev of scale
- declare stdrotate=1; // stddev of rotation
- declare doTest=0;//false;/true; or 0;/1; // replaces the patch with a sphere
- if (dofile=true)
MakeGrassPatch(lPatch,nBlade,ryBlade,segBlade,lBlade,wBlade,wBladeEnd,doSmooth,startBend,vBend,pwBend,rd,stdposBlade,stdrotBlade,stdBlade,stdBend,dofold,dofile,fname)
#declare objectPatch=#include fname
- else
#declare objectPatch=object{MakeGrassPatch(lPatch,nBlade,ryBlade,segBlade,lBlade,wBlade,wBladeEnd,doSmooth,startBend,vBend,pwBend,rd,stdposBlade,stdrotBlade,stdBlade,stdBend,dofold,dofile,fname)}
- end
object{MakePrairie(lPatch,nxPrairie,addPatches,nzPrairie,objectPatch,rd,stdscale,stdrotate,doTest)
// scale 1/40
scale 1/10
texture {
pigment {color rgb<0.0,0.3,0.0>*0.03}
}
// scale <0.05,0.5,0.05>
//translate<0,0,-0.75>
}
Licensing
edit- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This media file is uncategorized.
Please help improve this media file by adding it to one or more categories, so it may be associated with related media files (how?), and so that it can be more easily found.
Please notify the uploader with {{subst:Please link images|File:Povray reeds in water in moonlight 1.png}} ~~~~ |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:29, 31 March 2022 | 2,400 × 1,800 (2.47 MB) | Merikanto (talk | contribs) | more reeds | |
17:21, 31 March 2022 | 2,400 × 1,800 (3.24 MB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
PNG file comment |
|
---|---|
File change date and time | 14:27, 31 March 2022 |
Software used |