Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to transform the color of hoops geometry segment Real-time?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-03-2011 01:37 AM
Hello everyone:
I have an queston about transforn color of hoops geometry segment need all of your helps
out requiremwnt is when we move mouse pointer to an component, the component color is changed, when mouse pointer leave it, the color is recoveried.
the main code as below description:
HC_Open_Geometry(lKey);
HC_Set_Color("red");
HC_Close_Geometry();
m_pView->Update();
(lKey : this is the compoint key which mouse pointer above it).
when we use above code, the component color is not changed. but when we zoom the camera, the color is changed .
our question is:
How to transform the color of hoops geometry segment Real-time when mouse pointer on or leave it?

