Draw models as lines instead of fill - wireframe like #147
-
Is there a way to show lines that conform the faces instead of the model faces? SceneKit like: OpenGl like: Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi,
So this Filament PR: google/filament#942 by @prideout The only thing missing is the java link to this cpp function inside /**
* Lazily creates a single LINES renderable that draws the transformed bounding-box hierarchy
* for diagnostic purposes. The wireframe is owned by the asset so clients should not delete it.
*/
utils::Entity getWireframe() noexcept;
|
Beta Was this translation helpful? Give feedback.
Hi,
It sounds possible within Filament and Sceneform gives you access to the FilamentAsset directly.Filament only provides a wireframe representation for the bounding box.
So this Filament PR: google/filament#942 by @prideout
shouldshould not match your need.You can then get the bounding box Wireframe Renderable from your gltf object.
The only thing missing is the java link to this cpp function inside
FilamentAsset.java
:Could you make a little quick PR …