LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pick up the 3d model after change the picture control to the Opengl control?

Colleagues,
I have a problem when I use the cvi.I need to draw a 3D model use the opengl in the picture control,and pick up the mode.For example,I transfer the picture control to the Opengl control,then draw a cube and sphere by Opengl。And I want to pick up them。Such as,when mouse click the cube,it will show a MessagbBox("a cube");when mouse click the sphere,it will show a MessagbBox("a sphere");But it doesn't work.
I'm a chinese student and juse begin to learm the cvi.And my English isn't very good.I don't know whether the problem has been clear.Anyone can help me?

0 Kudos
Message 1 of 3
(2,800 Views)
I haven't used the OpenGL CVI addition for years, but IIRC there is (was?)
no callback associated to it. Meaning that some actions are defined within
the OpenGL control, such as rotation/zoom, but that's it.
--
Guillaume Dargaud
http://www.gdargaud.net/
0 Kudos
Message 2 of 3
(2,795 Views)

Thanks for your reply.I think I have to use the VC++ to make an Opengl Axtive that can pick up the 3D model and then use it in the cvi.

0 Kudos
Message 3 of 3
(2,792 Views)