Raytracing: Added RadiosityNormal povray template
This commit is contained in:
parent
dc3d2344d2
commit
cc84da72c0
|
@ -59,6 +59,7 @@ SET(Raytracing_Scripts
|
|||
|
||||
SET(Raytracing_Templates
|
||||
Templates/ProjectStd.pov
|
||||
Templates/RadiosityNormal.pov
|
||||
)
|
||||
|
||||
add_library(Raytracing SHARED ${Raytracing_SRCS})
|
||||
|
|
41
src/Mod/Raytracing/Templates/RadiosityNormal.pov
Normal file
41
src/Mod/Raytracing/Templates/RadiosityNormal.pov
Normal file
|
@ -0,0 +1,41 @@
|
|||
// Persistence of Vision Ray Tracer Scene Description File
|
||||
// for FreeCAD (http://www.freecadweb.org)
|
||||
|
||||
#version 3.6;
|
||||
|
||||
#include "colors.inc"
|
||||
#include "metals.inc"
|
||||
#include "rad_def.inc"
|
||||
|
||||
global_settings {
|
||||
radiosity {
|
||||
Rad_Settings(Radiosity_Normal,off,off)
|
||||
}
|
||||
}
|
||||
|
||||
#default {finish{ambient 0}}
|
||||
|
||||
sky_sphere {
|
||||
pigment {
|
||||
gradient y
|
||||
color_map {
|
||||
[0.0 color LightGray]
|
||||
[0.3 color White]
|
||||
[0.7 color LightGray]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Standard finish
|
||||
#declare StdFinish = finish { crand 0.01 diffuse 0.8 };
|
||||
|
||||
//RaytracingContent
|
||||
|
||||
//default light
|
||||
light_source {
|
||||
cam_location
|
||||
color White
|
||||
area_light <100, 0, 0>, <0, 0, 100>, 10, 10
|
||||
adaptive 1
|
||||
jitter
|
||||
}
|
Loading…
Reference in New Issue
Block a user