Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regarding .OBJ file imports

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
G-Man
Member


Joined: 28 Jan 2005
Posts: 13

PostPosted: Sat Dec 10, 2005 5:01 am    Post subject: Regarding .OBJ file imports Reply with quote

I've been attempting to import a model that I've created and UV mapped in another package into a level that I'm creating in DeleD so that I can light map it with the rest of the level. Unfortunately, I can not get DeleD to import it with the texture and UV coordinates intact. Is there a way to accomplish this that I'm just too goofy to figure out? Any help would be greatly appreciated!
Back to top
View user's profile Send private message Send e-mail
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Sat Dec 10, 2005 7:54 am    Post subject: Reply with quote

What method are you using to save/load the data? X export/import, or are you saving it as a prefab and loading it from your prefab tree?

Just noted the title of the topic is "regarding .OBJ file import"... which makes this question rather silly. Sorry for that!


Last edited by Paul-Jan on Tue Dec 13, 2005 7:30 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
G-Man
Member


Joined: 28 Jan 2005
Posts: 13

PostPosted: Sun Dec 11, 2005 4:27 pm    Post subject: Reply with quote

The object is modelled in Silo and saved as a .OBJ file. This .OBJ is then brought into LithUnwrap to be UV mapped. From there, I've saved the object out as a .X, a .3DS and a .OBJ... None of which will preserve the UV mappings and texture assignments when imported using any of the importers under the "Plugins" menu. What do I need to do to accomplish this? I've tried just about every permutation I can can think of and just can't get it to suck these external models in with their textures intact. I mean if y'all were trying to do this, what steps would you do to make it work?
Back to top
View user's profile Send private message Send e-mail
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Tue Dec 13, 2005 7:29 pm    Post subject: Reply with quote

But you are sure the UV coordinates and textures _are_ saved in these file formats by LithUnwrap?

I know the current incarnation of the OBJ Importer (next version is just around the corner, I am doing some final testing atm) does not yet support importing MTL files and texture coordinates, so that would make sense. However, .3DS and .X importer should support importing texture coordinates just fine. That leaves us with two possible explanations:
1. The information is not saved into the files in the first place
2. The information is stored in such a way that our importers don't interpret it right.

If you are sure the information is there (i.e. you can load the files in any other application and textures do show up), could you please send me a file that does not load as expected (including textures)? My e-mail address is paul [at] delgine [dot] com. Thanks!

Wether or not you get the chance to send me one of the files, I am putting this issue (problem with loading files exported from LithUnwrap) on the todo list anyway. It is just that having some actual files suffering from the problem would be very beneficial for the chances of having this issue fixed "soon" (as opposed to "a little less soon") Smile

Quote:
I mean if y'all were trying to do this, what steps would you do to make it work


Unfortunately I have no hands-on experience with LithUnwarp (for my personal needs the DeleD texturing capabilities are adequate), so I cannot be of assitanse here. Anyone else?
Back to top
View user's profile Send private message Visit poster's website
nextdoorscat
DeleD PRO user


Joined: 15 Jun 2005
Posts: 187

PostPosted: Tue Dec 13, 2005 10:33 pm    Post subject: Reply with quote

Lithunwrap is an outdated program (not sure if it was a beta?) that has now been replaced by Ultimate Unwrap 3D. It is basically the same program but bigger, better, and more sophisticated, and it goes for $49.95 these days.

I used to use Lithunwrap a long time ago before UU3D came out but only ever saved to .obj format, it saved perfectly on that, and all textures saved in the obj and mtl files imported ok into other programs ok.

I have not had much computer time recently so have not had the chance to even upgrade to DeleD 1.35 let alone try out importing .X or .3DS textures but will certainly give it a go on some test models I have textured in UU3D when I get a moment, and let you know.


Last edited by nextdoorscat on Tue Dec 13, 2005 10:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Tue Dec 13, 2005 10:36 pm    Post subject: Reply with quote

nextdoorscat wrote:
I used to use Lithunwrap a long time ago before UU3D came out but only ever saved to .obj format, it saved perfectly on that, and all textures saved in the obj and mtl files imported ok into other programs ok.
Ditto.

Althought, beware the program doesn't save normals. If you try to loa dit into something that only has a parser that is coded to read normals, it might bomb. So I use to save out of LithUnwrap, and then import the result, and export it back out from Wings3D, or another program that would save the normals.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
nextdoorscat
DeleD PRO user


Joined: 15 Jun 2005
Posts: 187

PostPosted: Tue Dec 13, 2005 10:58 pm    Post subject: Reply with quote

Right.... using my DeleD 1.32 version and using my Ultimate Unwrap3D Version 2.18....

Textures are importing nicely on the .3DS model, but getting nothing on the .X model. Hope this helps! Smile

(edits) I lost my password, so cant update to most recent version of DeleD. Can someone help please! Crying or Very sad
Also Ultimate Unwrap 3D is now on version 2.24, but I've just gone back and checked, and as far as I can tell, I dont think their upgrades affect the .X export, but I am no expert in these things!
Back to top
View user's profile Send private message
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Wed Dec 14, 2005 7:59 am    Post subject: Reply with quote

Ah, thanks guys for the help clearing this up!

So, for now, a functional work-flow would be to export to 3DS and import into DeleD.

Soon (as soon as I get the new OBJ importer finished), .OBJ will follow. Nextdoorscat has been asking for this as well, so I'll try to make haste Smile

Our .X importer apparently doesn't handle the textures right. Will take a look at that! (If anyone could send me a .X export from this program including textures, that would be great... I don't think the demoversion allows exports, does it?)

@Nextdoorscat: We'll get your login data to you asap!
Back to top
View user's profile Send private message Visit poster's website
nextdoorscat
DeleD PRO user


Joined: 15 Jun 2005
Posts: 187

PostPosted: Wed Dec 14, 2005 9:39 am    Post subject: Reply with quote

Consider it sent.... Cool
Thanks for the login details, will get upgraded soon as poss. Smile

(edits)

@ G-man - If you cannot get it to work in .3DS format from Lithunwrap then I dont know what to suggest... if it works for .3DS models saved from UU3D, then my bet is that the problem lies with how its being exported from Lithunwrap. I dont think Lithunwrap is available or supported any more by its creator, but you could try contacting him at Ultimate Unwrap3D for advice, you never know...
Back to top
View user's profile Send private message
G-Man
Member


Joined: 28 Jan 2005
Posts: 13

PostPosted: Thu Dec 15, 2005 3:08 am    Post subject: Reply with quote

E-mailed example model as per your request... I did try the .3DS importer and that works, but using the .3DS format bloats the number of vertices in the object. In a simple cube, one would expect to find 8 vertices, but in a .3DS there are 36 vertices (an inherent problem with the .3DS format since a vert can only belong to a single face).
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum