As is seemes as there are very few samples of ARB VP & FP samples for a near complete fixed function replacement, we have started a small collection of samples at our web site that we wanted to share with you. http://www.tooltech-software.com/forum/forum.asp?FORUM_ID=11
Most stuff that I once did with register combiners I nowadays do programatically with VP & FP. So much easier and when used with Cg or glslang you get really powerfull behaviours…
I like it, but one little question, this is meant to be informative, and much of it is, but why use temp variables as r0,r1,r2 in the VP ( the FP as better temp names)
if you named the variables with more informative names it would be easier to follow the code, even if it might be long names.
if you want to reuse the same variable for several different purposes, i suggest that you ALIAS the name.