Forum Replies Created
-
AuthorPosts
-
AubreyCustomer
Thanks for the tip haris, I didnt know that this even existed and would be wonderful as this will be used on kiosks in the centre. I tried to enable this but when the camera is activated again the annotations come up in the top left of the container. Is there a way to stop that from happening?
AubreyCustomerThanks, that seems to be working. Must of glazed past that bit in the release notes.
AubreyCustomerNo worries, let me know if there is anything else you need.
Attachments:
You must be logged in to view attached files.AubreyCustomerYou know, I thought I was being smart as I had a hidden dummy object with the material but of course I was changing the material of a group and the dummy was in that group. Took the dummy out and all works as it should. Thanks for your help.
AubreyCustomerThanks Yuri, I see many new things I want to experiment with!
AubreyCustomerI finally worked it out from your example Crunch. Thank you once again.
I was able to take the json from the pages of the custom post type on the site I made to pull the store id in as custom field to build the list in verge3d then use the listener.
This will save me heaps of time down the road so I dont have to build the puzzles for each menu item.
I have attached a screen shot if anyone else has this issue.Attachments:
You must be logged in to view attached files.AubreyCustomerHi Crunch,
Still struggling with this a little. I see where your coming at with your example and that would work better if the numbering of the items was more structured but let me explain what i’m after with this a bit more.I have external html with a menu of 68 items and the items have an id that match the objects in the verge scene. These names are not necessary numerically sequential and have different letters in the beginning. In the verge scene it is set up so you click on the object that moves the camera to that object and launches a sidebar element with details in the parent html of this site (with help from kdv77kdv). The camera information for this step is brought by custom parameters from blender to verge3d so I do not have to repeat the same puzzles for all 68 items.
What I would like to have is a listener to find which html element id from my parent web page that the user is rolling over or clicking and hilighting and/or moving the camera to that object (with the same id) via the coordinates that is carried over from the custom parameters of the blender file.
Is this doable or should i just do a mouseover/mouseout/click for each of the 68 elements?
Thank you so much for any input.
AubreyCustomerBrilliant!
It was the ‘parent’ in the js that I needed.
Thank you so much for your help. It’s great to see someone so active helpful in this community.AubreyCustomerWhen I clicked on the cube before it did not open the side bar. Looks to be a different file now.
Thank you so much.Would you mind if I can have a copy of your project files to have a deeper look as I cannot recreate at the moment. Maybe it has to do with me being in wordpress?
AubreyCustomerThank you for your help but I fail to see what this example is supposed to show? I need an interaction with the 3d scene to open the offcanvas element.
AubreyCustomerYes, this is a project i’m working, I have elements in my site that I would like my 3d poject to interact with. So yes, JUST a side bar for now with more later.
So my question doesnt matter what it is but that if you can interact with elements outside the iframeAubreyCustomerOffcanvas essentialy brings up a modal as a sidebar.
https://getuikit.com/docs/offcanvasI would like to be able to open a modal outside of the iframe.
AubreyCustomerOk, I’m seeing what the issue is now. I added the modal html and css into the project html and it seems to be working there but this is not going to work for me.
Looks to be that you cannot trigger the javascript to the parent outside the iframe? Is there way to do this?
AubreyCustomerAh, think that is what I was looking for, I have put the
document.getElementById in there and now not getting error but still not pulling up the window its supposed to.One step closer, thanks!
-
AuthorPosts