Results 1 to 2 of 2

Thread: Development of the HDR example

  1. #1
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default Development of the HDR example

    Committed to the SVN is the development of the HDR example.

    See attached image.

    The aim is to have 2 colour bands. The top one is "cl_rgb8", the lower one is "cl_rgb32f"

    The colour range of the cl_rgb8 band is 0 to 511, clipped at 255
    The colour range of the cl_rgb32f band is 0.0f to 2.0f (not clipped)

    The moving circle lowers the rgb value (by drawing black with alpha of 0.5f)

    Thus, the cl_rgb32f band should not be affected by the circle at the maximum (2.0f end)

    It does not work at the moment because ClanLib does not recognise the floating point type in CL_OpenGL::to_opengl_pixelformat() and fails.

    I don't understand that function!
    Attached Images Attached Images  

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    CL_OpenGL::to_opengl_pixelformat() has been simplified. It now handles floats.

    The HDR example has been moved to Tests/Display/HDR

    It does not yet show how the floating point texture works, I think we need to do that in a shader.

Similar Threads

  1. Development of a new teapot example
    By rombust in forum Official ClanLib SDK Forums
    Replies: 10
    Last Post: 09-16-2009, 11:15 AM
  2. Development roadmap
    By glajan in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 09-27-2007, 07:41 AM
  3. Davidi Development
    By Davidi in forum RTsoft Tavern
    Replies: 10
    Last Post: 08-07-2004, 06:14 PM
  4. Is FQ development happening?
    By jjohn in forum Funeral Quest
    Replies: 2
    Last Post: 08-15-2003, 02:13 PM
  5. "New" D-mod in development
    By Satanic Ewok in forum RTsoft Tavern
    Replies: 2
    Last Post: 09-22-2002, 12:02 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •