View Full Version : ARB VP & FP Samples

07-16-2003, 12:28 AM
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.


07-16-2003, 12:56 AM
Thanks !!
It's great.

Antorian is Happy http://www.opengl.org/discussion_boards/ubb/biggrin.gif

So a question about that:
NV Registers Combiners are same thing than ARB_FP ? or it's something different?

07-16-2003, 01:21 AM
Well...kind of..

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..

07-16-2003, 01:27 AM
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.

but still, its great.

07-16-2003, 01:39 AM
Thanx ! I must say that you should give mr DBUGGER the credits for the actual VP & FP samples he has implemented in Gizmo3D.

I agree. We should use better names to make it easier to follow the code...

07-16-2003, 01:46 AM
Hi! Yes, they are quite unoptimized and uncleaned. I will clean them up some soon, but I have more tasks to finish first. Thanks for your comments! http://www.opengl.org/discussion_boards/ubb/smile.gif