{"id":4081,"date":"2023-02-24T16:15:53","date_gmt":"2023-02-24T16:15:53","guid":{"rendered":"https:\/\/castle-engine.io\/wp\/?p=4081"},"modified":"2023-02-21T01:51:49","modified_gmt":"2023-02-21T01:51:49","slug":"rendering-of-lines-and-points-from-gltf-more-options-for-line-nodes-in-x3d","status":"publish","type":"post","link":"https:\/\/castle-engine.io\/wp\/2023\/02\/24\/rendering-of-lines-and-points-from-gltf-more-options-for-line-nodes-in-x3d\/","title":{"rendered":"Rendering of lines and points from glTF, more options for line nodes in X3D"},"content":{"rendered":"<table class=\"thumbnails thumbnails-align-right\"><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2023\/02\/Zrzut-ekranu-z-2023-02-21-02-46-04.png\"\n             class=\"screenshot\"\n             title=\"Lines from glTF, test model from https:\/\/github.com\/KhronosGroup\/glTF-Sample-Models\/issues\/124\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2023\/02\/Zrzut-ekranu-z-2023-02-21-02-46-04-200x129.png\"\n             width=\"200\" height=\"129\" \n            alt=\"Lines from glTF, test model from https:\/\/github.com\/KhronosGroup\/glTF-Sample-Models\/issues\/124\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2023\/02\/Zrzut-ekranu-z-2023-02-21-02-47-23.png\"\n             class=\"screenshot\"\n             title=\"Points in glTF\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2023\/02\/Zrzut-ekranu-z-2023-02-21-02-47-23-200x129.png\"\n             width=\"200\" height=\"129\" \n            alt=\"Points in glTF\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2023\/02\/Zrzut-ekranu-z-2023-02-21-02-47-11.png\"\n             class=\"screenshot\"\n             title=\"Lines in glTF\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2023\/02\/Zrzut-ekranu-z-2023-02-21-02-47-11-200x129.png\"\n             width=\"200\" height=\"129\" \n            alt=\"Lines in glTF\"\n          ><\/a><\/td><\/tr><\/table>\n<p>This is probably not the most sexy graphic effect announcement :), but the lines and points are useful to visualize a lot of things.<\/p>\n<p>We have improved our glTF support to properly import points, lines (lines, line strips, line loops), and their materials.<\/p>\n<p>We have also improved our X3D nodes capabilities by introducing <code><a href=\"https:\/\/castle-engine.io\/apidoc\/html\/X3DNodes.TIndexedLineSetNode.html#Mode\">TIndexedLineSetNode.Mode<\/a><\/code> and  <code><a href=\"https:\/\/castle-engine.io\/apidoc\/html\/X3DNodes.TLineSetNode.html#Mode\">TLineSetNode.Mode<\/a><\/code>. This allows to comfortably and efficiently define lines, line strips, line loops in X3D.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is probably not the most sexy graphic effect announcement :), but the lines and points are useful to visualize a lot of things. We have improved our glTF support to properly import points, lines (lines, line strips, line loops), and their materials. We have also improved our X3D nodes capabilities by introducing and . &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/castle-engine.io\/wp\/2023\/02\/24\/rendering-of-lines-and-points-from-gltf-more-options-for-line-nodes-in-x3d\/\" class=\"more-link\">Continue reading  \u27a4<span class=\"screen-reader-text\"> &#8220;Rendering of lines and points from glTF, more options for line nodes in X3D&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":4082,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"publish_to_discourse":"1","publish_post_category":"9","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"2551","discourse_permalink":"https:\/\/forum.castle-engine.io\/t\/rendering-of-lines-and-points-from-gltf-more-options-for-line-nodes-in-x3d\/749","wpdc_publishing_response":"success","wpdc_publishing_error":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-4081","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2023\/02\/Zrzut-ekranu-z-2023-02-21-02-46-04.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9IgYW-13P","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/4081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/comments?post=4081"}],"version-history":[{"count":1,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/4081\/revisions"}],"predecessor-version":[{"id":4087,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/4081\/revisions\/4087"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media\/4082"}],"wp:attachment":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media?parent=4081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/categories?post=4081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/tags?post=4081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}