Forum Replies Created
-
AuthorPosts
-
kdvParticipant
<div>
or<canvas>
have no property named “width”. But they have several other properties:
usually
window.innerHeight
andwindow.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.
kdvParticipantcan 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-javascriptPuzzles 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.
2024-04-09 at 6:48 am in reply to: About the problem that VR and XR function modules cannot be used in China #72190kdvParticipantI 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.
kdvParticipantcreate 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.
kdvParticipantchanging 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.
kdvParticipantUncheck 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.
kdvParticipantThe 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.
kdvParticipantsee injected.js (it’s not supposed to run at all) 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.
kdvParticipantIt’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.
kdvParticipantOnly 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 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.
kdvParticipantAs usual, the stability and compatibility of the latest versions is questionable
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.
kdvParticipantIn 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.
kdvParticipantHere 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-19320Puzzles 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.
kdvParticipantWhy 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.
kdvParticipantbecause 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.
-
AuthorPosts