|
|
just a very very simple example of an object created in jpatch.
I rendered it in povfront, using this "world":
//------------------------------------------------------
// camera
camera {
angle 40
location <0,40,-100>
// location <clock*200,40,-100>
look_at <0,15,0>
}
// sky ---------------------------
sphere{<0,0,0>,1 hollow
texture{
pigment{gradient <0,1,0>
color_map{
[0.0 color White]
[0.8 color rgb<0.1,0.6,0.9>]
[1.0 color rgb<0.1,0.6,0.9>]}}
finish {ambient 1 diffuse 0}
}// end of texture
scale 10000}
//---------------------------------
// sea ------------------------------
plane{y, 0
texture{pigment{rgb <.2,.2,.2>}
normal {bumps 0.3
scale 0.05
turbulence 0.6+ (clock+100)/100}
finish {ambient 0.45
diffuse 0.55
brilliance 6.0
phong 0.8
phong_size 120
reflection 0.6}
}// end of texture
}// end of plane
//-----------------------------------
// light sources
light_source { <-1000,1000,-1000> color rgb 1 parallel }
light_source { <1000,0,-1000> color rgb 0.5 parallel shadowless }
light_source { <0,1000,1000> color rgb 1.5 parallel }
//------------------------------------------------------
source is available here:
http://www.jpatch.com/forum/viewtopic.php?t=117
Greets, Mark
Post a reply to this message
Attachments:
Download 'hovercraft.jpg' (12 KB)
Preview of image 'hovercraft.jpg'
|
|