Similated a camera view from a mobile phone

Home Forums Puzzles Similated a camera view from a mobile phone

This topic contains 14 replies, has 3 voices, and was last updated by  vincent 11 hours, 44 minutes ago.

Viewing 15 posts - 1 through 15 (of 15 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.

    • This topic was modified 2 months, 2 weeks ago by  vincent.
    • This topic was modified 6 days, 6 hours ago by  vincent.
    Attachments:
    You must be logged in to view attached files.
    #7719

    Hi,

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

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

    #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.

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

    #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?

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

    #9620

    vincent
    Customer

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

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

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

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

    #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?

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

    #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!

    • This reply was modified 1 day ago by  jbetbe.
    • This reply was modified 1 day ago by  jbetbe.
    #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.

    • This reply was modified 13 hours, 44 minutes ago by Yuri Kovelenov Yuri Kovelenov.

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

    #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.

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.