Giter Club home page Giter Club logo

glskeleton's Introduction

GL Skeleton

GL Skeleton is a 3D OpenGL application template based on PySide6 and PyOpenGL. GL Skeleton requires at least python 3.9 and OpenGL 4.6, and runs on Windows and Linux.

If you enjoy the repository, please give my repo a star ⭐ ⬆️.

Screenshot

screenshot screenshot screenshot

Requirements

  • PySide6
  • PyOpenGL
  • numpy
  • PyGLM
  • Pillow
  • imgui

Current Features: ⚙️

  • Refactory py3gl4 to only support OpenGL 4.6, and includes major OpenGL objects
class Program:
class VertexShader(Shader):
class TessellationControlShader(Shader):
class TessellationEvaluationShader(Shader):
class GeometryShader(Shader):
class FragmentShader(Shader):
class ComputeShader(Shader):
class VertexArrayObject:
class VertexBufferObject:
class ElementBufferObject:
class Texture2D(Texture):
class Framebuffer:
class Renderbuffer:
  • Demo cube demonstrates the usage of framebuffer and renderbuffer
  • Demo fractal demonstrates the usage of compute shader
    • Mouse control
    • Integrate with imgui
  • Demo tessellation demonstates the usage of all 5 shaders (VertexShader, TessellationControlShader, TessellationEvaluationShader, GeometryShader and FragmentShader
    • Integrate with imgui

Run

Tested on Python 3.9.7, 3.10.6 and Windows 10 OS Clone the repository, and then cd glskeleton python app.py

glskeleton's People

Contributors

eagleeatapple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zanxueyan

glskeleton's Issues

request: feature addition

Hey, amazing app demo.
i have two requests(demos) which i hope will add some /huge value to this template.

1- add a demo for controller (camera) orbit/arcball etc.
2- add a demo for loading obj/stl files via PySide6 QMesh

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.