options.rib 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Option "searchpath" "string shader" "$DELIGHT/shaders:/Applications/Graphics/3Delight-9.0.0/shaders:./shaders"
  2. Option "searchpath" "string texture" "./"
  3. Option "searchpath" "string display" "$DELIGHT/displays:/Applications/Graphics/3Delight-9.0.0/displays"
  4. Display "preview.tiff" "file" "rgba"
  5. Sides 2
  6. #main quality switch, below one for good results
  7. #mid
  8. #ShadingRate 0.2
  9. #PixelSamples 6 6
  10. #PixelFilter "mitchell" 4 4
  11. # hi
  12. ShadingRate 0.2
  13. PixelSamples 8 8
  14. PixelFilter "mitchell" 4 4
  15. #Raytrace hider: test
  16. #Hider "raytrace" "int jitter" [0]
  17. #Hider "hidden" "depthfilter" "average"
  18. #an der commandline einfach mit -res x y angeben
  19. Format 512 512 1.0
  20. Projection "perspective" "fov" 50
  21. Translate 0 0 1250
  22. # from top
  23. Rotate -180 1 0 0
  24. # Limit maximum ray depth
  25. Option "trace" "maxdepth" [4]
  26. WorldBegin
  27. #BAKE OPTIONS
  28. Attribute "cull" "backfacing" [0] "hidden" [0]
  29. # DICE BOTH SIDES EQUALLY
  30. Attribute "dice" "rasterorient" [0]
  31. Attribute "dice" "binary" [1]
  32. Attribute "sides" "backfacetolerance" [90]
  33. # GIVE DEPTH TO SURFACES
  34. # ADJUST AFTER HUGE SCALING CHANGES
  35. Attribute "trace" "bias" [0.21]
  36. # SHADOW SHOULD BE INFLUENCED BY DISPLACEMENTS (SELFSHADOW)
  37. Attribute "trace" "displacements" 1
  38. # Turn on raytraced shadows
  39. Attribute "visibility" "transmission" [1]
  40. Attribute "visibility" "int diffuse" [1]
  41. Attribute "visibility" "int specular" [1]
  42. Attribute "shade" "transmissionhitmode" ["primitive"]
  43. Attribute "visibility" "trace" [1]
  44. # define meshes to bake / include in lighting simulation
  45. ReadArchive "scene_all.rib"
  46. WorldEnd