Page 1 of 1

Importing 3d textures

Posted: Sun Oct 08, 2006 6:39 pm
by Ashe Raven
One of the frustrating realities about the Wavefront OBJ file is there is no way I can figure out how to export it with a texture file. Neither cinema 4D, Poser or even Vue d'esprit (the software I am using) offer me the facility to do so. Is there a freeware programme anyone might know of to achive this, or is there a nack I am totally missing here.

Posted: Sun Oct 08, 2006 7:38 pm
by Víctor Paredes
i don't know very much about 3d textures. but i always work with simple textured 3d objects.
www.wings3d.com works fine for me.

Re: Importing 3d textures

Posted: Tue Oct 10, 2006 9:30 am
by Rhoel
Ashe Raven wrote:One of the frustrating realities about the Wavefront OBJ file is there is no way I can figure out how to export it with a texture file. Neither cinema 4D, Poser or even Vue d'esprit (the software I am using) offer me the facility to do so. Is there a freeware programme anyone might know of to achive this, or is there a nack I am totally missing here.
Poser should do, but I admit that it is far from easy to burn on the testure - I also use 3Dmax and cannot figure out how to burn the testure map into the materials file.

I also have access to Maya and Lightwave - the latter I find very hard to understand the GUI.

The biggest problem (literally) is getting the scales to work. Often the .obj files come in huge and getting it all back together is not easy.

Maybe we ahve to start a new tutorial thread on this: Potentially, being able to build prop objects such as Tables and Chairs, ot 3D sets has real potential ... if only one can bring the objects into teh scene quickly and easily.

Somebody here must have cracked this nut.

Rhoel

Posted: Tue Oct 10, 2006 3:41 pm
by MikeHart
Which Poser version do you own?

Posted: Tue Oct 10, 2006 3:50 pm
by MikeHart
Just for a quick start. Every OBJ file should have a correponding MTL file. Poser exports this automatically. If you character uses texturemaps then the material file has their filenames included. But without the path, so you need to copy the textures into the same folder of your OBJ file that you try to import into AS.

Here is a small example of the material file of Victoria3 by Daz:

Code: Select all

newmtl SkinTorso
Ns 11.5728
Ka 0 0 0
Kd 1 1 1
Ks 0.066468 0.066468 0.066468
map_Kd V3BodyMHi.jpg
map_Bump  V3BodyBHi.jpg
newmtl Nipples
Ns 11.5728
Ka 0 0 0
Kd 1 1 1
Ks 0.066665 0.066665 0.066665
map_Kd V3BodyMHi.jpg
map_Bump  V3BodyBHi.jpg
newmtl SkinNeck
Ns 11.5728
Ka 0 0 0
Kd 1 1 1
Ks 0.066636 0.066636 0.066636
map_Kd V3BodyMHi.jpg
map_Bump  V3BodyBHi.jpg
newmtl SkinHip
See the .jpg file names? You have to search for them inside posers runtime folders and copy them to your exported OBJ file. I guess it is the same with other 3d apps.

Posted: Wed Oct 11, 2006 11:08 pm
by Bee-ruce2
MikeHart wrote:Which Poser version do you own?
Is it neccessary to own Poser to import .obj's with color/texture? If so....will version 5 work or do you need version 6?(I don't currently own either version) I downloaded one of Content Paradise's "weekly freebie" objects....a "Poisen Dart Frog.....and tried importing to A.S. I was only able to import the .obj without color/texture. I don't see any "MTL" file. Opening the Frog file shows a folder called "runtime". Inside of that are 2 folders labeled "librairies" and"Textures". Inside of librairies are 3 folders....."Characters", "materials" and "pose".I dont see anything labeled MTL in any of those folders.

Posted: Thu Oct 12, 2006 12:23 am
by bupaje
I think you need Poser. From what I read --assuming I understand this- Poser uses the base obj file then several other files to make it 'richer' -adding more info. It is likely then that the material info is in one of these files. If Poser allows export of obj then maybe it generates the mtl on export, or strips the extra info from the cr2 file or whichever one has it. Here is some Poser file info; may help if someone smarter than I knows if the mtl info is embedded in one of these other files as a block of text that can be recovered to manually construct the mtl file.

http://www.kuroyumes-developmentzone.co ... espec.html

Posted: Thu Oct 12, 2006 8:45 am
by MikeHart
Is it neccessary to own Poser to import .obj's with color/texture?
Actually no, I just wanted to know because there might be differences in the export feature of Poser betweens it's versions.

Posted: Fri Oct 13, 2006 1:08 am
by bupaje
Sorry I assumed he meant obj files created with Poser. Not sure if that even makes sense as I am half asleep. :shock: (Where's the sleeping icon ...)

Posted: Thu Nov 09, 2006 11:53 pm
by Genete
Have you seen this??
In Wings3d is so easy make textures to your 3D objets. Inserted in AS/Moho works fine.
I suppouse Blender makes similar or better work but W3d is better for a novel to 3D like me.

Posted: Fri Nov 10, 2006 3:49 am
by Víctor Paredes
thank you genete!
i will back to use wings now.
(estaba un poquito alejado, pero esto se ve muy interesante!)

Posted: Fri Nov 10, 2006 6:57 am
by DK
I model objects with Lightwave modeller create their uv maps, import them into Poser then re-surface them with Poser materials window. For some reason the images won't import into Poser when they are mapped with LW so try re-surfacing them in Poser ten export them as obj's. Works fine on import to AS.

D.K

Posted: Sun Dec 10, 2006 5:41 pm
by Freeline
I model in Wings 3D, too, and paint directly on the Texture-File (tga as result, psd while working on it), e.g. in Photoshop, and then import it into Giles and combine colored textures with model. Export from giles as Obj.-Files, ready for use in ASP.

Posted: Sun Dec 10, 2006 5:55 pm
by artfx
I go from Sketchup into Vue 5 via OB all the time and textures are always retained properly, so I figure it must be possible. I think having the objec and all image maps in the same folder is a good idea though.