Very cool stuff. It’d take me a week to wade through those geometry shaders and understand everything in there, so it’s nice to have something running that I can check through and toy with to help me get it a little better. I found the strange bug too
You might want to comment out the ofxMaxim inclusion in the project that you uploaded.
Great! this code was one of my dreams in OF! i know that code…i have run the original windows version time ago.i will try to use it in linux and windows OF. It is interesting because use a geometry shader to build the marching cube. Sure it will help us to undertand beter many things.
Many tanks!
just tried the code on a macbook pro with a NVIDIA GeForce 320M and looks like the shaders do not behave correctly: it only renders fragments of the sphere and I’m getting this error:
Validation error: Validation Failed: Sampler error:
Samplers of different types use the same texture image unit.
- or -
A sampler's texture unit is out of range (greater than max allowed or negative).
I have some free time, I’ll try to look deeper into the problem
Hi @naus3a,
i think the error message may be misleading for helping to find the fault - I get that error as well on my machine as well (330M) even though the code works on it - I think it may be that the validation check gets called too early.
Chris