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 a .dmf into DarkBasic

 
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
djblackdragon
Member


Joined: 24 Mar 2005
Posts: 31

PostPosted: Mon Mar 28, 2005 3:58 pm    Post subject: Loading a .dmf into DarkBasic Reply with quote

I was wondering how to load DeleD's native .dmf file into DB. Any help is much appreciated.
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Mon Mar 28, 2005 4:02 pm    Post subject: Reply with quote

If you want to use .dmf, you'll have to write your own parser in DB. If that's not an option, you can always export to X and use those X files in DB instead. But, .dmf holds more information than X so writing your own parser is almost always worth your while. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
djblackdragon
Member


Joined: 24 Mar 2005
Posts: 31

PostPosted: Mon Mar 28, 2005 4:04 pm    Post subject: Reply with quote

I tried exporting to a .x but when I loaded into my collision code, it said could not load file at line...
Back to top
View user's profile Send private message
Chris
Member


Joined: 08 Aug 2004
Posts: 161
Location: UK

PostPosted: Mon Mar 28, 2005 4:08 pm    Post subject: Reply with quote

The trouble with the .x file could be in the materials, make sure there are no spaces in the texture names, DB doesn't like this.
Back to top
View user's profile Send private message Visit poster's website
djblackdragon
Member


Joined: 24 Mar 2005
Posts: 31

PostPosted: Mon Mar 28, 2005 4:17 pm    Post subject: Reply with quote

Thank you so much!! It ended up being the materials. It was the floor texture that it didn't like. Thank you again.
Back to top
View user's profile Send private message
Chris
Member


Joined: 08 Aug 2004
Posts: 161
Location: UK

PostPosted: Mon Mar 28, 2005 4:19 pm    Post subject: Reply with quote

Thats ok, had the same problem myself a few months ago. Took me hours of testing before I realised what it was.
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: Mon Mar 28, 2005 5:06 pm    Post subject: Reply with quote

Space should be banned! Evil or Very Mad

Laughing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
djblackdragon
Member


Joined: 24 Mar 2005
Posts: 31

PostPosted: Tue Mar 29, 2005 11:41 pm    Post subject: Reply with quote

Ok, now that that question is out of the way, I have one more. Is there any way to make an object look like glass?
Back to top
View user's profile Send private message
djblackdragon
Member


Joined: 24 Mar 2005
Posts: 31

PostPosted: Wed Mar 30, 2005 7:14 pm    Post subject: Reply with quote

Any body have any ideas how to do the above?
Back to top
View user's profile Send private message
Chris
Member


Joined: 08 Aug 2004
Posts: 161
Location: UK

PostPosted: Thu Mar 31, 2005 4:34 pm    Post subject: Reply with quote

The way me and Khris did it was to do all glass as a seperate object, then load both objects and trun on alpha blending for the glass object.
Back to top
View user's profile Send private message Visit poster's website
djblackdragon
Member


Joined: 24 Mar 2005
Posts: 31

PostPosted: Thu Mar 31, 2005 7:07 pm    Post subject: Reply with quote

Ok, i'll just code it in instead. Now for my next question: How would you export lightmaps in .x, or would I stil have to make a parser to load the .dmf into DB?
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Thu Mar 31, 2005 7:23 pm    Post subject: Reply with quote

djblackdragon wrote:
Ok, i'll just code it in instead. Now for my next question: How would you export lightmaps in .x, or would I stil have to make a parser to load the .dmf into DB?


Lightmaps require multiple sets of UV coordinates per polygon which is something X does not support. DMF does, so writing your own parser would be worth your while. It also shouldn't be very hard because of its simplicity + you've got a detailed description in the Help file and all the Help you need on this forum. Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
djblackdragon
Member


Joined: 24 Mar 2005
Posts: 31

PostPosted: Thu Mar 31, 2005 7:56 pm    Post subject: Reply with quote

Ok, thats what I thought. I'll get to work.
Back to top
View user's profile Send private message
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