.obj Export: NURBS curves exported with reverse orientation #72326
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#72326
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10 Pro 64-bit
Graphics card: NVIDIA Geforce GTX 1080 Ti
Blender Version
Broken: v2.80
Worked: (unknown)
Description
When exporting a NURBS curve to an .obj file, the vertices of the curve are listed in the "forward" order; but the curve references them in the reverse order. This yields the curve with its orientation reversed.
To reproduce the error:
Blender file:
OBJ file:
Details
The vertices in the file are listed in the order in which they appear in the curve.
The obj definition "curv 0.0 1.0 -1 -2 -3 -4" uses negative indexing, which counts the vertices starting from the bottom up, yielding the reverse orientation.
This is explained in the .obj specification start from line 652.
Added subscriber: @chafner
Added subscriber: @EitanSomething
Changed status from 'Needs Triage' to: 'Needs User Info'
Is this still an issue with 2.83?
Added subscriber: @ankitm
Both relative and absolute indices are supported in OBJ for all types. Blender just happens to use it for Curves. The orientation is dependent on the importer and the axis transform the importer does.
Did you try importing the curve back into Blender to see if it was flipped?
Is it problematic for other apps ? If so, in the newer OBJ writer, we can write it in positive indices just like other objects as it's easy to change.
Changed status from 'Needs User Info' to: 'Archived'
No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.
Thanks again for the report. If the problem persists please open a new report with the required information.