I need help finding to vizard equivalent of...
these OpenGl functions:
glShadeModel(GL_SMOOTH) glEnable(GL_NORMALIZE) glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) LightPosition LightDiffuse LightSpecular glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient) glLightfv(GL_LIGHT0, GL_DIFFUSE, LightDiffuse) glLightfv(GL_LIGHT0, GL_SPECULAR, LightSpecular) glLightfv( GL_LIGHT0, GL_POSITION, LightPosition) glVertex3f() glPopMatrix () glPushMatrix () glCallList() glColor3d() |
Thanks for posting. Someone from our development team should be able to help you out when they get a chance.
|
You can create a c++ custom node plugin with the Vizard Plugin SDK. This will allow you to use openGL functions.
Download the Vizard SDK here: http://s3.worldviz.com/zip/Vizard30API.zip |
Is the custom node plugin code we would have to write ourselves or is it already written? After downloading the SDK i noticed that there was already a custom node plugin in the file.
|
I have the Lite version of Vizard. Will this plugin work for this version?
|
RodRSpv:
You should copy, then modify the CustomNode example in the download to do your customized stuff. djones1010: Can't run custom plugins without the Dev or Enterprise versions. However, there are Vizard equivalents of the functions you mentioned. The lighting and color stuff are functions of light and node objects. The global changes and node specific rendering functions described in this doc: http://www.worldviz.com/vizhelp/OpenGL.htm |
All times are GMT -7. The time now is 07:15 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC