Welcome to MSDN Blogs Sign in | Join | Help

You had me at "Hello World!"

XAML, WPF, Silverlight, .NET, Office 2007, Windows code samples and other interesting things

Syndication

Ray Tracing in Silverlight

I had some free time today and did this:

I'd like to note that LukeH made the core raytracing engine in C#. He built it using linq and the code looks very elegant .

I did the "Silverlight" part of it. There are some things to think about with ray tracing in Silvelright - see the links at the bottom for more info.

Sample

 

Source Code

How to Build?

Official Silverlight Raytracing Page

 

Published Tuesday, June 10, 2008 12:16 AM by nikola

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# a-foton » Ray Tracing in Silverlight @ Tuesday, June 10, 2008 4:18 AM

PingBack from http://blog.a-foton.ru/2008/06/10/ray-tracing-in-silverlight/

a-foton » Ray Tracing in Silverlight

# re: Ray Tracing in Silverlight @ Wednesday, April 15, 2009 5:28 AM

Hey Nicola

I've fiddled some with your raytracer...

i managed to reduce the tracing to 2.5sec on a quadcore using backgroundworkers

using more threads helps a lot !

---

I was actually inspired by your tracer, to think of the idea of distributed raytracers...

just imagine all clients of a site, rendering stuff while visiting :)

you could even build a whole 3d-studio where people would render eachothers frames !

Martin Kirk

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
Page view tracker