Posts

Showing posts from 2019
Update details for version 1.70  Changes: Added access to the scenes generated by SDS Scenaria Editor Connect Scenaria into SDS Forms and Training system Bug Fixes: Fixed an issue with running out of memory after loading complex scenes
Update details for version 1.64  Changes: Added a new  Edit script command. This allows a developer to toggle the scale and rotate edit options on for an asset. Note the changes will not be preserved across scene loads. e.g.  Adding the script command Edit to the onclick event will cause the scale and rotate bounding box and controls to appear and allow the user to manipulate the asset. Usage: Edit("[ID]"); where ID is the Unique Identifier (UID) e.g. A20 in teh example below. <hologram uri="abc.obj" uid="A20" positionxyz="0.0,-0.5,5"  onclick='Edit("A20");' ></hologram> Added a new Move script command.  This allows a developer to toggle the move option for the asset. Note the changes will not be preserved across scene loads. e.g.  Adding the script command Move to the onclick event will allow the user to move the asset within the scene.   Usage: Move("[ID]"); where ID is the Unique Identifier (UID)
Image
Update details for version 1.63  Changes: Added a new Line  asset for drawing simple straight lines . Note at this point, we only support a solid, straight,  colored line with start and end values and no line endpoint graphics. The following will draw a line between the start and endpoints with the line color changing from red to green and fading out towards the end of the line. e.g.  <hologram uri="line" uid="A30"  start-positionxyz ="1,1,3"  end-positionxyz="1,0.0,3" start-width="0.01" end-width="0.01" start-color="255,0,0,255" end-color="0,255,0,0"></hologram> Special additional properties supported [start-positionxyz] and [ end-positionxyz] the start/end positions in 3D of the line. [start-width] and [end-width] the start and end width of the line. E.g. (these are floating-point values). To draw an arrow try 0.1 for start and 0.001 for the end. [start-color] and [en
Image
Update details for version 1.62 Changes: New light asset. We added the unity light asset so you can now add extra lights to your scene. e.g.  <hologram uri="Light" uid="A10"  positionxyz="1.783,-0.589,5.575"  color="255,255,255,255" type="spot" intensity="250" range="1" show="true" rotationxyzw="0,0.7071068,0,0.7071068"></hologram> Where [type] can be spot, point or area [Color] is the RGBA value of the light [show] sets the light on or off and should be set in script to true or false  We also support the unity values for [Intensity] and [range]   Hololens scene load sequence messages . Lots of work has been done to handle 2 or more HL working together to inform the secondary devices (anything other than the primary device running the load sequence) how many assets they are waiting for it to load when changing scenes. There is a new state of "Waiting for the s
Update details for version 1.59 Changes: Main menu position stays constant across room changes. Added the ability to specify the room number in URL link. So in script, you can now specify the shared room number that you wish to join. So you could add it to the onclick for a link e.g. to jump the user to room 6666 you could use -        <hologram uri="tile.png" uid="A100" visible="true"                                                           onclick='LoadScene("room://6666");'> </hologram>        or add it to a script                          <script> jumpToRoom=function()  LoadScene("room://6666"); end function </script> Fixes: Fixed an issue with switching rooms 

High Level overview of how Scenaria works

Image

Some of the videos of HL projects done using Scenaria

We did some internal work producing some quick video examples of the work we have done using Scenaria. We just thought they may be interesting to people.  Client video (Bureau Veritas) Engineer training    Virtual Conference stand for AZ Inspector training on large assets (cranes/MEWP) Unscripted training session on steam boilers A brief introduction to Virtual Site Office/control Using HoloLens to view 3D scans - Dental   ISO shipping container tank training (5 minutes)  ------ Scenaria Team www.smartds.co.uk

Scenaria - now supports unity animations

Really excited to release Scenaria v1.51 The main change is the ability to play Unity (and possibly other) animation files .anim within a scene.  To load an animation into your scene - copy the .anim file (which is a text file with the animation data serialized in YAML format) onto your web server. Then add a script command to load and play the animation on demand. e.g. add a command PlayPauseAnimation("A100","/pipe/myanimation.anim","loop","*"); where - PlayPauseAnimation is the script command "A100" is the Asset ID of the hologram we want to animate  "/pipe/myanimation.anim" is the relative path on the web server to the .anim file "loop" - controls the number of times the animation is played - Unity allows  "loop" to play the animation indefinitely -  "once" to play then stop the animation (the default)  "pingpong" "*" - is the Hololens that the ani

Scenaria scripting language

Scenaria scripting language Scenaria includes a simple scripting language for manipulating holograms, scenes and accessing Hololens resources. The language is under active development (though at some stage we will also add a JavaScript option). The latest list of internal functions can be found here. We will update this on a regular basis with examples and notes. Script command list  (June 6th 2019 ) Basic scripting intro (blog post)

Happy 3rd Birthday Scenaria!

Wow, it's been 3 years and 32 release since we started developing Scenaria!  Thanks to the team and all our friends.   Scenaria Team  ---------------------------  SmartDS  lynne@smartds.co.uk smartds.co.uk   +44 1625 560123 Web site:  Get Scenaria in the USA MS Store   Get Scenaria in the UK MS Store
Image
Scenaria Sharing If you have used Scenaria you will have seen the Sharing menu (see fig 1 below) We support sharing session between unlimited (subject to bandwidth and server support) HL users. We support both local and remote users, simple avatars and (for users in the same room) alignment of anchors (making sure all users see the same thing in the same place). In this release, the sharing model is very open, there is no identity service - anybody with a HL and the app can join a room.     fig1 - the sharing menu. Each time you load Scenaria you are allocated a random empty room. You can use this room to load a scene into - by  Clicking on your 'Home' icon Typing the URL in,  Following a link in another scene Using bookmarks (available in the next release)  Sharing (or multi-lensing) - if you wanted to share this room with other HL users you need to tell them room number (in the example above the room ID is 068848) much like we do when setting up
Scripting events in Scenaria Scenaria supports a simple sandboxed scripting library that allows developers to code simple interactions (onclick onfocusenter etc) into scenes. In the XML scene definition, the <Hologram> tag is used to define a single hologram asset. Each Hologram (amongst other attributes) has can specify scripts (event handlers) for onload - triggered once the hologram has completed its load routine. onclick - triggered by the user 'air tapping' whilst gazing ta the asset onfocusenter - triggered by the user gazing at the asset onfocusexit - triggered by the user removing their gaze By attaching a script to each of these you can facilitate some surprisingly complex interactions. e.g. Adding onclick='LoadScene("http://website.mydomain.net/index.htm") to the XML attributes an asset will cause a new scene to be loaded when the asset is air tapped on to. So the hologram tag would look like  <ho
Image
Scenaria browser v1 is now available. We are very proud to announce that after two years in the making that Scenaria browser is now available for public download on the  MS Hololens Store Scenaria Browser is the Mixed Reality browser that lets people see and participate in 3D experiences. Scenaria Navigation and Scene Sharing Panel If you have any web development skills then Scenaria browser can be used without Scenaria creator to allow you to build 3D scenes right now. All you need is a text editor to allow you to place simple XML markup into normal HTML web page (or blog posts) and then point the Scenaria browser at it.  

3D assets in Scenaria - GLB or OBJ?

Though currently (v1.21 beta), Scenaria supports both GLB and OBJ assets there are some gotchas that you need to be aware of. GLB - is the binary version of the GLTF 3D asset format (see  https://www.khronos.org/gltf/  for more information) and is  our target format for all future 3D assets. However currently the GLB library we are using (taken from the HLTK) has a few issues - The scene may (on Hololens v1) disappear as it renders each GLTF asset. This is caused by a threading issue with UNITY.  GLTF assets may not render correctly - we have had issues rendering 3D scans using the library. Animations are not currently supported. We are working on updating the GLTF support. OBJ - is a format that has been used for many years to transfer 3D assets from one application to another. The OBJ library in Scenaria does not suffer from the same issues as GLTF but does have some of its own issues. An asset saved as OBJ file may contain the  The .obj file itself,  A material
Welcome to Blogger Demo Scenaria page. So this is a quick demo page for Scenaria, if you view this page in the player you will see a graphic of a lighthouse and a single word 'home' that is, in fact, a link to another site. Within the page (and surrounded by HTML Comments so it's not shown to web users) we have embedded some XML tags- <!-- <scene3d title="Blogger Demo page" description=""> <script></script> <holograms> <hologram uri="Label" uid="A1" positionxyz="0.1,0.0,3" text="Welcome to Blogger.com" font-style="boldanditalic" font-family="Arial" color="255,0,0,255" font-size="300"> </hologram> <hologram uri="Label" uid="A10" positionxyz="0.1,-0.2,3" text="This 3D scene was generated by a blog post on blogger.com." font-style="boldanditalic" font
Scenaria a free open browser for rapidly building & experiencing Mixed Reality scenes. Scenaria allows developers to create simple scenes using a standard HTML editor (or just notepad). In version 1 - Scenaria supports Multilensing (two or more hololenses seeing the same scene), shared anchors, scripting, synchronised media playback, scene and asset loading (direct from a web server via HTTP/S) and event handlers. Scenes are created by placing XML tags into HTML pages. E.g. To draw a red cube in front of the camera add the folling xml markup to a .htm page and point Scenaria at the URL. <scene3d title= "" > <holograms> <!-- Place a redcube --> <hologram uri= "RedCube" uid= "A1" positionxyz= "0.0,-0.5,3" > </hologram> </holograms> </scene3d> So an example the webpage could be as follows (note if you want to embed the tags within an existing page