Search found 9 matches

by coolhand2120
Tue Nov 09, 2021 6:14 am
Forum: General Discussion
Topic: Render GLSL Shader using C++ Plugin
Replies: 4
Views: 3355

Re: Render GLSL Shader using C++ Plugin

Thanks for the assessment!
by coolhand2120
Sat Nov 06, 2021 8:44 pm
Forum: General Discussion
Topic: Render GLSL Shader using C++ Plugin
Replies: 4
Views: 3355

Re: Render GLSL Shader using C++ Plugin

I am not new to programming. I've been programming for almost 30 years. I've been programming in C++ and GLSL shaders for about 150 lines of code. I'm more used to C#, Java, py, go. I am trying to side load GLSL shaders via HTTP requests to a popular GLSL shader website. I want to pass an ID to the ...
by coolhand2120
Fri Nov 05, 2021 7:16 am
Forum: General Discussion
Topic: Render GLSL Shader using C++ Plugin
Replies: 4
Views: 3355

Render GLSL Shader using C++ Plugin

Like the topic says. I have compiled the shader code using: glShaderSource(vertexShader, 1, const_cast<const char**>(&src), NULL); glCompileShader(vertexShader); I've used glGetShaderInfoLog to check for errors in the shader code, no shader errors. Using GLuint shaderProgram = glCreateProgram();...
by coolhand2120
Sun Oct 31, 2021 7:28 pm
Forum: General Discussion
Topic: MDK: get MWT_FILECHOOSER data
Replies: 9
Views: 5366

Re: MDK: get MWT_FILECHOOSER data

So much help! Thank you all! These comments explained it perfectly. Let me repeat it so I understand. I should only use userData->paramValues[0] To fetch instantaneous values. Meaning floats changed via the various ways the field changes at runtime like via MIDI/OSC. To fetch fields that contain str...
by coolhand2120
Sun Oct 31, 2021 10:02 am
Forum: General Discussion
Topic: MDK: get MWT_FILECHOOSER data
Replies: 9
Views: 5366

Re: MDK: get MWT_FILECHOOSER data

I really wish that worked, I have experience in C# and TS and did try casting it too. It says "invalid type conversion" and says the userData->paramValues[0] is of type float. Very strange. I'm trying to use just textboxes now but have the same problem: const MagicModuleParam MyModule::par...
by coolhand2120
Sun Oct 31, 2021 9:16 am
Forum: General Discussion
Topic: MDK: get MWT_FILECHOOSER data
Replies: 9
Views: 5366

Re: MDK: get MWT_FILECHOOSER data

So I changed char id = userData->paramValues[1]; to char* id = userData->paramValues[1]; and I get this error error C2440: 'initializing': cannot convert from 'const float' to 'char *' I'm new to C++ development so I only have a basic understanding of what I'm doing here. Thanks for the help!!
by coolhand2120
Sat Oct 30, 2021 11:10 pm
Forum: General Discussion
Topic: MDK: get MWT_FILECHOOSER data
Replies: 9
Views: 5366

MDK: get MWT_FILECHOOSER data

I'm trying to make a C++ module using the development kit. Not 100% sure if I'm doing this correctly, but I'm trying to point to a file using the MWT_FILECHOOSER widget. #define STStringParams 1 ... static const MagicModuleParam params[STStringParams]; ... const MagicModuleParam ColorRGBExampleModul...
by coolhand2120
Sun May 26, 2019 3:20 am
Forum: General Discussion
Topic: Crash on open projects from another computer
Replies: 3
Views: 2823

Re: Crash on open projects from another computer

I can see it open, I can see the project briefly. I can see an error message that's complaining about a video not being in the correct path, which is expected as it's a different computer. Then "poof". It vanishes unceremoniously. We've tried with projects without videos as well. Thanks fo...
by coolhand2120
Fri May 24, 2019 9:06 am
Forum: General Discussion
Topic: Crash on open projects from another computer
Replies: 3
Views: 2823

Crash on open projects from another computer

Both my friend and I own Magic, I wanted to share my projects with him, so I sent them over. When he opens any of my projects on his computer Magic opens, but then crashes moments later. It happens with every project I've sent him and we've tried about a dozen. I can see windows log the crash in the...