Results 1 to 3 of 3

Thread: Help to create an image preview panel

  1. #1
    New User
    Join Date
    Aug 2017
    Location
    London, Canada
    Posts
    2

    Help to create an image preview panel

    I have been struggling with this for a couple of days, can anyone shine a light on me?


    I want to create a panel with some of the textures that I have already loaded on a scene.. Similar to this one. Any help ? thanks!



    Capture.PNG



  2. #2
    Member
    Join Date
    Oct 2016
    Location
    Brazil
    Posts
    31
    I'd like to make something a little different (use an image as background for a Panel), but I'm curious about this one as well.

    Bump.



  3. #3
    Member kilon's Avatar
    Join Date
    Sep 2007
    Location
    Greece , Athens
    Posts
    1,749
    Originally Posted by EpicArcher79 View Post
    I have been struggling with this for a couple of days, can anyone shine a light on me?


    I want to create a panel with some of the textures that I have already loaded on a scene.. Similar to this one. Any help ? thanks!



    Capture.PNG
    I have released yesterday Morpheas , a secondary Blender GUI API which uses bgl for the creation of custom guis. It does what you want pluse it has the added flexibility that it allows you greater control than the default Blender GUI API.

    https://blenderartists.org/forum/sho...BGL-and-OpenGL

    Its kinda very early stage right now with limited documentation and features but it works and can do what you want.

    It can also do what dandrea wants. The disadvantage is that if you layer above a panel that scrolls or collapses/expands you will have to address that yourself manually. The easiest way is to display in a part of the window that has no scrolling and does not overlapp with existing buttons etc so you dont have to deal with this issue.

    It will still work , its just Morpheas does not take into account the existing Blender GUI as my intention was to create GUIs that lives outside side panels etc to avoid the bloat.
    http://kilon.blogspot.com/ <--- This my blog, you will find things i make here like music, 3d and 2d graphics and python programming.




Posting Permissions

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