Comments (2)
Hi @polarianpro! I'm glad you are using it and you are happy with it.
I haven't touch that pluging for a while (https://github.com/patriciogonzalezvivo/sublime-glslViewer). I add the console IN commands way after that plugin... I should dedicate some time to update it. If you want to use the console commands I recommend you running glslViewer directly from the console. glslViewer will reload the shader every time you change it regarding what editor are you using. By running it through the terminal you can use the commands with no problem.
About the gif, there is different ways to do this:
-
Run this script I made a while ago https://gist.github.com/patriciogonzalezvivo/7d491ad543fd8f08d6d22c3f3181729e It runs glslViewer several times (one per each frame) then it compose a gif using image magic
-
you can make your own python script that use this wrapper I made https://github.com/patriciogonzalezvivo/glslViewer/blob/master/examples/GlslViewer.py to in a same glslViewer instance change a
time
uniform (with the . setUniform(name, vale) method) and take a 'screenshot' of that frame (with the . screenshot(file_name) method). The you can compose them into a single gif using image magic -
If all that is to painful you can use http://editor.thebookofshaders.com/ which is an online version of https://github.com/patriciogonzalezvivo/glslEditor (which use https://github.com/patriciogonzalezvivo/glslCanvas) to "Record" (red button in the viewport) a video of it and then transform it to gif with any software like GIF Brewery. Note that glslEditor can be also run natively through electron.
Note: glslViewer, glslCanvas, glslEditor, glslGallery, https://thebookofshaders.com and https://patriciogonzalezvivo.github.io/PixelSpiritDeck/ all share the same specs of uniforms ; )
Hope this have been helpful. Please let me know how this project goes and share your experience online with others. I'm excited to see how more people use glslViewer as a swiss army tool for GLSL shaders : )
All the best,
Patricio
from glslviewer.
Thank you for the incredible response! I will play around with the scripts you shared and see what I can come up with. Previously I had been using a combination of HTML5 and Javascript paired with the ThreeJS and CCapture library. However, this is much better because now I do not have to save sublime and refresh the browser every time I want to see the result of changes.
from glslviewer.
Related Issues (20)
- glslViewer - Blender add-on: do not re-calucalate frame buffer size. (MacBook M1)
- Trying to write shader with lines from OBJ file HOT 4
- Release 3.2.1 filenames mismatch version number
- es 3.0 not working, extensions not working HOT 2
- Can virtual cameras be opened as streams in Windows?
- Screenshots are twice the resolution specified
- Crash when clearing loaded models
- Spaces cauing issues without syntax errors
- Missing Include and installation docs for Suse
- glslViewer does not compile. HOT 8
- Setting Icon= in desktop file not always working HOT 1
- glslViewer looks for libavdevice.so.58, but I have 59 (Debian 12.1) HOT 4
- 3.2.2 win64 Record video rate not being set correctly HOT 1
- A way to pipe the image output directly to STDOUT instead of saving to a file in headless mode?
- Installer
- [bug] Segmentation fault within the `ncurses` console because of a race condition HOT 1
- [BUG] macro expansion causes syntax error
- Launch with file that doesn't have .frag extension HOT 2
- Audio - NULL Capture Device on Mac HOT 1
- Raspberry PI 5 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glslviewer.