WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-11-2011, 10:26 AM
djdesmangles djdesmangles is offline
Member
 
Join Date: Nov 2006
Posts: 88
Question 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!
Reply With Quote
  #2  
Old 01-13-2011, 12:27 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
  #3  
Old 01-14-2011, 05:38 AM
djdesmangles djdesmangles is offline
Member
 
Join Date: Nov 2006
Posts: 88
Thumbs up Thanks

Thanks Farshi !!!!

viz.FOREVER!!
D!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to apply shader and render texture to an object whj Vizard 0 04-23-2010 12:23 PM
Multiple Textures for Diffuse and Specularity Shader Issue shivanangel Vizard 1 05-11-2009 10:44 AM
Specular Shader Issue shivanangel Vizard 2 05-06-2009 11:08 AM
Vertex shader performance problem Joran Vizard 2 11-17-2008 01:29 AM
Improve performance with large number of onthefly objects? Fox5 Vizard 7 04-28-2008 05:19 PM


All times are GMT -7. The time now is 12:25 PM.


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