Comments (4)
After doing a lot of experimentation, I'm fairly certain that when scaling is applied to inserts, the scaling is also being applied to the positional arguments. So not only is the scale changing the xyz scale of the inserted block, it is shifting the xyz position of the block.
Edit: I'm very sure this is the issue. If I manually edit the xyz position values by dividing them by their corresponding xyz scaling values, the inserts are placed at the correct locations. This implies that somewhere there is a section of code saying pos*scale. Since the same error in placement shows up regardless of the export format, maybe the bug is in DXFLoader.cpp, but I am not very good with cpp and can't see where it might be.
from assimp.
I think I have resolved the issue
Changing the order of operations so placement of the inserted block happens before scaling seems to fix the problem when the position xyz values are multiplied by the scaling values.
I will test more before submitting a pull request
from assimp.
Fixed by #5426
from assimp.
Fixed by #5426
from assimp.
Related Issues (20)
- Bug: Build error ISO C99 and later do not support implicit function declarations HOT 1
- Bug: Issue 55843 in oss-fuzz: assimp:assimp_fuzzer: Integer-overflow in Assimp::DXF::LineReader::operator++
- GLTF2Exporter and KHR_lights_punctual
- Bug: 3mf export tests are broken
- Bug: Assimp 5.4.1 can not find FBX loader for FBX file when it was read from memory. HOT 2
- Bug:Export OBJ file node name failed to export HOT 2
- Constructor/destructor for class aiScene is in Version.cpp HOT 1
- Bug:The crash occurred when the ifc file was imported
- Bug:The stack-overflow occurred when the ifc file was imported HOT 1
- Bug:Exporting FBX file using assimp, unable to parse mesh
- Bug: Importing Collada file fails with "Error importing model: Cannot parse string" HOT 1
- Bug: GCC-14 fails to build when default symbol visibility is set to hidden HOT 1
- Bug: Possible nullptr dereferencing in Subdivision
- Question: blender 4.1 exported and imported to flax engine has some issues
- Bug: Hard-Crash when loading FBX file HOT 1
- Bug: Compile error in Visual Studio 2022 in Debug mode
- Bug: There may be an out-of-bound access of the variable m_DataIt (static analysis report) HOT 1
- Bug: There may be a dead loop in the file code/PostProcessing/TextureTransform.cpp( static analysis report). HOT 1
- Bug: compile assimp for android failed HOT 5
- when it could support vmd format in mmd after pmx format in mmd have been supported? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assimp.