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.

Django + Verge3d

Home Forums General Questions Django + Verge3d

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #37839
    pythom
    Participant

    I wanted to combine django with verge3d. But after adding the verge3d application to the template in django and changing all the src addresses in the html file with the ‘static’ option, a blank page appears in the browser.
    You can see such errors in the browser console. How to fix it?
    error

    #37862

    make sure the .js scripts are copied to the static folder

    Chief 3D Verger | LinkedIn | Twitter

    #37890
    pythom
    Participant

    Hello, if I use template in verge3d “code base” with settings like below in the image, the page starts. Only there is no visual logic.
    ok

    But if it tries to run the “standard Dark” template with puzzles, it doesn’t work. I thought it was the fault of the variables “var logicURL, var sceneURL. So I added them to the html, but it doesn’t work either.
    How to fix it?
    nook
    consoleerror

    the static folder is in the template folder

    static

    #51138
    moiamy
    Participant

    Hello Guys
    I also try to run verge3D from Django, but for my part I can’t load visual_logic.js

    GET http://127.0.0.1:8000/earth/visual_logic.js net::ERR_ABORTED 404 (Not Found)

    Where is this file called exactly ? I thought it was in v3D.js but I can’t find a reference
    Is there a workaround ?

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

    this file contains Puzzles logic for your app. It should reside in your app folder.

    Chief 3D Verger | LinkedIn | Twitter

    #51153
    moiamy
    Participant

    Hi Yuri.
    I have tried to copy visual_logic.js to my app folder with no success

    Attachments:
    You must be logged in to view attached files.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.