Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
H3D.org Feeds
H3D.org Forum Index
   Programming Issues
     regarding GUI in computer haptics
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
krishnan
Posted on: 2011/12/5 13:07
Just popping in
Joined: 2011/5/23
From:
Posts: 3
regarding GUI in computer haptics
We are trying to incorporate GUI in our project. In the programming(C++) part, we have two independent threads, one for graphics and one for haptics. The GUI is implemented in the graphics thread. Graphics part with GUI is working properly, but when the haptics thread gets activated, one window(Just-In-Time Debugger)stating that an "unhandled win32 exception occured" came and we are not able to proceed further Please help in this regard.
Markus
Posted on: 2012/1/4 23:02
Webmaster
Joined: 2006/3/27
From: SenseGraphics
Posts: 2178
Re: regarding GUI in computer haptics
Are you trying to directly modify the GUI from the haptics thread? That is not really a good approach.
I would suggest using the graphics thread to regularly query the haptics thread for changes and make update to GUI if a change has occurred. Like it is done for graphics affected by haptics in H3DAPI.
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 



(C) 2012 SenseGraphics AB    ---    Powered by XOOPS