Coder Social home page Coder Social logo

longsui / glslviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from patriciogonzalezvivo/glslviewer

0.0 1.0 0.0 60.32 MB

Console-based GLSL Sandbox for 2D/3D shaders shaders

Home Page: http://patriciogonzalezvivo.com/2015/glslViewer/

License: BSD 3-Clause "New" or "Revised" License

C++ 38.15% Makefile 0.34% C 48.82% Python 0.28% CMake 0.22% Objective-C 7.89% Shell 0.29% Perl 0.42% HTML 3.53% Gnuplot 0.01% CSS 0.03% Lua 0.03%

glslviewer's Introduction

glslViewer Build Status

Donate

GlslViewer is a flexible console-base OpenGL Sandbox to display 2D/3D GLSL shaders without the need of an UI. You can definitely make your own UI or wrapper using the Python Module (include) or any other tool that communicates back/forth with glslViewer thought the standard POSIX console In/Out or OSC.

GlslViewer support both 2D shaders and/or 3D shaders when a geometry (PLY, OBJ or GLTF) is provided.

GlslViewer gives support to:

  • fragment and vertex shaders on GLSL 120 (compatible with WebGL 1.0 and OpenGL ES 2.0)
  • resolve #include dependencies
  • adding/deleting #defines, plus a rich set of automatically generated set of defines.
  • adding/deleting uniforms (float, int, vec2, vec3 and vec4)
  • import of Textures
  • import of Cubemaps and spherical harmonics
  • import PLY, OBJ or GLTF files (and their dependencies)
  • default vert/frag shaders with PBR lighting model
  • hot reload of files on changes
  • One default light and one default camera
  • Interactive commands thought POSIX console IN/OUT or OSC
  • headless rendering and image export
  • PNG sequence export

Wiki themes

Bugs to fix

[ ] Support for GL (Full KMS) or GL (Fake KMS) on RaspberryPi

[ ] Depth frag shader for scene depthmap ( u_sceneDepth ) instead of rendering to multiple targets ( only on RPI )

[ ] Depth frag shader for light's shadowMap, to work on RPI

Author

Patricio Gonzalez Vivo: github | twitter | instagram | website

Acknowledgements

Thanks to:

glslviewer's People

Contributors

patriciogonzalezvivo avatar doug-moen avatar mihaisebea-gl avatar yvan-sraka avatar follower avatar andystanton avatar discordianfish avatar karimnaaji avatar noerw avatar thezoq2 avatar hamoid avatar admsyn avatar excalith avatar dorald avatar edne avatar jasmin68k avatar couleurs avatar kamikatze-k2 avatar xecdesign avatar abigpotostew avatar wilhansen avatar davl3232 avatar djulien avatar r21nomi avatar sabjorn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.