OBJ Exports a single curve with depth as multiple objects #112913

Open
opened 2023-09-26 16:53:51 +02:00 by Richard-Brenick · 1 comment
Contributor

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.18

Blender Version
Broken: version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: 8bda729ef4dc
Can reproduce on daily build 4.0.0-alpha+main.2aa393e72771

Short description of error
When exporting a curve that has a depth value above 0, the output .obj file will contain multiple objects overlapping each other.

Issue only seems to occur in the new .OBJ export. Cannot reproduce in the Legacy one.

Attempted various combinations of "Grouping" export settings, but issue persists.

Exact steps for others to reproduce the error

  1. Create a curve (for example, a Bezier)
    image
  2. In geometry properties, set Depth to 0.1
    image
  3. Export using the new .OBJ export
    image
  4. In your text editor of choice, open the .obj and observe that the curve is defined twice.
    image
    You can also import the .obj and see that multiple objects are created.
    (example below where I have moved the edges to show the second cylinder)
    image
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.18 **Blender Version** Broken: version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: `8bda729ef4dc` Can reproduce on daily build `4.0.0-alpha+main.2aa393e72771` **Short description of error** When exporting a curve that has a depth value above 0, the output .obj file will contain multiple objects overlapping each other. Issue only seems to occur in the new .OBJ export. Cannot reproduce in the Legacy one. Attempted various combinations of "Grouping" export settings, but issue persists. **Exact steps for others to reproduce the error** 1. Create a curve (for example, a Bezier) ![image](/attachments/3490e760-7ed1-42e8-8d58-14c2752d7c68) 2. In geometry properties, set Depth to 0.1 ![image](/attachments/01789859-d306-44e4-8181-cf466b1b162f) 3. Export using the new .OBJ export ![image](/attachments/6b13be06-655e-4cd4-9a3d-d52c900a3745) 4. In your text editor of choice, open the .obj and observe that the curve is defined twice. ![image](/attachments/929f7cb6-d8bf-4cb5-92b1-1bf8879dac38) You can also import the .obj and see that multiple objects are created. (example below where I have moved the edges to show the second cylinder) ![image](/attachments/689f6ef1-adf0-4506-8326-69214a984322)
Richard-Brenick added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-09-26 16:53:51 +02:00
Iliya Katushenock added the
Interest
Modeling
Interest
Pipeline, Assets & IO
labels 2023-09-26 17:19:46 +02:00
Member

Hi, thanks for the report. I can confirm. This is happening since new c++ obj exporter was added.
I believe this is related to #112885 / #94038 where depsgraph iterates the curve twice (maybe original curve and evaluated curve with beveled vertices).
cc @aras_p

Hi, thanks for the report. I can confirm. This is happening since new c++ obj exporter was added. I believe this is related to #112885 / #94038 where depsgraph iterates the curve twice (maybe original curve and evaluated curve with beveled vertices). cc @aras_p
Aras Pranckevicius self-assigned this 2023-09-27 20:35:10 +02:00
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
2 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#112913
No description provided.