Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-----------------------------
- # DEFAULT SCENE FILE
- #-----------------------------
- image {
- resolution %WIDTH% %HEIGHT%
- aa 0 1
- #samples 2
- filter mitchell
- }
- # Background of the image, default is full white
- background {
- color { "sRGB nonlinear" %BACKGROUND_COLOR% }
- }
- # this is the camera setting. The FieldOfView is narrow to match the camera in LDD
- camera {
- type pinhole
- transform row %LDDCAMERA%
- fov 15
- aspect %ASPECTRATIO%
- }
- # A mirror material, you can use it with the Plane to have a shiny plane
- shader {
- name Mirror
- type mirror
- refl 0 0 0
- }
- # The default material for the plane, a nice blue shade
- shader {
- name PlaneMaterial
- type diffuse
- diff { "sRGB nonlinear" %PLANE_COLOR% }
- }
- # Here we define our plane.
- object {
- #shader PlaneMaterial
- shader Mirror
- type plane
- p 0 %LOWESTPOINT% 0
- n 0 1 0
- }
- # ---------------------------------
- # LIGHTS
- # ---------------------------------
- # This is the default light, a kind that simulates the natural sun light.
- # you can change turbidity to move between soft-blue and hard-red lights
- light {
- type spherical
- color 1 1 1
- radiance 30
- center 200 50 100
- radius 40
- samples 4
- #noball
- }
- /*light {
- type spherical
- color 1 1 1
- radiance 20
- center -200 100 100
- radius 40
- samples 4
- #noball
- }*/
- light {
- type point
- color 1 1 1
- power 2000
- p 0 5.5 4.5
- }
- /*light {
- type directional
- source 0 0 100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1
- }
- */
- #---- CUBE - 8 SOURCES ----------------------
- #---- build sides parallel to cube sides ----
- light {
- type directional
- source 100 100 100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- light {
- type directional
- source 100 100 -100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- light {
- type directional
- source 100 -100 100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- light {
- type directional
- source 100 -100 -100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- light {
- type directional
- source -100 100 100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- light {
- type directional
- source -100 100 -100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- light {
- type directional
- source -100 -100 100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- light {
- type directional
- source -100 -100 -100
- target 0 0 0
- radius 1000
- emit 1 1 1
- intensity 1.5
- }
- # ---------------------------------
- # MATERIALS
- # ---------------------------------
- # here goes lots of text, but I haven't changed anything below this point so there's no point in copying it
Advertisement
Add Comment
Please, Sign In to add comment