Collada .dae export: Setting "Limit Precision" has no effect #121426

Open
opened 2024-05-04 23:22:28 +02:00 by Christoph-Walter · 4 comments

System Information
Operating system: macOS 14.4.1
Graphics card: Apple M2 Pro

Blender Version
Broken: Blender 3.6.11 LTS
and also Blender 4.1.1

Short description of error
The exported dae files with mesh objects are identical no matter if the export setting "Extra" -> "Limit Precision" is selected or not (except for the time stamp of course).

**System Information** Operating system: macOS 14.4.1 Graphics card: Apple M2 Pro **Blender Version** Broken: Blender 3.6.11 LTS and also Blender 4.1.1 **Short description of error** The exported dae files with mesh objects are identical no matter if the export setting "Extra" -> "Limit Precision" is selected or not (except for the time stamp of course).
Christoph-Walter added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-05-04 23:22:29 +02:00

I'm not able to reproduce this on Windows at least. Attached are 2 files, both from the default scene, the first exported normally and the second with the "Limit Precision" option checked. There are appropriate differences for the Camera and Light objects if you diff the 2 files.

I'm not able to reproduce this on Windows at least. Attached are 2 files, both from the default scene, the first exported normally and the second with the "Limit Precision" option checked. There are appropriate differences for the Camera and Light objects if you diff the 2 files.
Member

Hi, unable to confirm either. File from @deadpin clearly shows the difference without and without "Limit precision" option. I don't think this is a bug. Maybe attach .blend if you observe it in specific file (possibly all values are already within LIMITTED_PRECISION/6)?

Hi, unable to confirm either. File from @deadpin clearly shows the difference without and without "Limit precision" option. I don't think this is a bug. Maybe attach .blend if you observe it in specific file (possibly all values are already within LIMITTED_PRECISION/6)?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-05-06 07:14:46 +02:00

I did not test it with camera or light objects but mesh objects (where high precision or low precision is a big factor for the file size).

Here is the beginning of the mesh data from the attached dae file:
<float_array id="Cube-mesh-positions-array" count="3078">0.3170335 0.3742044 -0.09267431 0.3170335 0.3742044 ....

The hover info on that setting says that precision is limited to 6 digits but most numbers still have more than 6 digits. The shorter ones have zeroes at the end I guess.

I did not test it with camera or light objects but mesh objects (where high precision or low precision is a big factor for the file size). Here is the beginning of the mesh data from the attached dae file: <float_array id="Cube-mesh-positions-array" count="3078">0.3170335 0.3742044 -0.09267431 0.3170335 0.3742044 .... The hover info on that setting says that precision is limited to 6 digits but most numbers still have more than 6 digits. The shorter ones have zeroes at the end I guess.

Ah, so the limit_precision option is only used on the various matrix transform data for objects (including blend shape and armature transform matrices), not the actual vertex data. This is why you'll see the Camera and Light's <matrix sid=transform element change in the default scene but not something like the Cube's position array.

The documentation/tooltip for this option is overselling the effect of this setting.

Ah, so the `limit_precision` option is only used on the various matrix transform data for objects (including blend shape and armature transform matrices), not the actual vertex data. This is why you'll see the Camera and Light's `<matrix sid=transform` element change in the default scene but not something like the Cube's position array. The documentation/tooltip for this option is overselling the effect of this setting.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#121426
No description provided.