Hi Enrico,
hiya all,
this sunny morning I came up with more questions about OpenSG:
1) is there a callback function that is called every time an object is
displayed? It could be handy to supply the OGL pipeline with some custom
parameters.
2) how many texture units does OpenSG supports for every material?
Should be 16 depends on your graphicscard.
3) how may vertex stream does OpenSG supports? I'd like to pass to my
shaders the tangent, normal, binormal stuff and i was trying to find a
*smart* way to do the trick.
The current geometry supports positions, normals, colors, secondary
colors and 4 texture coordinates. For the tangents/binormals you can use
the colors and secondary colors or the texture coordinates.
BTW there is already a function for calculating tangents and binormals
in OSGGefunctions.h
even if i know I should become soon a pain, i re-post my latest
(unanswered) questions:
1_bis) how many rendering passes supports OpenSG? I mean like the good
ole multi-texturing tecnique that required two different renderings on
the same target with different alphas...
2_bis) The rendering pipeline can be customized to satisfy some
application request? For example: i want my app to support dynamic
shadows, for some meshes, so i need to pilot the rendering cycle
depending on the geometry processed.
thank you all!!!!
enrico
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
--
Andreas Zieringer [EMAIL PROTECTED]
Fraunhofer IGD - A4 phone +49 (0)6151 155 289
Fraunhoferstr. 5 fax +49 (0)6151 155 196
D-64283 Darmstadt www.igd.fhg.de/www/igd-a4
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users