Re: [CsMain] Advice for a GSoC idea
res <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.general |
|---|---|
| Message-ID | <[email protected]> |
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.
------------------------------------------------------------------------------
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
signature.asc
(application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2QvVcACgkQNCTzcE/07ezpBQCgk6PVMMkPVPd47mHNqEnzc/Dk flIAn0W4FXUw9xrt3IYm0mtk/ZdBNVRU =xycy -----END PGP SIGNATURE-----