WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-02-2009, 07:38 PM
djones1010 djones1010 is offline
Member
 
Join Date: Nov 2008
Posts: 15
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()
Reply With Quote
  #2  
Old 04-07-2009, 09:03 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Thanks for posting. Someone from our development team should be able to help you out when they get a chance.
Reply With Quote
  #3  
Old 04-07-2009, 10:49 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
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
Reply With Quote
  #4  
Old 04-08-2009, 08:02 AM
RodRSpv RodRSpv is offline
Member
 
Join Date: Feb 2009
Posts: 9
Send a message via Yahoo to RodRSpv
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.
Reply With Quote
  #5  
Old 04-08-2009, 07:09 PM
djones1010 djones1010 is offline
Member
 
Join Date: Nov 2008
Posts: 15
I have the Lite version of Vizard. Will this plugin work for this version?
Reply With Quote
  #6  
Old 04-08-2009, 10:39 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
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
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
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


All times are GMT -7. The time now is 01:07 PM.


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