OBJ has no surface?

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
rogermate
Posts: 298
Joined: Mon Jun 02, 2008 5:53 am
Location: Mars

OBJ has no surface?

Post by rogermate »

Using the AS .obj import, I get a "plain" image without any texture on it.

I have a .obj which also has a .bmp file. I'm guessing that I need to burn the .bmp image onto the .obj file. But will AS be able to import a 3D with an image on it?

I'm not familiar with 3D packages, and am considering getting one of Daz3D (free version), Blender, TrueSpace, or Poser for the purpose of aiding in the use of 3D objects with AS.

I think it was Madrobot on this forum who said something like (i'm rephrasing) "don't get bogged down in getting lots of new software, just anime". But is there a quick-n-easy way of getting this done.

I'd like to animate in front of some 3D objects and think it could save a lot of time.

Any thoughts or suggestions will be much appreciated.
User avatar
PRIMAL MORON
Posts: 43
Joined: Sun Oct 18, 2009 3:22 pm

Post by PRIMAL MORON »

I'm wondering the same thing,
But I DO have a quick fix for this.
try masking an image over-top of the 3d shapes, it might not be as accurate, but it is a way to give it some texture.

If you have trouble with masking, I think there's a tutorial on it in another topic.

I hoped that helped!
rogermate
Posts: 298
Joined: Mon Jun 02, 2008 5:53 am
Location: Mars

Is the .OBJ format supported by AS a subset?

Post by rogermate »

AS is doing something behind the scenes when it imports an .obj file.
I'd like to determine the extent of what happens.

I've been having some trouble getting a .obj file to import properly into AS and started "investigating".

One thing that is odd, is that if you simply copy the sample Phonebooth.obj and its .mtl file and the textures directory to another directory, a simple import does not work correctly. However, when you import from the AS content library directory, the import does work correctly.

It turns out that the difference is that when importing from the AS library, the edge offset is set to .01 when from a different directory it is .05. But, the Anvil.obj imports at .05 from the content directory. If the content itself defines the edge offset, then it shouldn't matter which directory it imports from. And apparantly, importing from the AS content library does not always set a default .01 edge offset. (though doing such without clearly documenting so is problematic).

It seemed as if when you import some content from the AS directory, the program decides on its own to vary the edge offset. This makes no sense. But then I saw the .anme files in the directory. And I confirmed (by changing one of them) that when you import a .OBJ file from the AS Content, at least one of the settings are taken from the .anme file in the folder. In fact, if you temporarily rename one of the .anme files in the 3DOBJ content directory, you get an error message when you try to import one.

So, AS does read the .anme file when you import a .OBJ file.

What is it reading?
What settings do we want to make when we are trying to import .obj files?

And, is there anything different about how AS interprets the .obj & .mtl files?



What seems to be t- having differentwould be less than perfect
Post Reply