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.

Html viewer

Home Forums Graphics / Blender Html viewer

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3870
    NewFake
    Customer

    Hi!

    Please, how to have the canvas that carries the called html page sticking to the mesh, in the demo the blue cube? As if I re locate the cube in Blender the web page doesn’t follow it, and I didn’t see what carries it as an object in the *.blend file.

    NewFake :)

    #3872
    NewFake
    Customer

    Hi!

    I could adjust the view to my wishing by moving the camera; is it, please, the proper way?

    NewFake :)

    #3875

    Hi,

    This example is a simple proof of concept created programmatically. The HTML page is rendered on the surface of a 3D plane – it is a separate 3D object not linked to the cube. Check out the source js file called htmlmixer.js. The plane can be moved by changing its properties via API:
    mixerPlane.object3d.position.z = 5;

    Chief 3D Verger | LinkedIn | Twitter

    #3876
    NewFake
    Customer

    Hi Yuri!

    Ok! Anyways this implementation is a great plus for all of us, a warm thank you! :yahoo: ;-) :bye:

    Is there, please, a way to customize a bit the scrollbar? To do so, should we act upon the page itself, or through the app’s js? I tried a bit both ways, and didn’t find.
    If it’s not possible, please, don’t worry, as, again, this implementation is the top!
    However, please, just let us know if it’s possible or not. :mail:

    Another interesting point: whenever the page we embed contains links that open pages in _blank, if we click’em we leave the app, as it opens a new browser’s tab. Is there, please, a way, to force and maintain the surf within the app, even if the links are target=”_blank”?

    NewFake :)

    #3882

    However, please, just let us know if it’s possible or not.

    I think you can use standard CSS rules to customize the scroll bars in the htmlmixer.js file.

    Is there, please, a way, to force and maintain the surf within the app, even if the links are target=”_blank”?

    I found the answer here. You will need to provide a name for the iframe element in the htmlmixer.js file.

    Chief 3D Verger | LinkedIn | Twitter

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