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.

Load 3D image in a div instead of an iframe

Home Forums Programming Load 3D image in a div instead of an iframe

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10744
    Avatarpharken
    Licensee

    Hello, I’ve tried to load the 3D project javascript in a div rather than an iframe but had issues. Is there a way to do this or something in the pipeline for this use case ? Thank you.

    #10745
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    Verge3D should be able to initialize inside a div element. I think it should possible to copy relevant parts of an application’s .html and .css files to a custom page so that it turns to a complete Verge3D app. What kind of issues are you experiencing – styling, loading?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #10747
    vincentvincent
    Licensee

    Today I use a scene V3D inside a iframe who is a slide show. (materialize frame work) That’s run, but the beginning of the slide show is blocked until you download Verge3D, how to avoid the problem.

    #10748
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    slide show is blocked until you download Verge3D

    You can preload Verge3D in background and only show it when it is ready.
    While it is loading, show some image and replace it once the loading is complete.
    Hope this helps!

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #10776
    vincentvincent
    Licensee

    Could you show me the first step with the puzzle ?

    #10798

    Could you show me the first step with the puzzle ?

    Here’s an example. There’s over the iframe I placed an image that covers the iframe, when loading is done it’s will be hidden by HTML puzzle. Look at the init tab.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft. Blender only and forever!

    #10812
    vincentvincent
    Licensee

    Hi Mikhail,
    Thank you, my case study is a little bit different, a slide show don’t run because the Verge3D scene is downloading. How I run the slide show before the end of the downloading.

    Your proposition is show a slide (picture; image) for waiting. Good idea.

    #10813

    Thank you, my case study is a little bit different, a slide show don’t run because the Verge3D scene is downloading. How I run the slide show before the end of the downloading.

    How the slide show made? It’s made using puzzles? or it’s just a simple html slider? Can you share an example?

    Co-founder and lead graphics specialist at Soft8Soft. Blender only and forever!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.