#1
|
|||
|
|||
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() |
#2
|
|||
|
|||
Thanks for posting. Someone from our development team should be able to help you out when they get a chance.
|
#3
|
|||
|
|||
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
__________________
Paul Elliott WorldViz LLC |
#4
|
|||
|
|||
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.
|
#5
|
|||
|
|||
I have the Lite version of Vizard. Will this plugin work for this version?
|
#6
|
|||
|
|||
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
__________________
Paul Elliott WorldViz LLC |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 11:13 AM |
Vizard tech tip: Text to Speech | Jeff | Vizard | 1 | 01-15-2009 09:39 PM |
Vizard and Augmented Reality | realvision | Vizard | 4 | 04-04-2008 10:59 AM |
Vizard won't run | wouters | Vizard | 5 | 02-05-2008 11:12 AM |
Fall 2007 release of Vizard R3 | 3 D | Announcements | 0 | 10-15-2007 04:50 PM |