WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Shader best performance ? (https://forum.worldviz.com/showthread.php?t=3318)

djdesmangles 01-11-2011 10:26 AM

Shader best performance ?
 
Hello,

Vizard offers at least two ways of using shaders:
1) By coding directly the GLSL shader in the python code;
2) By coding the shader inside a vizard dll.

Which solution is the best ?

viz.FOREVER !!!
D!

farshizzo 01-13-2011 12:27 PM

Ultimately, the shader is uploaded and executed on the GPU, so there is no performance difference. In terms of development time, writing the shader within the Python script is much faster, so I would recommend that. I really see no reason for writing the shader code within a DLL.

djdesmangles 01-14-2011 05:38 AM

Thanks
 
Thanks Farshi !!!!

viz.FOREVER!!
D!


All times are GMT -7. The time now is 03:37 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC