Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VETScript    How to save an image of a scene
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
rik
Member
Posted
Hi

How to save an image of a scene with VETScript?

I know this mtx code:

<MTSInteractor>
<MTSHandle Action="VETDispatchCall"
Function="Image01::VMPCapture()"
Event="MouseLeftClick" />
<MTSHandle Action="VETDispatchCall"
Function="Image01::VMPLocalPersist()"
Event="MouseRightClick" />
</MTSInteractor>

but is there a way to call the same functions from VEScript?

and how to save an image server side with VETScript?


thank you in advance

This message has been edited. Last edited by: rik,
 
Posts: 34 | Registered: March 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
I'm sorry. This is currently not possible.
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
rik
Member
Posted Hide Post
Hi,

I need a special BroadcastKey to use this MTX code and save an image server side?


<MTSInteractor>
<MTSHandle Action="VETDispatchCall" Function="Shot::VMPCapture()" Event="saveRemoteSceneImage" />
<MTSHandle Action="VETDispatchCall" Function="Shot::VMPRemotePersist()" Event="saveRemoteSceneImage" />
</MTSInteractor>
 
Posts: 34 | Registered: March 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
No. Download the universal broadcast key from Developer Central or download the latest MTS3Interface.js from Developer Central and follow the instructions.
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
rik
Member
Posted Hide Post
hi admin.

very thank you, it works perfectly.

Is there a way or an event that inform vetPlayer on the complete saved image file?
 
Posts: 34 | Registered: March 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
This functionality is not built into the VMP (no event for that). Maybe you can detect with javascript when the image is available and then tell the VMP that it has completed.

Regards
 
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  VETScript    How to save an image of a scene