Cycles Raytracer v1.0

Cycles Raytracer v1.0

by griffpatch

πŸ‘ 253,006 ❀️ 7,428 ⭐ 6,281 πŸ”„ 133
Created: Jul 20, 2020 Last modified: Jan 30, 2024 Shared: Jul 29, 2020

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

Project thumbnail
View Project

Duck Run Game

by MUSIC_CREATOR21345

Project thumbnail
View Project

help

by IceDragonArts

Project thumbnail
View Project

Geometry Dash Bloodbath Hacked

by Nexus1251

Project thumbnail
View Project

2-player chess

by Loev06

Project thumbnail
View Project

ε€§δΉ±ι—˜γ‚Ήγƒžγƒƒγ‚·γƒ₯ブラアーズ8++ for scratch3.0γ€€[γ‚Ήγƒžγƒ–γƒ©]γ€€γ€€[ 青白い][ハむクγ‚ͺγƒͺティー][γƒ—γƒ©γƒƒγƒˆγƒ•γ‚©γƒΌγƒžγƒΌ][γ‚Ήγƒžγƒ—γƒ©]

by Nite-games

Project thumbnail
View Project

Cuphead- Spamton NEO Boss Fight

by messcratch2020

Project thumbnail
View Project

Newγ‚ΉγƒΌγƒ‘γƒΌγƒžγƒͺγ‚ͺブラアーズ3

by k_mario

Project thumbnail
View Project

Stick adventures #games #all

by SaZ-_-

Project thumbnail
View Project

ANIME RACERS 2 (38% done)

by Drives135

Project thumbnail
View Project

my ver. Epictale sans fight!

by bouningen-kun

Project thumbnail
View Project

Paper.io test

by nini2009ph

Project thumbnail
View Project

Particle Accelerator Engine

by xzonai

Project thumbnail
View Project

カービィ 逃衰中

by KENTAball

Project thumbnail
View Project

- Path of a Medicine Cat - Warrior Cats Game -

by _-Galaxy_-

Project thumbnail
View Project

Sega Genesis Sonic Engine

by travisgamemaker

Project thumbnail
View Project

FNF - (Corruption) DEATHMATCH

by Bradk2005

Project thumbnail
View Project

Five Nights at Dizzy's Rebooted (Official)

by Epicspeederwolf

Project thumbnail
View Project

Minecraft V2.1 (added textures)

by wavelets

Project thumbnail
View Project

Minecraft but 14 fps (2.8)

by East105A

Project thumbnail
View Project

UncannyBlocks Band (Super Different)

by supersonicmikhail720

Project thumbnail
View Project

2.5D Random Key Gravity Switch Dash Game #Games#all#Trending

by GUNASWAMlNATAN

Project thumbnail
View Project

Scratch Cat's Adventure||#all#games#music#art

by snake824

Project thumbnail
View Project

Ball Raids

by C00lScratchGam3r

Project thumbnail
View Project

Super Luigi Galaxy Alpha

by mario490