Home › Forums › General Questions › How can i add” line rendering ” verge3d-setting to geometry with Puzzles ?
- This topic has 6 replies, 3 voices, and was last updated 1 year, 12 months ago by
omejar.
-
AuthorPosts
-
2023-10-10 at 12:45 pm #67443
omejar
ParticipantIn my project, It works differently when I use ”Line rendering”setting & “enable wireframe for Materior “, and in my opinion ”Line rendering” is better.
Attachments:
2023-10-10 at 2:03 pm #67447omejar
ParticipantI found “line rendering verge3d-setting” in GLTF code:
not line rendering:
"meshes": [{ "extensions": { "S8S_v3d_mesh": { "colorLayers": {}, "uvLayers": {} } }, "name": ..., "primitives": [{ ... } ] } ],with line rendering:
"meshes": [{ "extensions": { "S8S_v3d_mesh": { "colorLayers": {}, <strong> "lineColor": [0,0,0],</strong> <strong> "lineWidth": 5.0,</strong> "uvLayers": {} } }, "name": ..., "primitives": [{ ... } ] } ],2023-10-11 at 7:27 am #67469kdv
Participantand in my opinion ”Line rendering” is better.
Yes, it looks better (no triangulation, lines thickness can be set to more than 1px) and it can be activated only in 3D editor before exporting. You can’t do it with puzzles.
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.
2023-10-25 at 4:31 pm #67914
CrunchCustomerso there is no way to activate line rendering on objects at runtime using puzzles? But is there a way to do it using a code javascript code snippet?
2023-10-25 at 4:41 pm #67915kdv
ParticipantExport two meshes and switch between them (visible/invisible).
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.
2023-10-27 at 1:53 am #67965
CrunchCustomerso no magic snippet :(
Issue for the current case i was working on is i have a lot of objects (100s) so too much of a headache to duplicate meshes.. Good idea though, thanks as always!2023-11-08 at 1:46 pm #68290omejar
Participantthank you for your information
-
AuthorPosts
- You must be logged in to reply to this topic.

