Re: some notes

res <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <[email protected]>
On 25.05.2012 17:56, Naman Gupta wrote:
> also there is a function "vert2frag main" in ocean.cgvp. how is
> this function called? 

It's the entry point for per-vertex processing.
Think of it as the graphics hardware calling this function for every
vertex is processes while the shader is used.
The returned values will be used to compute the fragment program input.

> i'm not able to understand if fragment shader needs work or not as it's
> only the wave function probably for interconnection of adjoining ocean
> cells. 
> 
> i'd also need a "small little quick clue" on how to approach it.  

The proper connection between adjacent ocean tiles can only really be
handled in the tile geometry generation, i.e. that means the mesh
plugin. (So, not in a shader at all.)

-f.r.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop
signature.asc (application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+/rpMACgkQNCTzcE/07ezxpACgs2yDxIhOr8WE+m9c9ED9ArnZ
gW0AoIGD4cXmtIaesVFfrgqRbeGcLCiZ
=N9xr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.