From: Branan R. <br...@gm...> - 2008-08-25 19:26:26
|
If no one else has gotten in touch with the GLFW people yet, I'll get in touch with them, talk to them about our design goals for the SDK, and see if we can integrate them into our SVN (maybe using svn externals on a stable tagged version so we don't actually duplicate anything) On Mon, Aug 25, 2008 at 12:19 PM, Mars_999 <ma...@si...> wrote: > As for textures what about Nvidias texture library file they have? They have > a texture pack on their developer site for use. It has normal maps and > textures, ect... > > I am fine with GLFW it support all three platforms and that is the main goal > for now, if some other platform needs it, they could port the tutorials(SDK) > to their platform if they want to. I would venture to say someone will port > this all to Java/JOGL someday if it gets finished... and we aren't coding > Java for the SDK so I would expect it. > > > > ----- Original Message ----- > From: <gl...@mo...> > To: <gls...@li...> > Sent: Monday, August 25, 2008 2:10 PM > Subject: Re: [Glsdk-devel] util. lib brainstorming > > >>> I had an idea that we could fork from GLFW, strip it to the minium needs >>> of >>> the SDK and maybe tweak the API a bit to make it more streamlined into >>> our >>> style. >> >> I'd vote against. Let's try not to start our work by just putting more and >> more work on ourselves ;) >> Having support from GLFW author(s) would be nice though. I'd keep the >> library as it is and extend it to support OpenGL 3.0. That's it. >> >> >> Going back to general discussion. >> I'll focus on things that I believe haven't been decided yet. >> >> 1. Math >> It's Henri's lib for most of tutorial/sample stuff and possibly my lib for >> tech demos only (these meant to show capabilities of OpenGL). >> >> However if people will prefer to use other math lib, then mine should be >> excluded from SDK. Three is a crowd. >> >> >> >> 2. Platform abstraction >> I'm all for GLFW here. Anyway we have to make decision soon enough. >> >> >> >> 3. Texture library >> I'm using FreeImage and I'm a happy man ;) Too bad it doesn't have it's >> own namespace though. >> >>> // load image and return it as texture >>> GLuint gltLoadTexture (const char *filename); >>> >>> // load image, convert it to the given format and return as texture >>> GLuint gltLoadTexture2 (const char *filename, GLenum format); >>> >>> // load from a buffer >>> GLuint gltLoadBuf (const GLvoid *buf, GLsizei size); >> >> I strongly object the idea of wrapping glTexImage. >> Let's just provide a way to load/store/free image. Uploading to OpenGL >> should be done without hepler functions. Don't forget that we're teaching >> OpenGL here ;) >> >> This library should come with some basic texture package like brickwalls, >> normalmaps, environment cubemaps (some in float format) and some textures >> for teaching alpha blending and alpha testing. >> >> >> >> 4. Shader library >> >> I also suggest limiting this part to helper functions for loading shader >> from file and a structure to store shader code. We should teach people to >> create programs, shaders and bind them together. Otherwise we're not >> teaching them how to use OpenGL but our helper functions. >> >> What shader library should really be is... shader library :) >> But I guess that's obvious. >> >> >> So, our TODO list extends by textures, shaders and some meshes later. >> >> >> Since I can't find ehough time recently and things tend to get even worse >> I'm not declaring to be of any help - I'll just focus on my math library >> for now. >> >> Cheers. >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Glsdk-devel mailing list >> Gls...@li... >> https://lists.sourceforge.net/lists/listinfo/glsdk-devel >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Glsdk-devel mailing list > Gls...@li... > https://lists.sourceforge.net/lists/listinfo/glsdk-devel > |