- This topic has 27 replies, 5 voices, and was last updated 4 months, 3 weeks ago by David Duperron.
-
AuthorPosts
-
2023-10-29 at 2:18 pm #68046baz.schonfeldtCustomer
Ahhhhhh. I misunderstood the ‘application folder’ instruction….. I have a folder labeled ‘applications’ with all my Verge apps in it. It’s now working perfectly.
Thank you, kind sir.2023-10-29 at 2:29 pm #68047kdvParticipantThank you, kind sir.
You’re welcome. Come again
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-06-25 at 1:54 pm #75561David DuperronCustomerHi Kdv!
I’m having an issue with your measure tool, more precisely with the line(s) material which seems incompatible with the material I am using.
The consequence is that the lines are not visible when an object with my material is somewhere behind the measure lines.
When the material has some transparency we can see the lines “through” the material (blue cube in my example), but as soon as there is a mesh with this material in “opaque” configuration the lines disapear (transparency is controlled by the material alpha attribute in my material).
Any idea how I could fix this? Does this have to do with the renderOrder in some manner?
Thanks for your help!
The example is here:- This reply was modified 4 months, 3 weeks ago by David Duperron.
2024-06-25 at 2:07 pm #75563kdvParticipantenable DepthTest for materials used to draw lines.
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-06-25 at 2:28 pm #75564David DuperronCustomerOk Great! thanks
We loose the “always on top” behaviour but that’s not a big issue for me…
Another quick question: how to increase the scale of the dots and arrows at the lines end??
Thanks!David
2024-06-25 at 3:04 pm #75565kdvParticipantThe same way as for labels. Change scaling factor.
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-06-25 at 3:13 pm #75566David DuperronCustomerAnd another one: it seems that there is an issue with multimaterial objects. In the puzzle object selector they are represented with an “empty” icon whereas the monomaterial objects are represented with a standard object icon.
And it seems that the measure tool does not recognize these objects (as they are indeed “parent” object with children geometries attached to them).
How can I add these generated submeshes to the objects to be taken into account for the measure tool?2024-06-25 at 3:15 pm #75567David DuperronCustomerOk but there is no option for these line ends as there is for the labels… Do I have to hard code it in the puzzle code??
2024-06-25 at 3:18 pm #75568kdvParticipantdimPointOne.onBeforeRender = function() { setObjectScale(this, 5); };
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-06-25 at 3:34 pm #75569David DuperronCustomerdimPointOne.onBeforeRender = function() { setObjectScale(this, 5); };
I do not see where to put this code… dimPointOne is only defined within the enableMeasureTool function.
2024-06-25 at 3:36 pm #75570kdvParticipantyou just need to change 5 to some other value.
How can I add these generated submeshes to the objects
coding
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-06-25 at 4:32 pm #75572David DuperronCustomerOk Got it thanks!
Also it gave me the opportunity to tune your puzzle block to add a scale option fore these ends. Everything works fine now!2024-06-26 at 8:11 am #75586David DuperronCustomeryou just need to change 5 to some other value.
How can I add these generated submeshes to the objects
coding
I created a procedure to extract the names (not 3D objects!) of submeshes and add them to the list of measurable objects, and now everything is as expected!
Thanks for the help!
-
AuthorPosts
- You must be logged in to reply to this topic.