f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Add new commands to show/hide mesh parts

Open Meakk opened this issue 5 months ago • 4 comments

Is your feature request related to a problem? Please describe. Some assets may have mesh parts the user do not want to visualize.
A good example is a convex hull collision mesh surrounding the main mesh.
In this specific case, if the asset is created for UE, its name is prefixed by UCX_.

Describe the solution you'd like We should add commands to hide/show parts based on the mesh name and a regexp (or glob) e.g. hide_part UCX_.* will hide the convex hull. That way, users can bind a key to hide some parts based on their workflow.

Additional context At the moment, mesh names are not stored by importers, so that must be added too.

https://dev.epicgames.com/documentation/en-us/unreal-engine/fbx-static-mesh-pipeline-in-unreal-engine?application_version=5.4#collision

CollisionMesh_Dummy.zip

Meakk avatar Jul 09 '25 09:07 Meakk

This needs https://github.com/f3d-app/f3d/issues/18 before being fixable

mwestphal avatar Jul 09 '25 09:07 mwestphal

Added data and unreal specific resources

mwestphal avatar Jul 09 '25 09:07 mwestphal

Despite this command is very useful to hide many generated objects, interactive UI would be much better for simple usage - to hide and show specific objects. Imagine you want to hide some specific object but you dont know its name. So you have to open console, then type something like:

part list // you know there that the name is "box123"
part hide box123

With UI, you can just click a checkbox, this is much easier.

ColdSpirit0 avatar Dec 04 '25 22:12 ColdSpirit0

Despite this command is very useful to hide many generated objects, interactive UI would be much better for simple usage - to hide and show specific objects. Imagine you want to hide some specific object but you dont know its name. So you have to open console, then type something like:

part list // you know there that the name is "box123"
part hide box123

With UI, you can just click a checkbox, this is much easier.

Well, both are planned :)

mwestphal avatar Dec 05 '25 07:12 mwestphal