You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2019. It is now read-only.
function data_changed (val, time) {
Browser.print('data_changed: 0='+data_changed[0]);
if (data_changed[0] == 'RSK') { // quit
Browser.sendMessage ('Board', 'RESET');
}
}
"
}
ROUTE MESSAGE.data_changed TO SCRIPT.data_changed
Compile it with MemoSDK-1.7.
No problem when launched in standalone version.
But image is not displayed when launched in OWP, with the following traces :
[java] >> initialize()
[java] MAX: IC.scaleImage 128x128 -> 1x1 TestImageBkg.png
[java] REC (!): IC.scaleImage 1x1 -> 200x200 TestImageBkg.png
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Have a look at the following simple source code :
VRML V2.0 utf8
Shape {
appearance Appearance {
texture ImageTexture {
url "TestImageBkg.png"
}
}
geometry DEF BKG_REC Rectangle { size 200 200 }
}
DEF MESSAGE Message {
url "Board"
}
DEF SCRIPT Script {
eventIn MFString data_changed
url "
function initialize (time) {
Browser.sendMessage ('Board', 'INIT', 'Test Image', '', 'close', 1);
Browser.print('initialize()');
}
}
ROUTE MESSAGE.data_changed TO SCRIPT.data_changed
Compile it with MemoSDK-1.7.
No problem when launched in standalone version.
But image is not displayed when launched in OWP, with the following traces :
[java] >> initialize()
[java] MAX: IC.scaleImage 128x128 -> 1x1 TestImageBkg.png
[java] REC (!): IC.scaleImage 1x1 -> 200x200 TestImageBkg.png
The text was updated successfully, but these errors were encountered: