When I import an .obj file that has a texture, it appears white.  [Solved]

Get help and support for using Cubik Studio.
Post Reply

When I import an .obj file that has a texture, it appears white.  [Solved]

Post by DUELS133 » 30 Dec 2017, 19:04

Hello B) , my problem is this:
When I import an .obj file that has a texture, it appears white. Before doing this topic I searched Google and the Cubik Studio forum and saw Sphax saying to check the .obj and .mtl files and according to his instructions, on other people's topics, my files are correct.
I do not know if it is necessary, but the operating system I use is OS X The Captain.
x
User avatar
DUELS133
Supporter
Posts: 3
Joined: 24 Jan 2017, 21:50

Re: When I import an .obj file that has a texture, it appears white.

Post by CaptainGalax » 31 Dec 2017, 11:51

DUELS133 wrote: 30 Dec 2017, 19:04 Hello B), my problem is this:
When I import a .obj file that has a texture, it appears white. Before doing this topic I searched Google and the Cubik Studio forum and saw Sphax saying to check the .obj and .mtl files and according to his instructions, on other people's topics, my files are correct.
I do not know if it is necessary, but the operating system I use is OS X The Captain.
Could you send your OBJ + MTL file? Maybe there's an error, the path could be wrong, or the OBJ isn't loading the mtl.
x
User avatar
CaptainGalax
Early Adopter
Posts: 155
Joined: 01 Nov 2016, 19:07
Location: Germany, Saxony

Re: When I import an .obj file that has a texture, it appears white.

Post by DUELS133 » 01 Jan 2018, 19:29

CaptainGalax wrote: 31 Dec 2017, 11:51
DUELS133 wrote: 30 Dec 2017, 19:04 Hello B), my problem is this:
When I import a .obj file that has a texture, it appears white. Before doing this topic I searched Google and the Cubik Studio forum and saw Sphax saying to check the .obj and .mtl files and according to his instructions, on other people's topics, my files are correct.
I do not know if it is necessary, but the operating system I use is OS X The Captain.
Could you send your OBJ + MTL file? Maybe there's an error, the path could be wrong, or the OBJ isn't loading the mtl.
http://www.mediafire.com/file/q95j9toi1p34bpf/Earth.zip
x
User avatar
DUELS133
Supporter
Posts: 3
Joined: 24 Jan 2017, 21:50

Re: When I import an .obj file that has a texture, it appears white.

Post by CaptainGalax » 05 Jan 2018, 13:23

DUELS133 wrote: 01 Jan 2018, 19:29
CaptainGalax wrote: 31 Dec 2017, 11:51
DUELS133 wrote: 30 Dec 2017, 19:04 Hello B), my problem is this:
When I import a .obj file that has a texture, it appears white. Before doing this topic I searched Google and the Cubik Studio forum and saw Sphax saying to check the .obj and .mtl files and according to his instructions, on other people's topics, my files are correct.
I do not know if it is necessary, but the operating system I use is OS X The Captain.
Could you send your OBJ + MTL file? Maybe there's an error, the path could be wrong, or the OBJ isn't loading the mtl.
http://www.mediafire.com/file/q95j9toi1p34bpf/Earth.zip
Found it!

Code: Select all

	map_Ka C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_earth.jpg <--- (Wrong Path, Earth is also missspelled)
	map_Kd C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_earth.jpg <--- (Wrong Path, Earth is also missspelled)
	map_Ke C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_night_lights.jpg <--- (Wrong Path, Earth is also missspelled)
	map_bump C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_bump.jpg <--- (Wrong Path, Earth is also missspelled)
	bump C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_bump.jpg <--- (Wrong Path, Earth is also missspelled)

newmtl 02___Default
	Ns 10.0000
	Ni 1.5000
	d 1.0000
	Tr 0.0000
	Tf 1.0000 1.0000 1.0000 
	illum 2
	Ka 0.5882 0.5882 0.5882
	Kd 0.5882 0.5882 0.5882
	Ks 0.0000 0.0000 0.0000
	Ke 0.0000 0.0000 0.0000
	map_Ka C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_clouds.jpg <--- (Wrong Path, Earth is also missspelled)
	map_Kd C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_clouds.jpg <--- (Wrong Path, Earth is also missspelled) 
	map_d C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_clouds.jpg <--- (Wrong Path, Earth is also missspelled)
x
User avatar
CaptainGalax
Early Adopter
Posts: 155
Joined: 01 Nov 2016, 19:07
Location: Germany, Saxony

Re: When I import an .obj file that has a texture, it appears white.

Post by Sphax » 19 Jan 2018, 10:10

prefer editing MTL file with relative paths instead of absolute paths. So that will work better for anyone.
A lot of software do not export paths in MTL files correctly...
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Re: When I import an .obj file that has a texture, it appears white.

Post by DUELS133 » 19 Jan 2018, 19:57

CaptainGalax wrote: 05 Jan 2018, 13:23
DUELS133 wrote: 01 Jan 2018, 19:29
CaptainGalax wrote: 31 Dec 2017, 11:51

Could you send your OBJ + MTL file? Maybe there's an error, the path could be wrong, or the OBJ isn't loading the mtl.
http://www.mediafire.com/file/q95j9toi1p34bpf/Earth.zip
Found it!

Code: Select all

	map_Ka C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_earth.jpg <--- (Wrong Path, Earth is also missspelled)
	map_Kd C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_earth.jpg <--- (Wrong Path, Earth is also missspelled)
	map_Ke C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_night_lights.jpg <--- (Wrong Path, Earth is also missspelled)
	map_bump C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_bump.jpg <--- (Wrong Path, Earth is also missspelled)
	bump C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_bump.jpg <--- (Wrong Path, Earth is also missspelled)

newmtl 02___Default
	Ns 10.0000
	Ni 1.5000
	d 1.0000
	Tr 0.0000
	Tf 1.0000 1.0000 1.0000 
	illum 2
	Ka 0.5882 0.5882 0.5882
	Kd 0.5882 0.5882 0.5882
	Ks 0.0000 0.0000 0.0000
	Ke 0.0000 0.0000 0.0000
	map_Ka C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_clouds.jpg <--- (Wrong Path, Earth is also missspelled)
	map_Kd C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_clouds.jpg <--- (Wrong Path, Earth is also missspelled) 
	map_d C:\Documents and Settings\glenn\Desktop\erth\02\4096\4096_clouds.jpg <--- (Wrong Path, Earth is also missspelled)
Sphax wrote: 19 Jan 2018, 10:10 prefer editing MTL file with relative paths instead of absolute paths. So that will work better for anyone.
A lot of software do not export paths in MTL files correctly...
Thanks all :D
x
User avatar
DUELS133
Supporter
Posts: 3
Joined: 24 Jan 2017, 21:50

Post Reply

Return to “Help Centre”