BruceLane Posted October 26, 2014 Share Posted October 26, 2014 hi,I'm a VJ, I spent the last 2 years in the Cinder C++ framework for creative coding, building my pixel shader app, which uses Spout for texture sharing between apps. I got a fantastic idea to make an extension to it:Adapt CYOS to be a live coding environment for the visuals! It involves several tweaks:as the audience of VJ shows are expecting a fullscreen render of the output, I need to find a way to send the current edited pixel shader to my C++ app (via node.js I guess)each character typed in the editor should trigger a compilation of the shader, without having to press the "Compile" (play) button, then if it compiles without errors, sending the pixel shader to the C++ apprename the uniform variables to have the same names as shadertoy (uniform sampler2D textureSampler becomes uniform sampler2D iChannel0 for instance)It means it could run on any recent device in a supported browser to control a VJ show locally on remotely. Let me know what you think and if you want to get involved.Bruce Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 27, 2014 Share Posted October 27, 2014 Hey, that could be a gooood idea! You can easily start from CYOS code:https://github.com/BabylonJS/Samples/tree/master/CYOS Quote Link to comment Share on other sites More sharing options...
BruceLane Posted October 27, 2014 Author Share Posted October 27, 2014 yes I started diving into the code!I need to add some uniforms like iGlobaltime for animation, support multiple textures...About renaming the uniforms, it can be difficult as there are lots of people using the current names? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 28, 2014 Share Posted October 28, 2014 You can create a fork and a new version like CYOS4Creative BruceLane 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.