Hello Michael,
Michael Raab wrote:
> i need to render the wireframe of an object on top of the shaded surface.
> Afaik, the easiest way to do this is to use a Multipassmaterial. This works
> great.
> I need to toggle between shaded view and the wireframe/shaded view. To solve
> this in first case i would use a standard ChunkMaterial, in the second case
> i'll have to use a Multipassmaterial with two ChunkMaterials attached.
> Now i'm wondering if there are performance differences between using a
> Multipassmaterial with one attached ChunkMaterial and simply using the
> ChunkMaterial directly to resolve the first case (simply shading).
I would not expect a big difference. The overhead is essentially a loop
that is only run once vs. just running the loop body directly.
Cheers,
Carsten
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users