Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Scene Builder    2D HOTSPOTS AND SCALING

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Sorry guys but i'm a newbie.

I have a problem where I want to add 2D hotspots that scale when I zoom in and out with the mapping image in the scene.

I have tried using hotspots in my scene with Scene Builder but they seem to skew out and don't scale correctly with the scene and they stay at one fixed size.

I want the hotspots to be pinned sp that they can pan out of the viewpoint window , while keeping there global position. I have tried fixing coorindates etc however the camera view only had options that make the hotspot behave in a 3D manor.
 
Posts: 10 | Registered: April 29, 2007Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Hello,

In order to have hotspots that "scale with the scene" (I'm assuming you mean "zoom in and out with the camera"), you would need to use 3d plane primitives and set them to billboard.

To do this with Scene Builder, go to the PRIMITIVES tab and click XY Plane. With the Plane selected, go to the INSTANCES tab and click BILLBOARD to turn it on.

The 3D plane will now always face the camera, but will also rotate and zoom with the scene.

You can then place a swf texture on the 3D plane with the label you want. Move the 3D plane anywhere you like in the scene.

In order to show/hide the 3D plane when the user rolls over the corresponding 3D object, write an Interactor into the MTX code after publish that shows/hides the 3D plane.

All this would be much easier in Enliven. Is there any reason why you choose not to use Enliven? With Scene Builder you have to write code into the MTX manually, such as an Interactor in this case. But with Enliven, you would be able to add the interactor without writing code.

Regards
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Excellent I will give it a go. And no there isn't any reason why I cannot use Enliven bar that fact that I am jsut starting out Smile

Thanks for the help, I will give it a shot.

John
 
Posts: 10 | Registered: April 29, 2007Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Hi Admin,
I had a go with the instructions and understood about the billboard feature to do with the z orientation. the billboards worked fine with the orientation but the scaling however was not soo successful

Have I missed something?

I though I better clarify. If I built my scene in zoomview builder can I still add the hotspots which scale using the zoomview functions (zoom and pan) as well as have hotspots that stay pinned on the background image. I guess in simplier term am I able to lock off the camera to only work with the scene in a 2D manor so I can jsut pan and zoom in on the image created from zoomview creator.

Does enliven have a way to create a zoomview scene within the program?

Thanks
J

This message has been edited. Last edited by: John M,
 
Posts: 10 | Registered: April 29, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Scene Builder    2D HOTSPOTS AND SCALING