Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint XML Schema    Hyperview to SuperView

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Picture of lauramb
Posted
I'm attempting to convert Hyperview to Superview

In my current scene, this hyperview syntax works: (Line numbers added for reference).

1.<MTSBaseComponent CoordinateSystem="2" Rect="0 0 0 0" PreserveCamera="0"/>
2.<MTSAction Name="start_hyperview">
3. <MTSAssignProperty Target="MTSBaseComponent::smod" Value="1"/>
4.</MTSAction>
5.<MTSInteractor Name="return_from_hyperview">
6. <MTSHandle Event="KeyDown" Action="MTSAssignProperty" Target="MTSBaseComponent::smod" Value="0"/>
7.</MTSInteractor>
8.<MTSInteractor Name="myInteractor">
9. <MTSHandle Event="MTXLoad:done" Action="start_hyperview"/>
10.</MTSInteractor>


From the "vmp_win_340_relnotes.pdf" the Conversion is really vague:

quote:
Entering/Exiting SuperView Mode
Hyperview is triggered by setting the boolean property MTSBaseComponent.smod to "1".
Superview uses the boolean property "SuperView". Right now there is no fallback to
Hyperview from Superview. You have to do this manually in the content using events or
checking the status in the property setting. Setting either "smod" or "SuperView" to "0" causes
you to exit hyper/super-view mode, regardless of which was active.


Would the proper syntax be:
For Line 1
1. SuperView, instead of, MTSBaseComponent
or
2. MTSBaseComponent SuperView = "1"

For Lines 3 and 6
1. "MTSBaseComponent::SuperView" value = "1" or
2. "SuperView" value = "1"

Once I can get this understood I'll be able to ask more intelligent questions related to 'References' and 'Display'
Thank you in advance.

Laura

BTW, Hope everyone had a Wild! 4th of July!

This message has been edited. Last edited by: lauramb,
 
Posts: 131 | Location: Las Vegas, NV, USA | Registered: May 14, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Hi Laura,

Placing the Superview="1" in your MTSBaseComponent tag is correct ie:

<MTSBaseComponent Superview="1"/>

But you only place it in the MTSBaseComponent tag like that if you want the scene to immediately jump into superview. Seeing as how you don't want it to enter superview until your "MTXLoad:done" event is received, you should keep it in your action as you specified in your second point, number 1:

<MTSAction Name="start_hyperview">
<MTSAssignProperty Target="MTSBaseComponent.Superview" Value="1"/>
</MTSAction>

(notice I used a dot [.] instead of double colons [::]. Dot syntax is preferred anymore even though Enliven publishes out with double colons (known issue with Enliven that we plan on addressing).

Regards
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of lauramb
Posted Hide Post
Thank you Admin,

SuperView will really be an advance for VET, hyperview being the major feature of VET that I tell so many people about.
To be able to have a character move around the desk top without interfereing with the desktop will be the icing on the cake.
 
Posts: 131 | Location: Las Vegas, NV, USA | Registered: May 14, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Most certainly! I've already built some amazing stuff with it!
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint XML Schema    Hyperview to SuperView