We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Crunch

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 158 total)
  • Author
    Posts
  • in reply to: How to stop an iframe video when I click on a div? #39066
    Crunch
    Customer

    Oh there is another way to get vimeo vids into your verge. If you follow the video-texture example that ships with Verge3d, you can modify puzzles so the video texture links direct to your vimeo video.

    I have the vimeo pro version so not sure this is available in all versions, but see the screen shot to where you can find direct links.

    Note – using direct links like this circumvents any privacy settings you may have on your vimeo account. If someone has the link, they can download the file. Fyi.

    Attachments:
    You must be logged in to view attached files.
    in reply to: How to stop an iframe video when I click on a div? #39063
    Crunch
    Customer

    There is the easy way and the hard way.

    The easy (hack) way to get a video in iframe to stop playing after you hide it, is to change the SRC property of the iframe at the same time of your hide event to something else, like a static image with your logo on it.

    The hard (proper) way would be to use the vimeo api
    https://player.vimeo.com/api/demo

    Create a separate html file, paste the vimeo embed code there and create a vimeo player object.

    Create an iframe in verge and set the SRC to the html file you just created.

    Add your control buttons use the execute javascript puzzle to target the iframe and then the vimeo player object, and control it how you want.

    I just used play() and pause() functions in example here but there are more features available via vimeo api

    https://developer.vimeo.com/player/sdk/reference#events-for-chapters

    Unfortunately, to get this all working you need to make sure everything is loading from your own domain AND you have an SSL certificate installed.

    To my knowledge, the Verge server environment doesn’t provide an SSL cert so what I do is have a xampp local server (i have it setup so the root directory is my verge applications directory) running which does have an SSL cert installed.

    To get an SSL cert installed on your local server you can try this guide

    How to Create Valid SSL in localhost for XAMPP

    Good luck

    Attachments:
    You must be logged in to view attached files.
    in reply to: tweening a disabled camera #38741
    Crunch
    Customer

    Muhammad – Use two cameras, 1 an orbit and the other a no-control. Do your tweens with the orbit cam and in the ‘when finished slot’, snap the no-control to the orbit cam then switch the active cam to the no-control cam.

    There are also ways to tween a no-control camera using animate parameters but its more painful to setup. Hopefully the tween-snap-switch method will work for you. Good luck!

    in reply to: Verge3D 3.6 for Blender is out! #38516
    Crunch
    Customer

    Yuri I enjoy all the updates.. but my specific question is whether or not HTML elements are compatible in VERG3D in VR mode?

    If so, how long will it take you to implement?

    In VR mode, I want the user to be able to see and interact with css3d iframe elements (like with jbcools plugin) at a minimum. (annotations too)

    I need to know if this is even possible with webxr VR… then I need instruction and/or a time line, then I can call Putin.

    Help me out here please Yuri.. html is still pretty important in the world of VR
    thanks!
    crunch

    in reply to: Verge3D 3.6 for Blender is out! #38497
    Crunch
    Customer

    How about some balalaika? YES PLEASE YURI!

    You guys keep kicking ass – adding midi support was on my dream’s dream list so never thought of even requesting it.. Tada! Now its included. Been decades since last used midi, but can’t wait to get back in!

    (font stuff way bad ass too! Plugins still giving me chills)

    OK – onto a bigger/sadder issue…

    Your release said “The allow HTML option was added to the enter AR mode puzzle as requested on the community forums.”..

    So are you telling me, that HTML could be supported in VR IF requested???!!

    I was thinking there was some technical limitation with the WebXR format or something that just blocked html .. but if you can do it for pokemon stuff (aka AR), there should be no reason you can’t allow it for VR, right??

    I just put up a $100 prize challenge to zbcool to get those beautiful css3d elements (iframes) visible inside VR….(through his plugin,,,,, you guys now got 3d party plugin developers coming on board.. LOVE LOVE.)

    At a base level, anyone with a copy of blender and VERGE3d should be able to whip themselves into excitement by the ability of being able to whip up a 3d modeled scene of them sitting in a movie theatre with a big ass 3d (css3d) html element playing youtube or Netflix, in front them… right???

    yes I know, movie-image on texture would work in VR.. not the same! I want a live 3d html player/page kicking out youtube or vimeo on demand and from their servers, not mine…I want to be able to interact with 3d webpages floating around in my vr environment.. duh…

    I know its Sunday and you guys don’t work the weekends (respect) but give me a 3.7pre release with this working before Monday and name your price.

    I will call Putin and get a national holiday off work for all Soft8Soft workers later this week to make up for lost family time. I know how it goes =)

    Help me, help you
    X0x0x0 – Keep up the GREAT work!
    -CRUnCH :good:

    in reply to: CSS3D plugin for Verge3D #38496
    Crunch
    Customer

    very cool zjbcool – i bought a copy.
    didn’t really see any instructions (at least in English) but I got it working. Very cool and even cooler that we can start writing and sharing plugins!

    In regards to controlling playback of something like a video in an a iframe, you can get around cross-origin issues. Rather than directly linking the iframe to say a vimeo video, you create a separate html page (which must be on your same domain) then embed the vimeo player and video. This page will then be src for 3d iframe object. Then you can use an execute javascript puzzle that calls the player’s play/pause/etc buttons.

    Problem i am trying to figure out now, is how to get this working in VR!!? It would be sooo cool…

    HTML objects currently don’t appear in verge3d VR.. I have gotten a video texture to play in VR, but nothing html – like these 3d iframes your plugin produces.

    My kingdom plus $100 to anyone who can figure out how to get these 3d iframes to show in VR (oculus)

    Offer expires Monday B-)

    in reply to: Enter AR Puzzle set up #37842
    Crunch
    Customer
    in reply to: Physics based FPS template #33647
    Crunch
    Customer

    got a jump button working, added in an impulse force for to character in z direction. Not sure if you loaded up the capsule object with some Compound-V because once he jumps, he takes of like superman never coming back down to earth.

    Once again, so impressed with the upgrades since i’ve been gone. clap clap

    in reply to: Physics based FPS template #33640
    Crunch
    Customer

    NICE! just what i was looking for to start some experiments!
    One quick thing, How do we change this so when our character walks off the plane, they drop like a rock?

    THANKS Yuri and Soft8team. – u guys are the best! Never-stop-Verging! :yahoo:

    in reply to: Toad #33583
    Crunch
    Customer

    tidlybit – hoping we can be good buddies! I spent a lot of time with Ispring before more recently plunging into Articulate SL. Ispring is my go to for creating e-learning from huge powerpoint slide decks, but Articulate with all its custom javascript triggers and custom variables really opens the door for creating elearning (SCORM if desired) presentation that can integrate with Verge3d apps.

    If i only knew how. Do you have any examples you can share with me of how to get the two working? For example, passing a variable from Verge and setting it as a SL variable. Can you help?
    Thanks!
    -Crunch

    in reply to: Verge3D for Blender: Update 2.17.1 #22451
    Crunch
    Customer

    Very nice Christmas present for Verge users! thanks!

    in reply to: my little audio-interactive project #21753
    Crunch
    Customer

    cool! nice job :good:

    in reply to: Swipe Gestures & something cool #21752
    Crunch
    Customer

    Woahweewowie.. :yahoo: You mean those periodic table cards are HTML?

    I knew I could bind an html element to a 3d object, but the element would only track on the x and y axis to 3d object – ie the HTML element wouldn’t shrink if you back away with your 3d camera or grow if you moved closer.. so are you saying this is possible with CSS3d?

    I will read up on that. Thanks for the help btw with the cloning procedure.. I had just started experimenting with that and that tip to assign dragging really helped.

    As a follow up, how would I create an array out of that clone ‘ojb’ variable? Or is it already an array object that I can than iterate through?
    Thanks!

    in reply to: Function behind the mouse wheel scroll #21751
    Crunch
    Customer

    Ivan yes the orbit cam’s pivot point/constraints cause problems for me.

    After setting up the camera in blender, I like camera shot to stay the same when I move over to Verge, so I usually stick with the no-control (NC) cam

    I can then move the NC camera around programically (animate puzzles, since cam tween doesn’t work on NC cam) but I’d also like the user to have the option to use their mouse to control zoom and pan though the scene.

    I guess what I am describing is the first-person cam, only with ability to also pan up or down(gaze height?) instead of just being able to strafe right or left… and with an option to turn off keyboard short cuts, or preferably remap them.. ideally, be able remap them simply to touch/gesture events…. ie… swipe left = A key, swipe right = D key.

    Now that I think about, the best example of what I am trying to describe is GOOGLE MAPS. (or even the Puzzles interface itself)

    Most of what I am doing for e-learning (so far) involves flat plane with a camera over it. Pinch zooms, finger drags to move the map around. That’s the functionality I am looking for.

    I’ve tried things like keeping the camera in a separate collection from everything else, then having a drag/move event for ALL OBJECTS in another collection but performance wise, it seems choppy to move the scene around the camera.

    Can we replicate something like Google Maps in verge with some existing camera modifications?

    in reply to: change image inside of the button #21747
    Crunch
    Customer

    try removing the “;” character in your set style puzzle

Viewing 15 posts - 91 through 105 (of 158 total)