Importing 3d textures

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Ashe Raven
Posts: 62
Joined: Thu Sep 14, 2006 11:43 pm
Contact:

Importing 3d textures

Post 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.
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post 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.
User avatar
Rhoel
Posts: 844
Joined: Fri Feb 25, 2005 8:09 am
Location: Phnom Penh, Cambodia
Contact:

Re: Importing 3d textures

Post 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
User avatar
MikeHart
Posts: 43
Joined: Wed Sep 13, 2006 11:11 am
Location: Germany

Post by MikeHart »

Which Poser version do you own?
User avatar
MikeHart
Posts: 43
Joined: Wed Sep 13, 2006 11:11 am
Location: Germany

Post 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.
User avatar
Bee-ruce2
Posts: 54
Joined: Tue Sep 05, 2006 1:46 am

Post 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.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post 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
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
User avatar
MikeHart
Posts: 43
Joined: Wed Sep 13, 2006 11:11 am
Location: Germany

Post 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.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post 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 ...)
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post 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.
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

thank you genete!
i will back to use wings now.
(estaba un poquito alejado, pero esto se ve muy interesante!)
User avatar
DK
Posts: 2895
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Post 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
Freeline
Posts: 16
Joined: Sun Dec 10, 2006 5:35 pm
Location: Germany

Post 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.
User avatar
artfx
Posts: 213
Joined: Sat Nov 11, 2006 10:52 pm
Location: Hollywood
Contact:

Post 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.
----
Terrence Walker
Studio ArtFX
LEARN HOW TO Make YOur Own Animated Film!
Get Video Training to Show You How!
Post Reply