Both methods will dump the full shader code. The difference between the two methods is that uncommenting VTK lines would require a new build whereas introducing a syntax error can be done at runtime without requiring a new ParaView build.
Thanks Cory! I’ll certainly look at that code. I’m hoping I can get a grip on best practices and pit falls, how to take the most advantage of what they can do. I’ve certainly learned much so far, but I think I have much more to learn. Knowing the limitations is a big part of that.
Both methods will dump the full shader code.
Yeah, I was wondering about that. The code I’ve been getting so far, from errors seems incomplete. It’s labeled at the top as “vtkShaderProgram” and has 94 line. The first error message says vthShaderPorgram.cxx line 1145. The only code is code from the test shader everything else is #defines, //tags and main().