Showing posts with label real-time. Show all posts
Showing posts with label real-time. Show all posts

Saturday, September 22, 2012

Real-time 3D CAD software control via webcam

Screen shot of CAD software (LIMIT) controlled via webcam
In order to control the CAD software LIMIT via webcam, I created a python plugin allowing viewport manipulation (pan, zoom) via webcam. The webcam detects a specific color (red) on the webcam image and calculates relative position within the webcam window. The relative position is then applied to the CAD viewport's world matrix which is relevant for object position calculation.
A demo video how the webcam control application works can be found here: http://youtu.be/fBLqshR7Mmk/

Links:

Friday, September 21, 2012

Medical imaging

Image of wxpython OpenGL application rendering 2959572 vertices and 986524 triangles real time.
OpenGL is used to process and visualize medical imaging data. The image shows a wxpython application that I wrote do display the triangulated surface structure of meshed CT imaging data. The surface data consist of  2959572 vertices and 986524 triangles. With the use of OpenGL manipulation (pan, zoom, rotate) can be performed real time. For shading I used OpenGL Shading Language (GLSL) which allows you to easily apply lighting effects to your view.

The GLSL shaders can be downloaded here:  https://www.dropbox.com/sh/ip306uavm7jpekg/6FENd-2TUj/GLSL/

Links:
OpenGL - http://www.opengl.org/
GLSL - http://www.opengl.org/documentation/glsl/
wxpython - http://wxpython.org/