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.

justin_blender

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • in reply to: Document Resize, Stops Rendering #79783
    justin_blender
    Customer

    Just came across the same problem and I noticed that when the hook “anti alias” in the “disable rendering” puzzle is checked, this happens. To me this looks like a bug. I have the latest version of verge and blender

    in reply to: Caching of verge3d app files #79510
    justin_blender
    Customer

    After checking the network tab, I saw that most of the files are being cached, even after clearing the browser cache. That was to be expected.
    But the probably most important file causing the scene to load weird stuff is the *.bin file.
    I versioned it inside the gltf file like .bin?v=2″} and now the scene loads properly. There are probably ways to automate the versioning, but I’ll try that in the next iteration when the problem arises again.

    in reply to: Caching of verge3d app files #79503
    justin_blender
    Customer

    Thanks Yuri! :good:
    The good news is, I have a scene where the problem came up so I could try this.
    The bad news: None of this works unfortunately.
    I will contact my host service next.

    in reply to: Caching of verge3d app files #79462
    justin_blender
    Customer

    In fact the updated scenes always reflect correctly in incognito mode. So this cannot be a server side problem.

    My customers repeatedly have this issue which is becoming a real problem here. Today again. Only incognito works for them. But this cannot be the solution

    in reply to: Caching of verge3d app files #79407
    justin_blender
    Customer

    So I did some research which Apache settings could be solving this.

    But as I don’t want this to happen randomly for customers, I’d like to validate the solution by first re-creating the problem.
    So far I was not able to. Does anybody have an idea which scenario could be prone to causing this issue? I tried a relatively large model scene and small scene.

    in reply to: Caching of verge3d app files #79393
    justin_blender
    Customer

    I never knew this setting.
    Actually i am using my own host, not the v3d network.
    But could it be the setting “skip files modified more than 8 hours ago” then?

    in reply to: Caching of verge3d app files #79387
    justin_blender
    Customer

    Hello!
    I hope this old thread gets recognized :bye:

    I had experienced numerous times that the scene did not refresh in the application after it was updated. For updated html / js files the solution is simply to clear the cache. This apparently also clears the cache for scene related files like .gltf & bin. But the problem remains that the scene (or at least parts of it, i cant tell for sure) does not refresh. Opening the app in incognito mode then reveals the updated scene. I am not able to reliably reproduce this problem which makes is extremely hard to trace.

    This only happens on webservers, not local

    in reply to: “Load Data” with JSON Fails on webserver #77322
    justin_blender
    Customer

    It generally works in all browsers now. It was most probably the mime configuration. Thank you so much!

    in reply to: “Load Data” with JSON Fails on webserver #77320
    justin_blender
    Customer

    Ok I found out that its actually working in Edge. So maybe adding the MIME kicks in and the old config is still cached in chrome, or chrome is generally the problem. Ill post the result later once I found it.

    in reply to: “Load Data” with JSON Fails on webserver #77319
    justin_blender
    Customer

    Thanks for your suggestions!

    I added the MIME Type, but it did not help.
    I am not sure if that is the problem, as the Network tab is showing the JSON content correctly (see screenshot of first post) – and the problem comes from the visual_logic.js.

    I can load txt files, but I cannot process them as a dict in Puzzles :scratch:

    in reply to: No Shape Keys for Line Rendering Objects? #76937
    justin_blender
    Customer

    Thank you for your clarification.
    Wireframe puzzles creates lines for the triangulation, which is not desired.

    I guess I have to write some custom script.

    Unless it is planned for some next release to keep the shape keys for Line Rendering? Then I will wait

    in reply to: Access “app” from external JS #48943
    justin_blender
    Customer

    You are welcome. As for the dashed material I copied a code snippet from your “dashed lines” example and tried to apply a dashed line to an object.

        const material2 = new v3d.LineDashedMaterial({
          color: 0xff0040,
          linewidth: 1,
          scale: 1,
          dashSize: 3,
          gapSize: 1
           });
          
        let x_geo = app.scene.children[1].geometry;  
        x_geo.toNonIndexed();
        const line = new v3d.Line(x_geo, material2);
        line.computeLineDistances();
        app.scene.add(line);

    I was getting the console warning
    ‘v3d.js:1 v3d.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.’
    But still after adding the line
    x_geo.toNonIndexed();
    it doesnt work

    Probably doing something essentially wrong here. But as long I am not getting errors I am confident to be close to the solution. Any suggestion?

    in reply to: Access “app” from external JS #48940
    justin_blender
    Customer

    Ok figured it out. For anyone interested this is the coding solution to create a simple wireframe material and apply it to an object. It is really that simple. I was totally going too far :wacko:
    Now need to find out more about v3d material libraries

    function runCode(app) {
        
        const material1 = new v3d.MeshBasicMaterial({
            color: 0xe0e0ff,
            wireframe: true,
            });
    
        app.scene.children[0].material = material1;
    
    }
    in reply to: Access “app” from external JS #48935
    justin_blender
    Customer

    Wait..What? There is ONE simple tick box for this? :yahoo:
    I saw this example before. But I did not find any puzzles nor code nor material setting. But now I found it. Thank you for guiding me there again.

    Would be still great to know how to get there through coding though. I see that three.js supports dashed lines for example. I will try more with my half-working example and get back here.

    in reply to: Verge 3D Puzzles #48920
    justin_blender
    Customer

    How does it look in the Blender Viewport?

Viewing 15 posts - 1 through 15 (of 28 total)