vincentweb: that’s fine. This script is just a simple code snippet, so no need to get fancy on crediting me.
Since it wasn’t all that clear on how to use the script, I’ve set up a page with the full information (illustrated with images). It describes how to use a space handler, with the Index Visualizer script as an example. You can find it here.
Has anyone thought of using this script to generate a 3d view for the red blue glasses?
Have an offset value for the distance away from the camera, create a blue dot on a vert if its 1 unit away from the offset, move it *1.1 unit to the right, create a red dot on the same vert move it *-1.1 unit to the left if its 2 units away *2.2 … would that work?
I think, that it is possible to compute distance to the (selected) camera and use this to display a dot in any color (RGB is set in the script) where you want and a second one at once too.
the addon working in blender 2.54 can be found in a post from me from today here: http://www.blendpolis.de/viewtopic.php?f=16&t=29664&p=354220#p354220.
Look how the numbers are written to the screen …
As long as the “visualise indices” modal operator is running it is still possible to edit the mesh but the possibility to UNDO the applied changes is lost (actually it is not but what the UNDO seems to do first is to go back in the modal loop of the visualise indices…)
Is there a way to keep the indices visualisation loop outside the history?