Viewpoint Forums
Viewpoint Forums
General Topics
questions about Widgets in VET Scene|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi my friends in this forum, can anyone help me ? (pic attached for reference)
I added widget to artery of the heart with <LayerData Text=".." ..../> in MTX. All works fine. I used artery object as 'Hot Spot' for itself. So when the cursor move over the model the content of Widget will show. The problem is: The distance between the artery model and widget text is too far, even I changed the value of Radius to 0.001. How to make the widget text just next to the cursor? many thanks for your help my full code: <MTSInstance Name="coronary_A_RCA" Opacity="0" Collapsed="1"> <MTSGeometry Name="coronary_A_RCA_GEOM" MultiUV="0" BackFaceDir="-1" /> <MTSMaterial Name="arteries" ID="0" RenderMode="LightTexture" > <MTSTextureMap Type="Light" Name="verydiffuse05_ELight" x="256" y="256" /> <MTSColor Type="Diffuse" r="0.83922" g="0.07059" b="0.0902" /> </MTSMaterial> <MTSInstance Name="rca" > <LayerData Text="Right coronary artery" Font="Arial" TextSize="20" TextColor="1 1 1" AnchorWidget="0" WidgetLine="0" AlwaysVisible="0" Radius="1"/> </MTSInstance> <MTSHandle Event="MouseEnter" Action="MTSAssignProperty" Target="MTSScene::crsr" Value="MTSCursor::MTS_Point"/> <MTSHandle Event="MouseExit" Action="MTSAssignProperty" Target="MTSScene::crsr" Value="0" /> </MTSInstance> ![]() |
||
|
|
Member |
Hi CG,
I believe you are using Scene Builder, correct? Please play around with the settings under the "Hot Spots" tab in Scene Builder. When you get what you like, publish it out and make note of the code. Regards |
|||
|
|
Member |
Thanks Admin
Wish you all the best in 2008! |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
General Topics
questions about Widgets in VET Scene
