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.

Similated a camera view from a mobile phone

Home Forums Puzzles Similated a camera view from a mobile phone

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #7709
    vincent
    Customer

    Can you imagine the puzzle to built one special texture. I modelise a smartphone in blender and I would like to have the true scene in Verge3D inside the screen of the phone. I take a photo and I have the real scene 3D on my mesh.

    #7719

    Hi,

    This is possible to do right now with some code. We can make a dedicated puzzle for that in the future.

    Chief 3D Verger | LinkedIn | Twitter

    #7720
    vincent
    Customer

    Thanks you for your attention, I imagine a texture or other thing…

    #7721
    vincent
    Customer

    There is this case study (or similar) inside Experience Curiosity (Nasa)

    #7727

    Experience Curiosity uses a slightly different approach – a 3D scene is rendered to another WebGL canvas which is positioned inside a

    HTML element (strictly speaking this is not rendering-to-texture). It was also implemented with code being too specific for Puzzles.

    Chief 3D Verger | LinkedIn | Twitter

    #9615
    vincent
    Customer

    Hello Yuri,
    With my team, we have improve the file js with some code.
    There is a second camera in the scene, but the view camera is not in a good frame. There is a problem of frame that is upside down and inverted left right. Can you tell us, how best to export the settings of the camera.

    #9619

    So you see the rendering from the camera and the only thing wrong is that it is inverted? Cannot be it some issue in your JS code?

    Chief 3D Verger | LinkedIn | Twitter

    #9620
    vincent
    Customer

    Yes, I would like to improve my level, trust me… I am a true designer for Verge3D.

    #9623

    Okay, can you attach a minimal example project? or email it our way. Thanks!

    Chief 3D Verger | LinkedIn | Twitter

    #9768
    vincent
    Customer

    Hi,

    Now, I have rendering the second camera in a rendertarget like the example (https://gamedevelopment.tutsplus.com/tutorials/quick-tip-how-to-render-to-a-texture-in-threejs–cms-25686).

    And all is correct except the rendering is flipped. I have use the flipY properties but it does nothing.

    How can I flip the texture.

    Thanks,

    #9782

    How can I flip the texture.

    May be flipping the UV on the Blender model can help?

    Chief 3D Verger | LinkedIn | Twitter

    #9821
    jbetbe
    Customer

    Hi, this is a quite interesting post. I guess with that code I could try to load any texture (with alpha) on a model, right? But I want to go further and make some configurator where our clients could load a specific image on the model itself. Will it be possible? I have no idea where or how to start. :unsure:
    Thanks!

    #9827

    Hi!

    clients could load a specific image on the model itself. Will it be possible?

    I recall there were some discussions about that. See here for example:
    link1, link2
    We’ll think how we can make it easier for Verge3D users.

    Chief 3D Verger | LinkedIn | Twitter

    #9831
    jbetbe
    Customer

    Hi Yuri.
    Yes, that’s right! I saw it, but I didn’t remember it :whistle:
    I’m going to try it.
    Thanks!

    #9834
    vincent
    Customer

    May be flipping the UV on the Blender model can help?

    In Blender, no solution with the UVs.
    We have a solution to custom a camera, our case studies is reproduce a phone. There is an issue with the camera view, we have write, when we export in .gltf scale of x = -1 for have a true view.

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