OBJ: Add hierarchy support by name splitting (Python patch provided) #105001
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#105001
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
From:
https://archive.blender.org/developer/D16095
Gentle reminder for @aras_p regarding the enhancement I posted Python code for into that old phapricator differential. Aras said he would look into reimplementing it in C++ as the Python importer was now legacy, but that was a while ago. I suspect it has slipped off his radar.
Essentially adds an optional seperator char and option so that a .obj with lots of 'o' can be split into a structured hierarchy.
Obviously belongs in the "Pipeline, Assets & I/O" project.
Add hierarchy to C++ obj importer D16095to Add hierarchy to C++ obj importer (D16095)Hi, thanks for bringing this up. Though Tracker is the place for blender related bugs.
I'll close this ticket since it's not a bug. Please contact Aras in #blender-coders for further support/questions.
Sorry if I've misunderstood here. I try not to abuse ticket systems as I've been on both ends. I thought all the old phabricator "Tasks" were turned into github tickets, but it seems like I've misunderstood. Chat channels are OK for chat, but how are devs now tracking tasks?
Hi, yes, all Phab reports are now on Gitea.
On Phab you had submitted the diff, not the report. If you want to work on it, feel free to open a new report on gitea and mark it as a design/todo. But since Aras had started working on it, I'd ask Aras first whether this improvement is still under his radar and whether he needs a separate report to track the progress.
Add hierarchy to C++ obj importer (D16095)to OBJ: Add hierarchy support by name splitting (Python patch provided)I reopened, changed to ToDo, assigned to myself. The old discussion slipped from my radar indeed.
Hi Aras. I got a little tired of waiting, so I rolled up my sleeves and had a go. How hard can it be? Well, very... because I haven't touched C++ since university 30 years ago and this was a lot of trial and error. This code works perfectly for my purposes. You can of course refactor and tweak it as you see fit. There are two things I see could be improved.
I've only tested this with the sample house file in the D16095 issue, with no errors. I don't have other complex obj files to test with. I'm thinking of ones with GEOM_CURVE type objects mixed with GEOM_MESH type ones.
It would be great if you could review it, and maybe let me know where I did dumb things. Cheers!
[Edit: It also has no negative performance impact (maybe even a slight improvement) as path separated processing of the house was consistently a tiny bit quicker.]
Implemented in #115742