SOMVis first release
20-12-2009 at 04:24:29 | no comments
I've just uploaded a little program for SOM visualization of data sets. You can check it here
20-12-2009 at 04:24:29 | no comments
GLSL code stringify
05-08-2009 at 20:29:41 | 3 comments
I just started few weeks ago with GLSL and I was trying to find the best way to include shader code into my intro.
I found out many ways, the two following ways were easy to use just having a little text converter, but hard to manage changes because you always mistake while entering the separators:
GLchar* vs="void main(void)"
"{"
"gl_TexCoord[0] = gl_MultiTexCoord0;"
"gl_Position = ftransform();"
"}";
This one is even harder to read:
GLchar *vs_test ="void main()\r\n\
{\r\n\
gl_Position = ftransform();\r\n\
}";
But finally, I found a much simpler and good looking way to stringify the shader:
#define STRINGIFY(A) #A
GLchar* vs_blur=STRINGIFY(
void main()
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = ftransform();
});
05-08-2009 at 20:29:41 | 3 comments
WIP #1 Geosphere
05-08-2009 at 20:19:59 | no comments
I love tri-geospheres, Aren't they lovely?
05-08-2009 at 20:19:59 | no comments