Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
News:
NVil Forum
»
General Category
»
Bug Reports
»
[Fixed] .obj import + mtl files
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Fixed] .obj import + mtl files (Read 4550 times)
0 Members and 1 Guest are viewing this topic.
Posts: 2103
Polygon
steve
January 18, 2018, 05:00:24 pm
Hi IStonia,
I thought this issue had been resolved. But I am seing an issue when importing an .obj file with a missing .mtl file.
With other applications I use, if the .mtl file is missing, they will create a default material for each of the "mat ID" within the .obj file.
For example. within an .obj file, you will have a "Usemtl {name}" in front of a set of faces, such as:-
usemtl Mat1
s 2
f 5/5/5 6/6/6 2/2/2 4/4/4
usemtl Mat2
s 2
f 5/5/5 3/3/3 1/1/1 6/6/6
Now if the .obj file is imported without the .mtl file, other application will create a default material for each of those mat IDs, so you would see
Mat1
Mat2
which are applied to the assign faces.
If the .mtl file is missing when importing into Nvil, those mat IDs are ignored and a single defualt material is assigned to all faces.
If you can find time, could you please look into this.
«
Last Edit: January 19, 2018, 03:49:17 am by steve
»
Logged
Posts: 3760
Developer
Administrator
Polygon
IStonia
January 19, 2018, 01:25:45 am
Try this
http://www.digitalfossils.com/Download/NVil-Jan-19-18.rar
Logged
Posts: 2103
Polygon
steve
January 19, 2018, 03:49:02 am
Excellent, many thanks.
Logged
Print
Pages: [
1
]
« previous
next »
NVil Forum
»
General Category
»
Bug Reports
»
[Fixed] .obj import + mtl files