Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.

Tasty, tasty raytracing!

Posted by ApochPiQ, 23 November 2012 · 830 views

As threatened, I've been working on a raytracer implemented entirely in Epoch. The results so far are promising:

Attached Image

Render times are hovering around 1.8 seconds for a 300x300 pixel image. Considering that the image itself should be drawable in basically real-time, there's obviously a lot of room for improvement in the VM.

However, that 1.8 second figure is already down from over 8 seconds when I started on the raytracer project, so I'd say I've already accomplished some pretty decent speedups in the VM just from playing around with this.

I also haven't turned on JIT native code generation for any part of this (the JITter needs a lot of love) so there's a good chance I can speed it up another order of magnitude by executing native code instead of running everything on the VM.

All in all, not a bad bit of work, I must say. It's fun by itself to work on raytracing again, but I get to intermingle that with working on my own compiler and language, so I've been having a blast :-)

I love reading about your progress on Epoch, designing and implementing a language is something I've always wanted to do but never did because of the potentially huge scope of such a project. It's amazing to see that you can actually do someting useful with your own language.
Next goal: Write GW3 in Epoch :)

Cool, cool stuff!

November 2014 »

23 24 2526272829

Recent Comments