Not logged in, Join Here! or Log In Below:  
 
News Articles Search    
 


Submitted by Pacôme DANHIEZ, posted on April 25, 2005




Image Description, by Pacôme DANHIEZ



EaseWrapper supports new features in OpenGL and DirectX 9.0:
  • Textures 1D, 2D, 3D and CubeMap
  • Render in a texture
  • and five new tutorials explains how to use these features in few lines of code. All these features are optimized for the API you choose.

    No need to use fastidious OpenGL or DirectX calls, all the stuff has been done for the user : EaseWrapper has a clean and easy-to-use interface. You can switch between OpenGL and DirectX with a single flag, without changing anything in the code. The library is very easy to include in a project.

    Download here : http://www.ease-production.com

    And have fun !


    [prev]
    Image of the Day Gallery
    www.flipcode.com

    [next]

     
    Message Center / Reader Comments: ( To Participate in the Discussion, Join the Community )
     
    Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.
     
    Dan Royer

    April 25, 2005, 12:05 PM

    Combine this with some code to load a variety of texture formats and it would completely replace the need for DevIL.
    Not that anyone *needs* DevIL.

     
    Nico

    April 25, 2005, 01:18 PM

    And add decompression support for gz files and it could replace zlib.

    Seriously, I don't get your point.

     
    Betelgeuse

    April 25, 2005, 02:17 PM

    I think you got his point all too well, but didn't realize it...

     
    DonJuan

    April 25, 2005, 02:41 PM

    what the hell are you people talking about?

     
    oPacomeo

    April 25, 2005, 05:51 PM

    Dan Royer wrote: Combine this with some code to load a variety of texture formats and it would completely replace the need for DevIL.

    Sure, but due to the number of texture formats (bmp, dds, jpeg, png, ...), I don't have enough time to code them all (that's why I made the choice to use an external library).

    Regards,
    Pacôme

     
    void2357

    April 25, 2005, 07:18 PM

    The code in the library looks clean and very well commented, but I noticed that there seem to be different licenses in some of the files:

    1. //      EaseWrapperD3DGL is free software ; you can redistribute it and use it for your commercial or non-commercial projects, without any
    2. //      licence. This library is given "as is", and is free of use.

    1. //      EaseCore is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
    2. //      the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

    You might want to mention/clarify what license(s) your code uses on your site. I had no idea that the code was under the GNU GPL until I looked at the source. Mentioning any supporting (optional?) libraries like DevIL would be good, too.

    Also, the comments are mostly English, but some are French. French sounds nice, but five times as many people speak English. It isn't Really a problem, since Babel Fish can handle it, but it it easier to use if the language is consistent.

     
    oPacomeo

    April 26, 2005, 03:47 AM



    void2357 wrote: You might want to mention/clarify what license(s) your code uses on your site. I had no idea that the code was under the GNU GPL until I looked at the source. Mentioning any supporting (optional?) libraries like DevIL would be good, too.

    Only EaseImport and EaseCore are under GPL licence.
    The other libraries (EaseWrapper and EaseExport) are totally free of use, for commercial or non-commercial applications.

    Also, the comments are mostly English, but some are French. French sounds nice, but five times as many people speak English.[/i]

    True. I commented the *necessary code* in English, the rest of the code is commented in french.

     
    lycium

    April 26, 2005, 01:27 PM

    this rocks!

     
    Peter Mackay

    April 26, 2005, 03:38 PM

    Maybe it's my shady internet connection, but I can't get through to http://www.ease-production.com/ - all I get is a blank page. From what I've read before though, it sounds really cool.

    I have some questions about the wrapper's features. I'm sorry if these questions are silly, as I said I cannot view the site.

    1. Can I switch between OpenGL and Direct3D at run-time or just init-time? If run-time, are textures, VBs, etc lost? Or does the wrapper keep a copy for such switches?

    2. Is it available on Mac? (Obviously only OpenGL would function)

    3. Are there bindings for higher level languages like Python?

    Thanks,

    Peter

     
    oPacomeo

    April 26, 2005, 06:32 PM

    Hi,

    the website is slow, due to a recent problem with the host. But it works... when it wants :)

    1. You can switch between OpenGL and DirectX at init-time, not at run-time. I can code some trick which will copy all the ressources, but it will be slow, and fastidious to code..

    2. EaseWrapper is only available on Windows, because its aim is to use two rendering APIs with the same simplified API. And D3D doesn't exist under Linux and Mac, so I don't think I will make a specific plateform versioning.

    3. There is no high-level usage for EaseWrapper, only C++. I think to do that with C#, Java and Python but I can't give any deadline for the moment.

    Regards,

    Pacôme

     
    Peter Mackay

    April 27, 2005, 10:18 AM

    OK, thanks. :-)

    Peter

     
    void2357

    April 27, 2005, 10:15 PM

    Excellent.

     
    zOinks

    April 28, 2005, 10:42 AM

    _slightly_ off topic - I'm working on a cross-platform project (win32 & OSX) Can EaseWrapper be used under OSX with the Xcode OpenGL framework? (I realize this would take some doing) Or is this impossible considering something under the hood isn't portable.

    Update: Ok, I just read through the post more thoroughly and realize this question was already answered. Sorry!

     
    This thread contains 13 messages.