dsman Posted May 23, 2016 Share Posted May 23, 2016 Threejs has ray-traced rendering http://threejs.org/examples/#raytracing_sandbox Is it coming anytime soon to Babylonjs ? Quote Link to comment Share on other sites More sharing options...
Kesshi Posted May 23, 2016 Share Posted May 23, 2016 I was playing around with those things already ... The basics for ray tracing are there. BabylonJs supports ray casting already. It wouldn't be difficult to write a primitve ray tracing algorithm (like the one in ThreeJs). But i don't think it will be very usefull. I don't know what you want to achieve with this but you should not expect to get photo realistic results for complex scenes (or it will render for ages). The Ray-Traced renderer in ThreeJS also gets very slow if you try to render complex scenes ... and the result looks like a rendering from 30 years ago JavaScript is not really the best language for fast ray tracing Quote Link to comment Share on other sites More sharing options...
dsman Posted May 23, 2016 Author Share Posted May 23, 2016 Well , good to know this. We are developing based on babylon and needed rendering. We thought Threejs, has that and we are loosing out being on babylon. Good to know that the one threejs has isn't practical one. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.