Code a Web Virtual Tour in Javascript with the open-source Library Three.js

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 23

  • @NITian_CK
    @NITian_CK 5 місяців тому +1

    heyyyy brooo!!!
    why it is showing error as "ReferenceError: PerspectiveCamera is not defined "

    • @opensourceforarchitects
      @opensourceforarchitects  5 місяців тому

      Hey,
      You have to import in it at the start of the document, either with :
      import {...PerspectiveCamera...} from 'three';
      or
      import * as THREE form 'three';
      with this, call it then THREE.PerspectiveCamera

    • @razern420
      @razern420 3 місяці тому

      @@opensourceforarchitects Can u maybe share the code to just load the 3d model? in vs cuz im also an architect trying to figure out programming atm

  • @mubzy4706
    @mubzy4706 8 місяців тому +2

    do u have the github to the all of this code with the model?

  • @djames5713
    @djames5713 8 місяців тому +1

    @opensourceforarchitects I am building 360 capture, have gotten far but a few bugs/hurdles. You have a DM or contact link for a more in-depth discussion? And besides creating a viewer, do you have a method to capture from a camera, before ability to preview in three.js?

    • @opensourceforarchitects
      @opensourceforarchitects  8 місяців тому +1

      Sure you can send an email at opensourceforarchitects@gmail.com. You can build a hdri in Meshroom or even direclty on the phone with Google Street View app. Then you can build a three.js scene just with the hdri whitout loading any object

  • @vatsalpandya2871
    @vatsalpandya2871 8 місяців тому

    can you please create an video in which we use panorama and change the color of wall or texture of wall with custom image upload or change from available existing options from the dropdown with on click method ? or please share if any reference example available for this

    • @opensourceforarchitects
      @opensourceforarchitects  8 місяців тому

      Thanks for the suggestions.
      Yes, it is possible with three.js to let a user change the material of an object.
      It is also possible to change hdri (panoramas) but it has some limitations : it is suggested to bake the lighting and shadows produced by an hdri (eg in Blender) to avoid having it calculated by three on the user's machine

  • @liuksataka759
    @liuksataka759 9 місяців тому

    Awasome video! Was the 3d model reconstruction made by using neural radiance fields?

    • @opensourceforarchitects
      @opensourceforarchitects  8 місяців тому

      Thank you! No, it's classic 3D laser scanning combined with photogrammetry

  • @HuynhLuong227
    @HuynhLuong227 5 місяців тому

    please share your code , thank you

  • @naveed_snr
    @naveed_snr 7 місяців тому

    I see a black screen when I load the model.

    • @opensourceforarchitects
      @opensourceforarchitects  7 місяців тому

      you can inspect the page, then in console get what specific error you have

    • @naveed_snr
      @naveed_snr 7 місяців тому

      @@opensourceforarchitects Thanks for replying, I tried from scratch again and it worked. I later followed the same steps for another example (fps example) and it worked, but when I try to replace the model in the fps example with some other models they won't load. The two models that loaded properly were less than 10mb in size. How can I fix this issue? Thanks in advance : )

    • @opensourceforarchitects
      @opensourceforarchitects  7 місяців тому

      @@naveed_snryou're welcome! Size shouldn't be a problem. Maybe it's the file format? .gltf and .glb work with the same code, but it has to match your file

    • @naveed_snr
      @naveed_snr 7 місяців тому +1

      @@opensourceforarchitects Yes, I made sure file paths and names are correct and the files were indeed of .glb format. Idk what was wrong so instead of using the code from the template, I wrote everything from scratch and it worked. Thanks to you I was able to understand whatever I was writing, which otherwise wouldn't have been the case : )

    • @opensourceforarchitects
      @opensourceforarchitects  7 місяців тому

      @@naveed_snrok great! you're welcome, happy it worked out

  • @emmanuelsamuel1434
    @emmanuelsamuel1434 5 місяців тому

    you didn't put a source code in description

  • @avinashjha7848
    @avinashjha7848 10 місяців тому

    Thankyou for this video

  • @ankurkumarsrivastava6958
    @ankurkumarsrivastava6958 2 місяці тому

    code?

  • @HuynhLuong227
    @HuynhLuong227 5 місяців тому

    🎉🎉🎉 wow so cool

  • @deepakjamra5502
    @deepakjamra5502 3 місяці тому