Quantcast
Viewing latest article 6
Browse Latest Browse All 10

Widgets & GUI toolkits (and more)

In their shadertoys, programmers have to handle everything, and redo everything from scratch every time. For repetitive basic utilitary features like GUI or font display it can thus be very boring, so that many just don’t embed any GUI and users have to tweak defines.
Fortunately, various community members have publish useful base elements that you can reuse !
( PS: coders, please do add the tag “gui” to your utilitary shaders: for now it gathers very little ! )

Bags of features:

  • Image may be NSFW.
    Clik here to view.
      Super Shader GUI 98 : Windows98 inside !
    Windows (move, iconify, scroll), sliders, checkbox, color picker.
  • Image may be NSFW.
    Clik here to view.
      Physically Based Shading :
    (open) menus & submenus, buttons, sliders, boxes selector (here, index color).
  • Image may be NSFW.
    Clik here to view.
      UI easy to integrate :
    Display label+value, slider (included in label), color picker.
  • Image may be NSFW.
    Clik here to view.
      Sculpt tool , Image may be NSFW.
    Clik here to view.
       Interactive pottery :
    Labels, sliders, checkbox, boxes selectors, keys.

Isolated features:

Sliders & widgets :

  • Image may be NSFW.
    Clik here to view.
      Shader UI Toolkit : Sliders and checkbox.
  • Image may be NSFW.
    Clik here to view.
      Window manager : Basic windows (move-resize).
  • Image may be NSFW.
    Clik here to view.
      knobs

color picker :

Mouse management:

  • Image may be NSFW.
    Clik here to view.
      pick & pan objects: 3 methods : pick, select region, select by framing, using the new (nov,2020) mouse events.
  • Image may be NSFW.
    Clik here to view.
      Pan zoom control : Mouse pan (with inertia).

Keyboard management:

Text & int/float numbers display:

Specials:

  • Image may be NSFW.
    Clik here to view.
      Material Menu : Live previews menu.

Graphics:

  • Image may be NSFW.
    Clik here to view.
      Mode 7 WASD Walkaround : basic ASWD move on 3D terrain.
    ( No longer compiling: replace vec2 BUFF_RES with #define ).
    Remark: coders, do account for non-Qwerty keyboards: replace or add arrows ! (codes 37-40)
  • Image may be NSFW.
    Clik here to view.
      Raymarching Sample Code : Basic ray-tracing sample code ( camera rotations, etc).
  • Missing ! : Some easy-to-reuse code for 2D and/or 3D walk-through.
    –> Which shader would you advise ?

Viewing latest article 6
Browse Latest Browse All 10

Trending Articles