Hello there!, Is there a way I could set the starting view from my view list by changing the URL?
For example if I have 3 different designs in each view, could I use a #view1, #view2 or #view3 at the end of my URL to set the where my scene starts with?
I am aware we could do something like this by using our own server/ code. But is there a way to do this with our scenes stored in the Shapespark cloud?
Thanks for the response, it works awesome, another question would be as follows.
Is there a way to hide or show objects using code, independent of the views?
What we want to do is try to have One scene on our server and create 3 unique URLs out of it, where we show three different designs inside the same scene, each design would have the same set of views, ex. Exterior, Living Room, Bedroom. So changing between the views would always show the objects we told Shapespark to show for that URL hiding the other two. Is there any documentation for a Show or Hide function?
Is it possible to specify the view in a meeting also? I want to assign a used a seat position linked to a view. I have tried appending the meeting url, but appears it invalidates it
In the documentation, it’s shown that we can get user’s world co-ordinates. It’s also shown that we can create custom view position by using these co-ordinates.
However, I want to ask if it’s possible to use these co-ordinates and pass it in the url, so that when user enters next time, he can begin from the same spot he previously had left ?
In short, can I ask if it’s possible to append the URL or add a JS code which starts the scene from a custom view name which is a variable.
Shapespark doesn’t support such arguments, but if you are asking about some custom solution, you can add any hash arguments in the URL and then handle them in your javascript code, for example you can add:
(In this case URL uses two arguments: view and meeting-key, such arguments need to be connected with &, having two arguments that start with # is not supported by browsers).
I am trying to transport from scene to scene using the Open Link Extension. I am able to open to a specific view using #view=Elevator, and I am able to get a scene to automatically load using #autoplay, but I am not able to get my scene to automatically load and open with the elevator view.
I am using the following in my URL: /#view=Elevator&#autoplay