Modify this code to work with Panda3d 1.10: GLSL dithering filter help
Isn’t for a very old version of Panda so shouldn’t require many changes.
This is the post with the actual code, rest of topic is just explaining what it is for: GLSL dithering filter help
This is for a similar horizontally autostereoscopic display, but it is dithered RGB, not dithered monochrome.
What we need to do is take a 1920x1080 window and fit 3 480x854 parts in it (from top-left) with each part doing the same as the above code,but have each part show the red, green and blue channel to be turned monochrome dithered.
The point of doing this is then via projection and bunch of optical elements the 3 sections are going to be overlayed on top of each other to get one 854x480 dithered 3bit RGB projection.
I think the best would be to give it to rdb, which can then decide where to spend it.
I have attached a version, is this what you were looking for? It was not entirely clear if you want the image also rotated, so let me know if you need any changes. Dithering.zip (8.6 KB)
No difference I’m afraid.
Can you please check if you’ve added or modified something in your Config.prc file which might have an effect here?
Which OS are you using?
I am using a standard config.prc, on windows 7 64bit. Maybe you can visit the IRC so we can discuss it there?
What are you exactly seeing? A white box in the top left corner?
Thank you.
Should be correct.
If any tweaks are needed I should be able to code the rest.
BTW have donated already.
One question though, my Panda3D API knowledge is rusty, what was the method for locking the FPS to a given value? (not to monitor refresh rate but to a custom value)
Also if it is okay with you you can pm me your email and I’ll give mine, in case in the future you’ll be interested in some panda3d freelance work.