I used opencascade's module to export from step to glb . I tried to read the glb file with blender and it works just fine . I then imported it to babylon and it crashed . I posted the file on Khronos's glTF validator and it reported lots of unused meshes . I would like to know if there is a way to remove these unused meshes and if there is other ways to optimize glTF files and babylon import
removing unused objects from a glTF 2.0 file
1.5k Views Asked by tawfikboujeh At
1
There are 1 best solutions below
Related Questions in 3D
- Issues with a rotation gizmo and sign flips when converting back to euler angles
- coded one, but renderer renders two 3D models in three.js
- WorldToScreen function
- Sweep shape along 3D path in Python
- How to add another panel or window to the open3d.visualization.O3DVisualizer class? (In python open3d)
- How to estimate the memory size of a binary voxelized geometry?
- LibGDX Normal Textures Not Showing Up in 3D (Blender) Model Java
- A way to warp an image based on a map
- 3D surface won't show data on plotly
- Creating 3D python data from index sums of 2D data
- 3D graph in Rstudio (time vs intensity vs coefficient)
- Combining multiple plots with mayavi
- JavaFX 3D API does not work on all Android deivces
- Manual retargeting - How to compute target pose bone positions correctly?
- How do I dynamically change vertex colors using Direct3d 12 and Visual C++?
Related Questions in BLENDER
- Blender mesh-cleanup reduces number of vertices but in Three.js it doesn't
- how to use knife_project with python script in blender 4.0? it promat me knife project.poll() expected a view3d region & edit mesh
- How do I bake a normal Map in Blender?
- Error: 'Mesh' object has no attribute 'use_auto_smooth' when importing .zmbx (Metabricks) file into Blender
- LibGDX Normal Textures Not Showing Up in 3D (Blender) Model Java
- Spacing out overlapping rectangles: how to translate pseudocode?
- when rendering their project the video size became distorted, resulting in stretched visuals despite the frames being perfectly rendered
- Blender Python Reported texture size limit error
- unable to load .fbx file using bpy on AWS lambda: " IMB_loadifffile: couldn't get mapping /tmp/. "
- Blender animation doesn't import in UNREAL ENGINE
- Cant get this bianchi-Pinkall script to work in blender
- Bake sound to f curve on Geometry Node via Python API
- AttributeError: 'module' object has no attribute 'inputs'
- Blender image sequence (png) to Unity
- Problems with eye shading
Related Questions in GLTF
- how to add 2d video instead of 3d model in mind-ar by using its scripts?
- Having "WebGL: INVALID_OPERATION: useProgram: program not valid" while importing 3D model on THREE.js
- How to set Normal Texture Scale Value as a Vector ([1, -1])
- GLTF Model lost on navigating to another page and back in NextJS
- New to A-frame & HTML Coding - my model won't load, what am I doing wrong?
- Import gltf scene and create bounding boxes using javascript
- React Native Mapbox RNMBXModels.models.getter not implemented (Expo Project)
- (Typescript setup) 3D model custom layer not displayed in the mapbox
- Trouble in using gltf-model in aframe-react
- importing GLTFLoader only shows white screen
- How to calculate transform for GLTF joint with no inverse bind matrix and no channels?
- THREE JS realistic render
- How can import list of gltf-binary format into 3D eidting software and export it back along with element IDs
- Error while loading Draco-compressed mesh (glTF-Transform) in BabylonJS
- How do I add collision to an imported gltf object
Related Questions in BABYLONJS
- Babylonjs & vue - Ground texture does not load on localhost
- I created a Babylon with meshes loaded in a X Django app template, now I need to rotate it by clicking buttons located a dash-board on a y Django app
- Export Blender to Babylon.js fails
- How to tell if Shift key is being held down
- Error while loading Draco-compressed mesh (glTF-Transform) in BabylonJS
- Unable to Load 3D Model File and Encountering JSON Parsing Error
- Redering glb file using babylon viewer in angular
- BabylonJS GUI Element has strange effects with depthOfField
- Babylon.js, making turrets face the middle of the field?
- BabylonJS Dynamically generated Animation not playing
- Babylon.js onBeforeRenderObservable works with scene, not with a mesh
- intersectsMesh Babylon.js
- How to add easing function to Babylon JS keyframe
- Babylon.js model animation is clipped when I move around it
- How to create 3D website like this? (babylon.js or KRpano?)
Related Questions in OPENCASCADE
- How to configure VS2017 for Opencascade use?
- Opencascade: signed distance function (and more) for point cloud
- QtCreator - build and link OpenCascade using CMake
- Generate B spline with Opencascade
- How do I construct an OpenCascade `TopoDS_Shape` which is an identity element of `BRepAlgoAPI_Common`
- OpenCascade Step file UserDefined property reading
- Own export-to-file function in pythonOCC
- VTK Unresolved External Symbol vtkIneractionStyle_AutoInit_Construct
- How to find the normal vector at a given point on a face in Cadquery
- Why is there no edge in step face?
- Use opencascade.js in Vite program,when I run and then get some error : [ERROR]Could not resolve "a"
- IVtkTools_ShapePicker doesn't pick anything
- Access .STP egde coordinates with PythonOCC
- Get TopoDS_Shape from AIS_InteractiveObject
- How to get the selected points from an ais_pointcloud object in opencascade?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If it is "Entity cannot be empty" on entities having no triangulations, then it should be just fixed in OCCT itself.
If this is another case with glTF files exported by OCCT and not passing validation, then probably it is better reporting a bug rather than trying to clean up generated glTF file (although I suppose there are tools in a wild that could do so).
Optimization of glTF files for specific engines is another topic, sorry to have no answer here. OCCT exports files preserving shape topology structure which might result in poor performance on some unoptimized glTF viewers (you can see that such structure does no harm to CAD Assistant glTF viewer, for example). There is a list of tools that include "optimize" in description like gltfpack, but I have not tried any.