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
Related Posts
6 Comments + Add Comment
Leave a comment
Recent posts
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on
Source coming later this week.. didnt really manage to make it faster.
Is there any news about the source code?, really cool project!
Hey i downloaded the toolbar but cannot configure how to download the source, is it still available to download and if it’s how to do it ?
Added the direct dl link to the post
Unity Ray-Tracer (screenshots)
http://forum.unity3d.com/threads/208885-Unity-Ray-Tracer-%29
Practical Techniques for Ray Tracing in Games:
http://blog.imgtec.com/news/ray-trace-steps-gdc-2014-imagination