Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

OpenGL in DisplayConduit

$
0
0

@kitjmv wrote:

Hello,

I would like know if it’s possible to use a vertex buffer in DisplayPipeline.DrawOverlay ?

I would like use ImGui for build a ui in a display viewport, ImGui not dépend to a graphic or UI library, it only builds a structure of vertices.

My problem is that after ImGui built this structure, I need to rebuild it with Rhino objects to draw them in a window. but it is slow.

An alternative solution is to use a mesh of rhinoceros, but here too it is not very useful,
The overall ImGui process is to build a vertex structure, then define a VBO and call glDrawElements for each element.

is it possible to manipulate opengl to draw an overlay on a viewport ?

Thank you.
-jmv

Posts: 33

Participants: 5

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles