Blog Feature Update Mar 29, 2006
This week I decided to work on my blogging software instead of writing a tutorial. Some of the updating has to do with writing and managing entries, but there are also some new features that should be noticeable to readers. One of the bigger new features is an easier to read code block.
Code Blocks
// The code is automatically color-coded as demonstrated by this example int main( ) { CVec3 Points[10]; for (int i = 1; i < 10; i++) { Points[i] = Points[i-1] + CVec3( .5f, .5f, .5f ); } return 1; } // Cg code also is also color-coded. half4 main( half4 lColor : COLOR0, half2 uv : TEXCOORD0, uniform sampler2D diffuseMap : TEXUNIT0, uniform half3 ambientColor) : COLOR { half3 color = (half3)tex2D(diffuseMap, uv).xyz; return half4( color, 1); } Article Categories
The article list is now active. It gives a categorized list of all the articles. The category system isn't finished yet, as it only allows one category per article, and it would be better if the article could be tagged with all that apply. Now, at the bottom of the page, there's the category name and links to other articles in that category, which will be more useful as this site grows. Since I don't have that many articles, I still haven't decided on the best way to handle categories, archives, and searching, so all that will have to be updated later. |