OBJ import with texture?
-
I noticed the OBJ importer (atleast the one I'm using) isn't importing the texture, is there a way to enable this? I don't understand what's the point of importing something if the texture doesn't get carried along with the model.
Thanks.
-
Anyone?
-
SUp's OBJ importers usually import the raw geometry and ignore any textures... No one has yet written one that does... [I think... I'm prepared to be contradicted...]
Although looking through some examples it wouldn't be that difficult to add materials/textures to the faces if the .obj file comes with its .mtl file AND the named folder containing the required image files ???
Jim ???
-
Thanks for the reply, I did export the mesh/material/texture in one folder, all named accordingly then tried to import it using OBJ Importer and the texture doesn't get imported, to make sure I repeated the process with .3ds and it worked like a charm. Now you ask, why don't I use .3ds? ..well, because the model is 500,000+ polys so the only way I can import it in SU is via .obj format, is anyone more experienced able to shed some light on this matter? I'm sure I'm not the only one that wants this to work.
Thanks!
-
I am not at all familiar with placing a texture image using the Ruby API. I know it can be done because of the existence of tools like Whaat's and Thomthom's UV tools. Just a matter of digging in and learning how to do it. Right now, my time needs to be focused on finding a steady source of income.
-
I'm not familiar with the inner-workings of SU, what I understand from this is that there is no OBJ importer plug-in that carries the texture over with the mesh but technically it is possible?
Thanks.
-
I'll give you $.02 a day to work on it for a month Jim. Is that what you mean by steady income?
Chris <--- In the same, slowly sinking boat as you Jim....
-
<-- Captain of the boat.
Anyway, I don't know how complicated this might be to make, but I'm sure many, many people will be extremely grateful if this plugin sees daylight.Is there another way I can import a huge model into SU while still keeping the texture?
Thanks!
-
I made one for you, get it here... http://forums.sketchucation.com/viewtopic.php?p=172790#p172790
-
Thanks, but for some reason the texture still doesn't get imported, I uploaded a small test with the obj/mtl/texture, and also a 3ds file so you see that it works with the regular importer:http://rapidshare.com/files/256042706/test.zip.html
Thanks for your effort, we appreciate it!
-
???
-
..any feedback??
-
You might try responding in the plugin thread. Maybe TIG checks that one more often. Plus, in that thread you might find some updates and current news about the plugin.
Chris
-
raduteo
The mtl file was missing a colour definition [Kd] and I also think SUp needs a jpg rather than a bmp [I did a save_as and also edited the mtl file to suit]... Anyway it then worked...
I need to trap mtl's with a texture but no colour [using texture.average_color if no Kd ?]... I am looking at various fixes and other improvements... Please check out the Ruby Forum over the coming days...Updated...
Advertisement