|
static gridi thought id try and make a consumer patch. since i never programed any open gl it had to be something simple but hopefully useful. so here it is. it something like the glsl grid but faster. it uses a display list to store the grid on the graphics card. because it uses a display list animating any of the inputs (apart from line width) is not a good idea since it regenerates the display list when you change them. im also not sure if its something that should be used inside the iterator. but these issues apart i think i succeeded in doing what i wanted. its a grid and its faster then the built in glsl grid:). if you have it make more than one grid, the x coordinate of the second texture coordinates (gl_MultiTexCoord1) is the index of the grid. dunno how useful that is but i remembered the 3D medical scans toneburst was doing. give it a whirl.
|
not working on my machine. SL, macbook pro.
hmmm. havent tested it much in SL but it did seem to work (it would render and i didnt get any errors). what graphics card do you have? and can you also tell me what the error was please. what you pasted only talks of where it happened but not what happened.
anyone else have this problem?
If I set Line Width to zero, I get a bunch of GL error messages (Nvidia GeForce 8600M GT). Otherwise this seems to work fine so far on 10.6.