D, Derelict2, and OpenGL

2012-02-22 Thread Chris Pons
I have been reading the book "The D Programming Language" and am really enjoying D. However, my current motivation to use D was specifically for programming through OpenGL, and I was excited when I found out Dereict2 provided support for OpenGL. My current Gfx card can only support up to OpenG

Re: D, Derelict2, and OpenGL

2012-02-22 Thread David
Am 22.02.2012 23:36, schrieb Chris Pons: I have been reading the book "The D Programming Language" and am really enjoying D. However, my current motivation to use D was specifically for programming through OpenGL, and I was excited when I found out Dereict2 provided support for OpenGL. My curren

Re: D, Derelict2, and OpenGL

2012-02-22 Thread Vijay Nayar
I am doing almost exactly what you are doing, and to get more familiar with both SDL/OpenGL and D, I used Derelict2. To get familiar with basic graphics in SDL, I used this C++ tutorial, http://www.sdltutorials.com/. The functions pretty much convert 1-to-1 in Derelict2. If it helps, I also

Re: D, Derelict2, and OpenGL

2012-02-22 Thread Chris Pons
Hey David and Vijay, Thank you for the swift replies. It seems like this foray into D and OpenGL could be a bit overwhelming considering I would be learning D and SDL/OpenGL at the same time. So because of this, i'm going to make sure I have a solid base in D to start with. I am an Intermedi

Re: D, Derelict2, and OpenGL

2012-02-22 Thread David
Am 23.02.2012 01:20, schrieb Chris Pons: Hey David and Vijay, Thank you for the swift replies. It seems like this foray into D and OpenGL could be a bit overwhelming considering I would be learning D and SDL/OpenGL at the same time. So because of this, i'm going to make sure I have a solid base

Re: D, Derelict2, and OpenGL

2012-02-22 Thread Chris Pons
Ok, thanks for clearing that up. I am really looking forward to seeing what D and Derelict2 can offer. However, I would have liked to post this in the Derelict forums because it seems like the more appropriate place. I know that Aldacron is only one man, and I appreciate his hard work, but ho

Re: D, Derelict2, and OpenGL

2012-02-22 Thread Mike Parker
On 2/23/2012 10:29 AM, Chris Pons wrote: Ok, thanks for clearing that up. I am really looking forward to seeing what D and Derelict2 can offer. However, I would have liked to post this in the Derelict forums because it seems like the more appropriate place. I know that Aldacron is only one man,

Re: D, Derelict2, and OpenGL

2012-02-22 Thread Chris Pons
Ok, well it must be something wrong on my end. I have tried logging in with no result. I'll try to work it. I don't know if you are mistaken or not, but looking at the member list sorted by join date, several new members have registered recently. So if approval *is* required, it probably isn

Re: D, Derelict2, and OpenGL

2012-02-23 Thread James Miller
I find that when learning a complicated system or library, the best way is to write out the code examples, compile them, then change things until they break, fix it, then make more changes. Eventually you end up with the worst code ever known to man and a thorough understanding of the system at han

Re: D, Derelict2, and OpenGL

2012-02-23 Thread Chris Pons
On Thursday, 23 February 2012 at 19:26:31 UTC, James Miller wrote: I find that when learning a complicated system or library, the best way is to write out the code examples, compile them, then change things until they break, fix it, then make more changes. Eventually you end up with the worst

Re: D, Derelict2, and OpenGL

2012-02-24 Thread David
Am 24.02.2012 01:50, schrieb Chris Pons: Is the documentation up-to-date on this site? So that I can search through and try to learn more about a certain library and how it could help me? Which site? The derelict documentation? There is no real derelict documentation, but you normally dont nee

Re: D, Derelict2, and OpenGL

2012-02-24 Thread Chris Pons
On Friday, 24 February 2012 at 09:22:59 UTC, David wrote: Am 24.02.2012 01:50, schrieb Chris Pons: Is the documentation up-to-date on this site? So that I can search through and try to learn more about a certain library and how it could help me? Which site? The derelict documentation? There

Re: D, Derelict2, and OpenGL

2012-04-19 Thread Stephen Jones
In the same vein, I have getting nothing on the screen when there should be rendered a red triangle. The vertex positions are those used by McKeeson http://www.arcsynthesis.org/gltut/, being in ndc fall within the frustum. The code for setting up vao and shaders is: module ShaderHub; import

Re: D, Derelict2, and OpenGL

2012-04-20 Thread David
Am 20.04.2012 00:34, schrieb Stephen Jones: In the same vein, I have getting nothing on the screen when there should be rendered a red triangle. The vertex positions are those used by McKeeson http://www.arcsynthesis.org/gltut/, being in ndc fall within the frustum. The code for setting up vao an