Jan
24
2012

Ray Tracing & Photon Mapping (Unity3D C#)

Converting some ray tracing code from java/processing (original source by Grant Schindler/2007)

1st version works fine already, just missing the user interactions.. (and its quite slow at the moment)

Current progress: v1.0
– 512×512 render:  time 23.65258s (got it down to 16.54801s, if disable preview while rendering..)
– 128×128 render: 1.34s
– Didnt manage to make it faster with small changes, giving up for now.
– Its quite fast in low resolution..
– Here is more interesting project, too bad no sources to download? http://forum.unity3d.com/threads/27612-Real-time-global-illumination

Webplayer:
http://unitycoder.com/upload/demos/mRayTracingPhotons1/

Download source: (C#)
RayTracePhoton.unity


6 Comments + Add Comment

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.