3dsmax exports every mesh as pickable

As written in the topic, the 3dsmax exporter (v20240312.5) exports every mesh as pickable when choosing file format glb / gltf. Exporting a scene as a .babylon file the object property “Pickable” is exported correctly. Can anyone confirm this?

I believe there is no “Pickable” mesh property in GLB/GLTF format - glTF™ 2.0 Specification

2 Likes

From the documentation for Mesh:

isPickable: boolean
Gets or sets a boolean indicating if the mesh can be picked (by scene.pick for instance or through actions). Default is true

1 Like

labris is referring to the glTF specification. Autodesk’s GLB exporter is pants. My advice if you want to use 3ds: install 3ds max 2023 and the supporting exporter: Babylon.js docs

This may be true, but it’s not the exporter at fault. glTF does not currently specify whether a mesh is pickable as @labris mentioned, though there is a draft specification in progress: KHR_node_selectability Draft Proposal by lexaknyazev · Pull Request #2422 · KhronosGroup/glTF (github.com) to support the incoming interactivity spec. And as @HiGreg has already mentioned, a mesh is pickable by default in Babylon. The glTF loader does not change this setting and thus all meshes are pickable when loaded from a glTF.

1 Like