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 

Loading .x files
Goto page Previous  1, 2
 
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
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Fri Dec 15, 2006 10:03 am    Post subject: Reply with quote

Yes, you need to select Textures too:

Materials: save material definitions to the .x file
Textures: save the textures used by materials to disk (in the same directory as the .x file)

I will change the Export screen a bit, so it displays "Material definitions" and "Texture files".

The name you give the material is only for use inside DeleD itself. When exporting to .x, only the first layer of the material is exported. The filename of the texture (!) or the auto-generated name of the color (color_FFF1A748 for example) is used as the material name within the .x file itself. I think I'll change this so the .x file uses the material name given by the user instead of the texture/color filename.

Thanks for the pictures you sent me, I will investigate further! Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
losey
DeleD PRO user


Joined: 25 Nov 2006
Posts: 35
Location: Hawaii

PostPosted: Sat Dec 16, 2006 1:31 am    Post subject: Reply with quote

Another materials problem appears to be spaces in materials names. E.G. ntFloors has "floor 14.jpg" and when used the DXViewer can't load the file. Changing the file name to eliminate the space, "floor14.jpg", and then reassigning the material solves the problem. Looks like all the nt* materials need this change.
_________________
George Losey
Back to top
View user's profile Send private message Visit poster's website
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Sun Dec 17, 2006 3:11 pm    Post subject: Reply with quote

Thanks losey, that's indeed something to take care off. I knew .x files can't have texturefiles beginning with a number but I never realized spaces are no good either. I'll fix this!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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
Goto page Previous  1, 2
Page 2 of 2

 
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