Load 3D image in a div instead of an iframe

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

Tagged: 

This topic contains 7 replies, has 4 voices, and was last updated by Mikhail Luzyanin Mikhail Luzyanin 7 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10744
    Avatar
    pharken
    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 Kovelenov
    Yuri 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?

    Founder & CEO at Soft8Soft
    LinkedIn | FB | Twitter | VK | 新浪微博

    #10747
    Avatar
    vincent
    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 Kovelenov
    Yuri 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!

    Founder & CEO at Soft8Soft
    LinkedIn | FB | Twitter | VK | 新浪微博

    #10776
    Avatar
    vincent
    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.

    #10812
    Avatar
    vincent
    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.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.