EXPERIMENTAL 2D Image Texture drawing (Windows, OS X)
Moderators: jesterKing, stiv
EXPERIMENTAL 2D Image Texture drawing (Windows, OS X)
As outlined at http://wiki.blender.org/bin/view.pl/Ble ... sToTexture and http://elubie.de/blender/iconpatch/ , Andrea Weikert and I (Matt Plough) are working on replacing glCopyPixels image drawing calls with drawing textured quads.
This will improve visual quality, provide the expected image drawing behavior, and improve speed on modern systems.
Andrea has coded a very useful set of functions that provide new features in addition to fixing problems -- material preview icons, for one. However, she is not very familiar with OpenGL, so this might not work correctly (no crashes, of course!) on all systems. Her build is here:
http://www.elubie.de/blender/iconpatch/ ... npatch.zip (Windows)
I have coded a small, tight set of functions that only fix problems. I have not yet done anything with icons, so don't expect material preview icons in this build. However, I have a lot more experience coding OpenGL, so my code should work correctly on more systems (again, no crashes anywhere). My build is here:
http://www.princeton.edu/~mplough/tmp/blender.zip (Windows)
http://mke3.net/rt/meestaplu-tex-osx-20050801.zip (Mac OS X, provided by Matt Ebb -- Thanks!)
I'd love to hear some feedback about how this works on different systems; please provide your OS and video card information, which build you used, and comments on how well it worked.
It is not recommended to use these builds for day-to-day modeling; they are purely experimental.
Matt
This will improve visual quality, provide the expected image drawing behavior, and improve speed on modern systems.
Andrea has coded a very useful set of functions that provide new features in addition to fixing problems -- material preview icons, for one. However, she is not very familiar with OpenGL, so this might not work correctly (no crashes, of course!) on all systems. Her build is here:
http://www.elubie.de/blender/iconpatch/ ... npatch.zip (Windows)
I have coded a small, tight set of functions that only fix problems. I have not yet done anything with icons, so don't expect material preview icons in this build. However, I have a lot more experience coding OpenGL, so my code should work correctly on more systems (again, no crashes anywhere). My build is here:
http://www.princeton.edu/~mplough/tmp/blender.zip (Windows)
http://mke3.net/rt/meestaplu-tex-osx-20050801.zip (Mac OS X, provided by Matt Ebb -- Thanks!)
I'd love to hear some feedback about how this works on different systems; please provide your OS and video card information, which build you used, and comments on how well it worked.
It is not recommended to use these builds for day-to-day modeling; they are purely experimental.
Matt
I love vector calculus at 4 in the morning.
Cekuhnen, do you build your own Blender versions? I have a patch available, but need to post it in the tracker. If you apply that, you'll be able to try it (I'll let you know when it's up).
Bagration -- yes, we had seen that issue before; glad to see that you confirmed it. I'm pretty sure I know how to fix it.
Matt
Bagration -- yes, we had seen that issue before; glad to see that you confirmed it. I'm pretty sure I know how to fix it.
Matt
Thanks meestaplu for putting up the link to my patch too, I've been quite busy this week, but still I've managed to add the partial update to my code, so no more lag. Additionally I've been able to solve (hopefully all) OpenGL issues thanks to meestaplu 
There is one issue though still, the small icons in the pupmenu are only shown after they have been rendered once in the preview - working on that now.
Anyway, here is the link to the improved blender.exe for further testing:
http://www.elubie.de/blender/iconpatch/ ... atch02.zip
I'd be glad to receive any feedback or any issues with graphics cards that you experience.
After solving the final issues I plan to upload a patch to the tracker, to have a few more eyes look on the code.
--- Elubie

There is one issue though still, the small icons in the pupmenu are only shown after they have been rendered once in the preview - working on that now.
Anyway, here is the link to the improved blender.exe for further testing:
http://www.elubie.de/blender/iconpatch/ ... atch02.zip
I'd be glad to receive any feedback or any issues with graphics cards that you experience.
After solving the final issues I plan to upload a patch to the tracker, to have a few more eyes look on the code.
--- Elubie