WorldViz User Forum

WorldViz User Forum (
-   Plug-in development (
-   -   Communicating with openGL (

joopnoot 02-10-2004 04:33 AM

Communicating with openGL
I want to make a gui in openGL using the render engine of vizard.
Is this possible? Is there more information available?
Is it possible to implement the render plugin from vizard in a self made gui in openGL, so that my gui can communicate with the vizard engine?

Your Regards,

Joop Noot

farshizzo 02-10-2004 10:51 AM


To implement your own OpenGL code in Vizard you will want to use the Custom Node plugin. You need Visual Studio .NET to open and compile the project. You can download all the necessary files here . The zip file contains all the necessary library files, example code, and documentation. Since you want the OpenGL code to act as a GUI you will need to add it to the screen once you have your Custom Node compiled:

custom = viz.add('customnode.dlc',0,'',0,0,0,0,viz.SCREEN)
Let me know if you need any more help. Good luck!

Vbents 11-01-2005 10:07 PM

more complex openGL problem
For my graphics class, I would like to create a stand-alone openGL application which uses the ppt & intersense data as an input (i.e. x, y, z, yaw, pitch, and roll) and creates the stereo images for an HMD.

Is there any easy way for me to access this information directly? Or, alternatively, is there an easy way for me to use one computer running Vizard to stream the information to a second computer running my own program?

Thanks for your help,
Ben Trombley

farshizzo 11-02-2005 09:35 AM


It should be very easy to do this. Create a python socket and send the data over the network to your rendering computer. Your application can then use raw socket calls to receive the tracking data.

To get you started, take a look at the following thread. About half way down there is sample code for creating raw sockets in python to send/receive data.

All times are GMT -7. The time now is 11:35 PM.

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