Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions assets/simple_scene.scene
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Simple Scene Format for Multi-Primitive Ray Tracing
# Educational scene file demonstrating multiple spheres with different materials
# Format: Key-value pairs with educational comments

# Scene Configuration
scene_name: Multi-Sphere Test Scene
description: Three spheres with Lambert materials for intersection testing

# Materials Section
# Format: material_name red green blue
material red_sphere 0.7 0.3 0.3
material blue_sphere 0.3 0.3 0.7
material green_sphere 0.3 0.7 0.3

# Spheres Section
# Format: sphere center_x center_y center_z radius material_name
sphere 0.0 0.0 -5.0 1.0 red_sphere
sphere 2.0 0.0 -6.0 0.8 blue_sphere
sphere -1.5 1.0 -4.0 0.6 green_sphere

# Educational Notes:
# - Red sphere: Large central sphere for primary intersection testing
# - Blue sphere: Offset sphere to test closest-hit logic
# - Green sphere: Smaller sphere at different depth for depth testing
# - All spheres positioned in front of camera (negative Z) for visibility
# - Different radii to test intersection algorithm with varied sphere sizes
Loading
Loading