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.

kdv

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 2,418 total)
  • Author
    Posts
  • in reply to: get the size of the canvas #72207
    kdv
    Participant

    <div> or <canvas> have no property named “width”. But they have several other properties:

    usually window.innerHeight and window.innerWidth are used in three.js and v3d.js to set the canvas size.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Double tap on touch screen #72195
    kdv
    Participant

    can it be that double tap is switched off

    you mean a touchpad but he means a touch screen.

    this doesn’t work as double tap on all tested devices

    Some additional logic is needed
    detect-double-tap-on-ipad-or-iphone-screen-using-javascript

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    kdv
    Participant

    I can’t enable VR functions on either Android or Apple phones or tablets

    Are you trying to use them on mobile smartpfones? Not on special VR headsets?

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Strategy for shaders #72176
    kdv
    Participant

    create simplified app with the same problem and share it here.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: change origin for cloned object #72166
    kdv
    Participant

    changing the origin of the object

    it’s possible in three.js, but you’ll have to manipulate an object’s geometry via JS (translate, rotate or scale).

    in your case just try to change scale to -1. this will mirror an object along the chosen axis. and one more thing: using standard puzzles won’t allow you to clone objects with animations. cloned objects will be static meshes.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    kdv
    Participant

    Uncheck all in parent doc.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Rendered objects black – Sneak peak #72141
    kdv
    Participant

    The way he did. Take your AR demo .blend file, add HDRi map to the world material but do not change the IBL mode. Leave it None (fastest).

    I can’t reproduce this bug for now ))) It was a long time ago when I encountered this issue and I don’t remember details.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Mac OS Webkit reporting error: #72104
    kdv
    Participant

    see injected.js (it’s not supposed to run at all) :unsure: it’s your Chrome issue. as a variant, one of the Chrome’s addons is a culprit (see Sources tab -> Content scripts in Dev tools).

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Rendered objects black – Sneak peak #72101
    kdv
    Participant

    It’s an old bug with IBL since 4.3, when they in S8S removed cubemaps and didn’t clear the code properly. None (fastest) throws this shader error.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Rendered objects black – Sneak peak #72097
    kdv
    Participant

    Only AR Demo doesn’t work.

    Did you download the latest AR Demo from the Asset store and just open .blend file with no changes? I did the same and see no problems with the HDRi lighting at all :unsure: Blender 3.6.9

    Check this option in Blender. It shouldn’t be None (fastest).

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Rendered objects black – Sneak peak #72094
    kdv
    Participant

    As usual, the stability and compatibility of the latest versions is questionable :unsure:

    Try Blender 3.6.x or Verge3D 4.5.1. Or both together.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Rendered objects black – Sneak peak #72086
    kdv
    Participant

    In your browser press F12 and see the log.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: MapControls for Verge3D #72063
    kdv
    Participant

    Here you can find a working solution.
    https://www.soft8soft.com/ru/%D1%84%D0%BE%D1%80%D1%83%D0%BC%D1%8B/%D1%82%D0%BE%D0%BF%D0%B8%D0%BA/%d0%b8%d0%b7%d0%bc%d0%b5%d0%bd%d0%b8%d1%82%d1%8c-%d0%ba%d0%be%d0%bd%d1%82%d1%80%d0%be%d0%bb%d0%bb%d0%b5%d1%80/page/4/#post-19320

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: instalado no servidor #72054
    kdv
    Participant

    Why not? I can run apps and edit puzzles from any device in my local network. Just enable the external IP-adress in the App Manager’s settings.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    in reply to: Strategy for shaders #72048
    kdv
    Participant

    because I guess the shaders will be compiled in real time.

    All shaders are already pre-compiled before rendering. You can see it if you press F12 and then press P quickly three times. All active materials will be listed. Most likely in your case the problem is in geometry bufferes and maybe in textures used in those hidden materials. Try this code to initialize all geometry buffers in the scene.

    To initialize textures you can use this code:

    app.scene.traverse(function(obj) {
      if (obj.isMesh) {
        if (obj.material.isMeshNodeMaterial) {
          for (let name in obj.material.nodeTextures) {
            app.renderer.initTexture(obj.material.nodeTextures[name]);
          }
        }
        app.renderer.updateGeometry(obj);
      }
    });

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

Viewing 15 posts - 31 through 45 (of 2,418 total)