1313# limitations under the License.
1414"""A simple example w/o advanced (bullet/blender) dependencies."""
1515
16- # TODO: this should become the "post-processing" example?
16+ # TODO(klausg) : this should become the "post-processing" example that shows GIFs in matplotlib ?
1717
1818import logging
1919import kubric as kb
2020
2121logging .basicConfig (level = "DEBUG" )
2222print (f"executing '{ __file__ } ' with kubric=={ kb .__version__ } " )
2323
24- # --- create scene and attach a renderer to it
24+ # --- create a dummy scene
2525scene = kb .Scene (resolution = (256 , 256 ))
26-
27- # --- populate the scene with objects, lights, cameras
2826scene += kb .Cube (name = "floor" , scale = (10 , 10 , 0.1 ), position = (0 , 0 , - 0.1 ))
2927scene += kb .Sphere (name = "ball" , scale = 1 , position = (0 , 0 , 1. ))
3028scene += kb .DirectionalLight (name = "sun" , position = (- 1 , - 0.5 , 3 ), look_at = (0 , 0 , 0 ), intensity = 1.5 )
31- scene += kb .PerspectiveCamera (name = "camera" , position = (3 , - 1 , 4 ), look_at = (0 , 0 , 1 ))
29+ scene += kb .PerspectiveCamera (name = "camera" , position = (3 , - 1 , 4 ), look_at = (0 , 0 , 1 ))
0 commit comments