Hi List,
I have a couple of questions.
First, regarding hacking around the fluxus engine code, I made some small
modifications:
1: For multisampling I use glutInitDisplayString("rgba double samples>=8 depth
stencil");
I've had trouble before with setting up multisampling in GLUT and the string
solution works.
It would be also possible to read the string from a configuration file, that
way users could modify rendering settings easily.
2: I had a look @ the shadow volume code, and I modified it to render the
shadows by subtracting light from the scene as a postprocess.
This has the benefit of being much faster, because it's enough to render a
fullscreen quad with multiplicative blending instead of rendering the geometry
twice, and allows having shadows over objects rendered
with arbitrary shaders.
The downside is that it's more lighting is much less 'correct' since ambient
light is not taken into account, and it seems to accentuate the problems with
low poly smooth surfaces when doing self shadowing.
3: I added a reload current script function that gets called with F1, This way
I can edit my scripts in an external editor and reload them quickly.
If any of these are useful I will be happy to send in the code.
I had a hard time though with debugging... do you use GDB on OSX?
Another question regarding the installation of modules. I wanted to install
gabor's anttweakbar module but I didn't find any info on how to install it.
I installed the lib, and then tried putting tw.ss in modules/scheme
but when I open the demo file I get this error message default-load-handler:
cannot open input file: /path...../tw.ss
Sorry but I have very little experience with scheme so I don't really know what
I'm doing here.
best
Daniel