options.rib 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. # From side
  25. #Rotate 60 1 0 0
  26. #Translate 0 0 0
  27. #Rotate -15 0 0 1
  28. Option "trace" "maxdepth" [4]
  29. WorldBegin
  30. #Limit maximum ray depth
  31. #Option "limits" "geommemory" [8000]
  32. #Option "limits" "gridsize" [256]
  33. #BAKE OPTIONS
  34. Attribute "cull" "backfacing" [0] "hidden" [0]
  35. #DICE BOTH SIDES EQUALLY
  36. Attribute "dice" "rasterorient" [0]
  37. Attribute "dice" "binary" [1]
  38. Attribute "sides" "backfacetolerance" [90]
  39. #GIVE DEPTH TO SURFACES
  40. #Attribute "sides" "integer doubleshaded" [1]
  41. # ADJUST AFTER HUGE SCALING CHANGES
  42. Attribute "trace" "bias" [0.21]
  43. # SHADOW SHOULD BE INFLUENCED BY DISPLACEMENTS (SELFSHADOW)
  44. Attribute "trace" "displacements" 1
  45. # Turn on raytraced shadows
  46. Attribute "visibility" "transmission" [1]
  47. Attribute "visibility" "int diffuse" [1]
  48. Attribute "visibility" "int specular" [1]
  49. Attribute "shade" "transmissionhitmode" ["primitive"]
  50. Attribute "visibility" "trace" [1]
  51. # define meshes to bake / include in lighting simulation
  52. ReadArchive "scene_all.rib"
  53. WorldEnd