Skip to content

Commit 289efaa

Browse files
authored
Update basic.py
1 parent 538c9d0 commit 289efaa

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

examples/basic.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,17 @@
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

1818
import logging
1919
import kubric as kb
2020

2121
logging.basicConfig(level="DEBUG")
2222
print(f"executing '{__file__}' with kubric=={kb.__version__}")
2323

24-
# --- create scene and attach a renderer to it
24+
# --- create a dummy scene
2525
scene = kb.Scene(resolution=(256, 256))
26-
27-
# --- populate the scene with objects, lights, cameras
2826
scene += kb.Cube(name="floor", scale=(10, 10, 0.1), position=(0, 0, -0.1))
2927
scene += kb.Sphere(name="ball", scale=1, position=(0, 0, 1.))
3028
scene += 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

Comments
 (0)