
Cycles Raytracer v1.0
by griffpatch
Description
Tutorials - www.youtube.com/griffpatch The image you see here was created 100% in scratch by this project. It simulates the physics of light with a 3d model made of spheres and draws the results with pen. I run it in turbowarp (https://turbowarp.org/#412737809) as it performs x20 faster than scratch, and I could then set the project to resolution 1 with 800 cycles for a noiseless image. This is a labour of love :) - I've never tried to create a raytracer before, but having seen a number of really good projects on scratch and having found a great tutorial I decided to give it a go. The engine in a cycles raytracer, which means it is tracing light as it bounces around the scene, the more cycles you allow it to use, the better the quality of the resultant image. The biggest difference from a standard raytracer is that we have global illumination with very soft shadows and if you look at the floor around the spheres you can see the color of the spheres is illuminating the floor in their own color (this is the light radiosity at play). The engine also supports reflection, refraction, depth of field and anti-aliasing. The example scene you see at the start was rendered at resolution 1 with 800 cycles. This means that every pixel of the image has had 800 simulated light rays cast from it into the scene. That would be 92 million rays! If you were to let that run in scratch... it would take a LONG time, but thanks to turbowarp it only took 35 mins. Here is a link to the tutorial I followed: https://www.realtimerendering.com/raytracing/Ray%20Tracing%20in%20a%20Weekend.pdf RESOLUTION - The size of the pixels (1 is best) SAMPLES - The number of rays of light per pixel. DOF - Depth of Field (0 is crisp) CPS - Cycles per second Remaining - The estimated amount of time remaining
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects

SUPER SONIC GENESIS 4
by TMD-Entertainment

Beat up Bambom! v1.1
by 12361380cvusd

Beat up Heartchan DLC!
by Traw2016

MEMZ virus on WINDOWS 10 scratch
by jonasbsn

Draw
by mqh04000_Test

Intro for Ashibara_Art
by Quimexus

Paint with Gobo
by Scratchteam

UNDERTALE Battle Engine
by Team-Technology

Beat Up BrothersPistovFan2009 (V1.5)
by EstebanTheWombat2k12

ε€ͺι½η³»γγ©γγγγ©γΌγγΌ Solar System Platformer
by Y-Jackson

Ihatemysalf "Friends" Band
by MBear227

Spooky Scary Skeletons
by AgentQuirt

9-90 REMASTERED
by Joshiebaby

Beat up Tera (add a button) [9.9.1]
by mikey770

Sonic 2 Expanded v0.7 (WITH COLLISION FIX!)
by DapperBUG25

Endless music chords
by JaydenGamerzTube

Beat Up Baby Shark remix-2
by romik26

planet clicker
by Zendaya-boy-2

δΊ¬ζ₯ εε·ι§ γ·γγ₯γ¬γΌγΏγΌ
by YWD18072201

Crazy Cattle 2D
by frozyspeedrunner

Beat Up Sky Way More Buttons remix
by bonzi346

Beat Up Scratch Cat 2 (Ver. 0.24) but eveything is free! remix remix
by EdJunior2

Beat up NEED-TOO Revived 2.0 remix
by gameboydudeisbest

η¦ε²‘η ζ₯΅γ γΊ γγγ«γ³γ’γ©γγ§ιθ¨οΌ
by makora0123