On 25.03.2007 17:26, Sebastien Marchal wrote: > All, > > I wrote a month ago that I would do a tutorial on shaders. I am doing so > and I am writing a fixed and cg version of the shader, without any of > the 'shader framework' around. Because of this, I am basically reverse > engeeniring the whold Cg framework to find the basic instructions.
You don't need to reverse it entirely: some of the shaders, e.g the parallax and fresnelWater ones, don't use the "framework" at all. > I > thinck I would get a big speed-up if there is a way to capture the > result of the xml template expansion so that I get some examples. If > not, then maybe some basic shaders for CG would be helpfull. For fixed > shader, the 'std_lighting_detail_fixed.xml' seems enough to get me started. Run an application with "--cfgfile=/config/shader-debug.cfg" as a command line argument. Then look at the /tmp/shader/ and /tmp/cgdump/ directories. (It's VFS' /tmp, the physical directory should be your standard temporary directory.) -f.r.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
