What is Picture to People ?
"Picture to People" (P2P) is a huge Computer Graphics project. It was started to create new softwares able to make 2D drawing, 3D rendering, vexel drawing, text effects, photo effects, image filtering and other complex Computer Graphics operations. It has been made from scratch, including its low level Computer Graphics libraries like Maccala. Nowadays, most final features produced for this project are released as free online tools available from its official website. This blog talks about Computer Graphics, mainly concerning Picture to People development.
Wednesday, February 2, 2011
Fonts, vectors & headache
If you have some knowledge about vector based calculations, for sure you have already heard about "normal vectors". Possibly you have even made some calculations with them.
Well, they are really important for many 2D and mainly 3D graphic algorithms, so I deal with these kind of vectors daily. They are so important that usually we use some conventions to get them as easy and fast as possible. That's the point: they must be fast to calculate. Below you see an transparent wire-frame letter "a" in Arial font. The normal vectors of interest are drawn in gray too. I got all these normals easily because our good old Arial font was made correctly.
Unfortunately, there are many non-professional fonts that are not so good as the Arial one. This really bothers me, because I can not get the vector based data for these bad fonts as fast as I need to use in complex graphic effects. I have already added a lot of complexity to some of my algorithms just to be able to use these fonts.
If people followed techniques, conventions and standards when doing tech tasks (like fonts creation), software development would not be such a mess. :(