LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Picture Control in stand-alone app

I'm having trouble getting the mouse-controlled camera to work with a 3D Picture Control in a stand-alone application.  Everything works fine in the development system; however, when I try to build the app the scene draws ok, but I can't move the camera with the mouse. 

As I mentioned here, I tried adding \vi.lib\addons\picture3d\CameraManager\controller\CatchPicCtrlEvents.vi to the build; however that didn't fix the problem.  I also tried adding everything the the \vi.lib\addons\picture3d\CameraManager folder and still didn't have any luck.

Any ideas?

Thanks
0 Kudos
Message 1 of 3
(2,608 Views)
Well, I ran across the solution this morning as I tried to build a simple project to post here to illustrate the issue:  plop a property node CameraController.Type on the block diagram and set it to Spherical.  In the development system, I had set the property with the right-click menu item on the 3D Picture and this setting was saved and used even on first opening the VIs.  However, it seems that when building an app that setting is not retained.

It does not look like it is necessary to explicitly include CatchPicCtrlEvents.vi as a dynamically loaded VI, at least in my case.

Travis
0 Kudos
Message 2 of 3
(2,590 Views)
Hi Travis,
thank you for providing us with your solution.
Greets, dave
Greets, Dave
0 Kudos
Message 3 of 3
(2,576 Views)