On 28.03.2011 11:36, Antony Martin wrote:
> How do I run the demo using another test scene? I only found it in the 
> "startme" 
> executable so far. Is it possible to switch to forward rendering inside the 
> demo?

IIRC you could specify different paths to world on deferreddemo's
command line; check it's command line help.

> I must say that parsing is not my strengh. I wonder that a basic setup of 
> GLSL 
> shaders and VP/FP unification would only require some XML parser calls to 
> recognize some GLSL-specific tags/whatever?

Roughly, yes.

For some general information on how CS shaders are made up:
http://www.crystalspace3d.org/docs/YoFrankieTutorials/crystal_space_development/shaders_intro/shaders_intro.html
- that also includes some sample XML.
And by seeing the “old” syntax you may already be able to guess how a
syntax for the “unified” system would look.

The actual XML parsing is already abstracted - i.e. you access XML nodes
with statements such as ‘GetNode ("vp")’.

> Also, do you support tess/geom shaders in Cg? If I add them in GLSL then 
> maybe I 
> should add them in Cg too to be consistent.

No, those shaders aren't supported in Cg.
However, I would consider support in Cg to be very low priority.

-f.r.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: 
mailto:[email protected]?subject=unsubscribe

Reply via email to