patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.74k stars 351 forks source link

Console IN Commands + Rendering Question #92

Closed muzzeno closed 7 years ago

muzzeno commented 7 years ago

I just started using this plug-in for sublime text 3 and I love it already! However, I ran into an issue I was hoping someone could help me with.

Where are the png sequences saved after rendering in headless mode? After entering the command it returns: // Will exit in 1 seconds. // Will save screenshot to TestRender.png on exit. // Screenshot saved to TestRender.png

However, when I search my computer for TestRender.png it is no where to be found.

Thank you for any assistance that can be provided.

patriciogonzalezvivo commented 7 years ago

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:

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

muzzeno commented 7 years ago

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.