easy3d_viewer¶
Support |
|
|---|---|
Required licenses |
Easy3D |
Recommended images |
Any mesh or point cloud from the folder |
Location |
|
Purpose¶
This sample program demonstrates how to:
Display a 3D resource (cloud or mesh) within an eVision 3DViewer using OpenGL and SDL2.
Code highlights¶
Create the SDL window and the E3DViewer.
window = SDL_CreateWindow(b"Easy3D - 3D Viewer Sample", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 800, 600, SDL_WINDOW_OPENGL) context = SDL_GL_CreateContext(window) SDL_GL_MakeCurrent(window, context) viewer = eVision.Easy3D.E3DViewer(eVision.Easy3D.EUIAPI.Qt)