View Issue Details

IDProjectCategoryView StatusLast Update
0001300File formatsFeaturepublic2016-01-31 18:42
Reporterch.buehler Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
PlatformArch Linux 
Summary0001300: Importing OBJ does not load Material
DescriptionWhen I try to open a .obj file, the geometry loads fine, but colorless.
The importer seems to ignore the associated .mtl file.
TagsNo tags attached.
FreeCAD Information

Relationships

duplicate of 0002139 closedyorik Arch Export materials to obj 
has duplicate 0002256 closedyorik File formats Importing OBJ does not load Material 

Activities

wmayer

2013-11-08 15:27

administrator   ~0003869

> The importer seems to ignore the associated .mtl file.
Does this mean that colours are not part of the obj file but offered by a separate file? Sounds weird!

Can you offer a simple example, please?

ch.buehler

2013-11-08 15:43

reporter   ~0003870

For an example see http://people.cs.clemson.edu/~dhouse/courses/405/docs/brief-obj-file-format.html (Cube with Materials)

donze

2013-11-14 20:29

reporter  

donze

2013-11-14 20:30

reporter  

donze

2013-11-14 20:35

reporter   ~0003883

I am also bumping into this missing feature on:
OS: Windows 7
Platform: 32-bit
Version: 0.13.1828
Python version: 2.6.2
Qt version: 4.5.2
Coin version: 3.1.0
SoQt version: 1.4.1
OCC version: 6.3.0


I uploaded (hope so) and example (blue-plastic-push-buttons.obj and .mtl). Place those 2 files in the same directory. Open the .obj file with GLC player and you should see a blue part.


Open this same .obj file with FreeCAD and you should see a gray part.

François

yorik

2016-01-31 18:41

administrator   ~0006784

closing this as it is being handled by 0002139

Issue History

Date Modified Username Field Change
2013-11-08 11:33 ch.buehler New Issue
2013-11-08 15:27 wmayer Note Added: 0003869
2013-11-08 15:43 ch.buehler Note Added: 0003870
2013-11-08 17:56 wmayer Category => Feature
2013-11-14 20:29 donze File Added: blue-plastic-push-buttons.obj
2013-11-14 20:30 donze File Added: blue-plastic-push-buttons.mtl
2013-11-14 20:35 donze Note Added: 0003883
2013-11-20 19:19 yorik Severity major => minor
2015-09-09 22:02 savio araujo Issue cloned: 0002256
2015-09-10 19:10 yorik Relationship added has duplicate 0002256
2016-01-31 18:41 yorik Relationship added duplicate of 0002139
2016-01-31 18:41 yorik Note Added: 0006784
2016-01-31 18:42 yorik Status new => closed
2016-01-31 18:42 yorik Assigned To => yorik
2016-01-31 18:42 yorik Resolution open => duplicate