January 14, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matt Taylor | On Tuesday, 14 January 2014 at 12:02:45 UTC, Matt Taylor wrote:
> Indeed, though OpenInventor is a 3D scene graph of course. I don't think it's advisable to try and shoehorn 2D and 3D into one system.
I agree, it is better to do 2D well. If you mix 2D with 3D, then it is better to do it as projection of 2D onto 3D surfaces. Like povray does it in it's scenegraph (2D is extruded into 3D textures).
Besides things are happening fast now on the hardware end with real time raytracing on high end hardware (OctaneRender, Brigade etc). It is just a matter of time before scene graphs take over 3D anyway...
|
January 14, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | A small example of a real time path tracer in webgl: http://madebyevan.com/webgl-path-tracing/ A lot more fun than regular 3D or 2D. If combined with caching surfaces, it probably could be used to build a glossy 2.5D UI. |
January 14, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | Le 14/01/2014 16:35, "Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang@gmail.com>" a écrit : > A small example of a real time path tracer in webgl: > > http://madebyevan.com/webgl-path-tracing/ > > A lot more fun than regular 3D or 2D. If combined with caching surfaces, > it probably could be used to build a glossy 2.5D UI. Do you know this blog : http://raytracey.blogspot.fr/ ? |
January 14, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Xavier Bigand | On Tuesday, 14 January 2014 at 19:00:06 UTC, Xavier Bigand wrote: > Do you know this blog : http://raytracey.blogspot.fr/ ? Yeah, nice blog! I look at it every once in a while. :-) The Brigade demos are impressive, but they are of course scene optimized. I've been keeping tabs on the original author of Brigade, Jaco Bikker (http://igad.nhtv.nl/~bikker/) for over a decade. He wrote some nice tutorials on fast fake sky/cloud simulations in the late 90s I think. I believe his path tracing engine Aruana has been used for teaching game design, so it isn't far fetched to have a D library with a path tracer for experimental graphics. And a path/ray tracer can of course also do 2D stuff like beziers by sampling. There are shaders out that does this. |
January 14, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | Le 14/01/2014 22:42, "Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang@gmail.com>" a écrit : > On Tuesday, 14 January 2014 at 19:00:06 UTC, Xavier Bigand wrote: >> Do you know this blog : http://raytracey.blogspot.fr/ ? > > Yeah, nice blog! I look at it every once in a while. :-) The Brigade > demos are impressive, but they are of course scene optimized. I've been > keeping tabs on the original author of Brigade, Jaco Bikker > (http://igad.nhtv.nl/~bikker/) for over a decade. He wrote some nice > tutorials on fast fake sky/cloud simulations in the late 90s I think. I > believe his path tracing engine Aruana has been used for teaching game > design, so it isn't far fetched to have a D library with a path tracer > for experimental graphics. > > And a path/ray tracer can of course also do 2D stuff like beziers by > sampling. There are shaders out that does this. Sadly I don't think it's really usable even for GUI, if it have to run a all current devices. |
January 14, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Xavier Bigand | On Tuesday, 14 January 2014 at 21:59:13 UTC, Xavier Bigand wrote:
> Sadly I don't think it's really usable even for GUI, if it have to run a all current devices.
It would need either a modern GPU or a fast CPU, like i5/i7. But with caching of 2D surfaces the performance requirements are not as high. (You prerender "button unpressed", "button with motion blur", "button pressed" etc).
|
January 15, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | On Tuesday, 14 January 2014 at 22:28:00 UTC, Ola Fosheim Grøstad wrote:
> On Tuesday, 14 January 2014 at 21:59:13 UTC, Xavier Bigand wrote:
>> Sadly I don't think it's really usable even for GUI, if it have to run a all current devices.
>
> It would need either a modern GPU or a fast CPU, like i5/i7. But with caching of 2D surfaces the performance requirements are not as high. (You prerender "button unpressed", "button with motion blur", "button pressed" etc).
For some reason sledgehammers and nuts come to mind! :-)
Arauna / Brigade is pretty cool mind you. My company makes a mental ray compatible pseudo real-time visualizer. We use Intel's Embree for our ray intersection. It's CPU only, but very fast - and faster still if you couple it with ISPC.
Cheers
Matt
|
January 15, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matt Taylor | On Wednesday, 15 January 2014 at 09:55:36 UTC, Matt Taylor wrote: > For some reason sledgehammers and nuts come to mind! :-) Monte Carlo based sampling is of course a sledge hammer, but it works well with nuts if you don't mind the noise! > Arauna / Brigade is pretty cool mind you. My company makes a mental ray compatible pseudo real-time visualizer. We use Intel's Embree for our ray intersection. It's CPU only, but very fast - and faster still if you couple it with ISPC. That's great! And thanks for the info, I didn't know about Embree and ISPC. (So Intel has a LLVM based compiler for SSE... :^) |
January 16, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam Wilson | You mentioned keyboard, mouse, and touch. Something that can't be forgot about is pen input. It is becoming more and more common for laptops to not only come with touch, but also a stylus+digitizer for pen input. Just something to think about. |
January 16, 2014 Re: Graphics Library for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Thu, 2014-01-16 at 08:07 +0000, Tofu Ninja wrote: > You mentioned keyboard, mouse, and touch. Something that can't be forgot about is pen input. It is becoming more and more common for laptops to not only come with touch, but also a stylus+digitizer for pen input. Just something to think about. Agreed. I have a Wacom which I use for all of my training courses. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
Copyright © 1999-2021 by the D Language Foundation