www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - DWT-linux OpenGL Support Added

reply John Reimer <terminal.node gmail.com> writes:
* Added OpenGL Support to DWT-Linux

In order to test the opengl snippet from the dwt-samples project, you will
need to use Derelict (installed via dsss or manually).

The GLCanvas surface allows you to use OpenGL via DerelictGL/GLU or via
standard GL import modules. However, Derelict is the preferred method of GL
support because of its simple GL version/extension loading mechanism.

Please test this feature. On my system, linux and win32 vesions of the
opengl test snippet run, but the linux version displays a filled/opaque
rotating donut while the windows version shows a wire-frame rotating donut. 
I welcome any feedback. :)

My apologies for my delay in adding this.

-JJR
Mar 01 2008
parent reply Jesse Phillips <jessekphillips gmail.com> writes:
On Sat, 01 Mar 2008 12:22:54 -0800, John Reimer wrote:

 * Added OpenGL Support to DWT-Linux
 
 In order to test the opengl snippet from the dwt-samples project, you
 will need to use Derelict (installed via dsss or manually).
 
 The GLCanvas surface allows you to use OpenGL via DerelictGL/GLU or via
 standard GL import modules. However, Derelict is the preferred method of
 GL support because of its simple GL version/extension loading mechanism.
 
 Please test this feature. On my system, linux and win32 vesions of the
 opengl test snippet run, but the linux version displays a filled/opaque
 rotating donut while the windows version shows a wire-frame rotating
 donut. I welcome any feedback. :)
 
 My apologies for my delay in adding this.
 
 -JJR

I ran the example on my Debian linux and get the wire-frame rotating donut. Everything worked smoothly, I also added a prebuild warning in the dsss.conf file of the samples that says Derelict must be installed, Frank I've sent the bundle to Frank so it should be up when he stops by. It also includes more snippets.
Mar 01 2008
next sibling parent John Reimer <terminal.node gmail.com> writes:
Jesse Phillips wrote:

 On Sat, 01 Mar 2008 12:22:54 -0800, John Reimer wrote:
 
 * Added OpenGL Support to DWT-Linux
 
 In order to test the opengl snippet from the dwt-samples project, you
 will need to use Derelict (installed via dsss or manually).
 
 The GLCanvas surface allows you to use OpenGL via DerelictGL/GLU or via
 standard GL import modules. However, Derelict is the preferred method of
 GL support because of its simple GL version/extension loading mechanism.
 
 Please test this feature. On my system, linux and win32 vesions of the
 opengl test snippet run, but the linux version displays a filled/opaque
 rotating donut while the windows version shows a wire-frame rotating
 donut. I welcome any feedback. :)
 
 My apologies for my delay in adding this.
 
 -JJR

I ran the example on my Debian linux and get the wire-frame rotating donut. Everything worked smoothly, I also added a prebuild warning in the dsss.conf file of the samples that says Derelict must be installed, Frank I've sent the bundle to Frank so it should be up when he stops by. It also includes more snippets.

Okay, good to hear! I imagine the problem is with my system drivers then. -JJR
Mar 01 2008
prev sibling parent John Reimer <terminal.node gmail.com> writes:
Jesse Phillips wrote:

 
 I ran the example on my Debian linux and get the wire-frame rotating 
 donut. Everything worked smoothly, I also added a prebuild warning in the 
 dsss.conf file of the samples that says Derelict must be installed, Frank 
 I've sent the bundle to Frank so it should be up when he stops by. It 
 also includes more snippets.

Could you please make a screenshot of your opengl window and also send it to Frank? -JJR
Mar 02 2008