Forum Replies Created
-
AuthorPosts
-
kdvParticipant
Indeed… It’s possible to change the color depending on what object has been chosen. But it won’t work with two or more different objects outlined simultaneously.
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantdeleted
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantthe fuselage material should be non-transparent to render your transparent decals properly over that material at any angle.
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantFor instance, if I have an environment scene that loads by default and then load a GLTF containing a teapot, cylinder, and torus
do not use “load scene” (this puzzle will replace the main scene). use only “append scene” (this puzzle will add a scene to the main scene).
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantthe problem is in your logic. the variable
Szinek
is undefined initially and it’s never defined afterwards. you set value forroofszin
but for some unknown reason you use undefinedSzinek
(instead ofroofszin
) to get corresponding texture name from the dictionary. the result will beundefined
and nothing will happen.
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantIs it possible to select individual objects within each loaded GLTF file using puzzles?
possible
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantI can‘t share the scene.
then you’re on your own
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantwithout your files it’s hard to find out what is the best way to get rid of lags sometimes that code works fine, sometimes it’s not good enough.
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantremember from where you took objects. use some variable (a dictionary) to save initial parent objects for picked objects.
Puzzles and JS coding. 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 the meaning at all.
2024-10-31 at 6:09 pm in reply to: 3d scene is not clickable after being embedded with html from Webflow #78375kdvParticipantMost likely your main page (index.html or whatever) and the embedded page are on different domains (cross-domain access).
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantI’ll have to figure out how to do it
put them back from where you took them
Puzzles and JS coding. 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 the meaning at all.
kdvParticipanton ‘squeezeend’ I already parent it to an empty second argument
and that’s the main question: why instead of parenting back to
Display1
you’re parenting your objects to the main scene? The second argument empty =Scene
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantIs there a way to parent it back to the main scene
they are already parented to the main scene. objects will be parented to
Scene
if you leave the second argument empty. But initially (before grabbing) they were parented toDisplay1
.Puzzles and JS coding. 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 the meaning at all.
kdvParticipantJust remove parenting.
Puzzles and JS coding. 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 the meaning at all.
kdvParticipantwhich would force all shaders to be compiled
all material shaders are already compiled on loading.
and objects be loaded in the memory
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 coding. 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 the meaning at all.
-
AuthorPosts