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 

Long time no see.

 
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
Dr. Zoop
Member


Joined: 17 Jan 2005
Posts: 64

PostPosted: Wed Jan 04, 2006 7:14 am    Post subject: Long time no see. Reply with quote

Good to see you guys are still working diligently! I just upgraded to your newest version of DeleD for my modeling needs!

Keep up the good work,
-Dr. Zoop
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Wed Jan 04, 2006 8:52 am    Post subject: Reply with quote

Nice to see you back, Dr Zoop! Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Paul-Jan
Site Admin


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

PostPosted: Wed Jan 04, 2006 4:13 pm    Post subject: Reply with quote

Yeah, it has indeed been a while! Awaiting your input on the latest DeleD version Smile

(And yes, your request for copy-paste between different DMF files is still on our list Very Happy)
Back to top
View user's profile Send private message Visit poster's website
Dr. Zoop
Member


Joined: 17 Jan 2005
Posts: 64

PostPosted: Thu Jan 05, 2006 6:51 am    Post subject: Reply with quote

It doesn't look like you made the .X exporter save decimals... still integers.

Gotta play the game of resizing everything I load all over again! Haha.

-Dr. Zoop
Back to top
View user's profile Send private message
Paul-Jan
Site Admin


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

PostPosted: Thu Jan 05, 2006 12:04 pm    Post subject: Reply with quote

Yep, the .X exporter still export integers... because DeleD internally still uses integers, so it doesn't have much choice, really Very Happy

However, it's kinda funny you should mention this (after all this time Wink), since Jeroen and me are in the middle of the 1.4 rewrite, and part of that is changing vertex coordinates to floats. So it won't be too long now Smile
Back to top
View user's profile Send private message Visit poster's website
Sindwiller
DeleD PRO user


Joined: 25 May 2005
Posts: 331
Location: Zürich. Switzerland

PostPosted: Thu Jan 05, 2006 12:08 pm    Post subject: Reply with quote

Quote:
changing vertex coordinates to floats


What that will change? Bigger files? More Vertex operations? Accurate operations or something like that?

Oh, and welcome back Very Happy , even i dont know you Very Happy .

wfg, Sindwiller
Back to top
View user's profile Send private message
Dr. Zoop
Member


Joined: 17 Jan 2005
Posts: 64

PostPosted: Thu Jan 05, 2006 8:22 pm    Post subject: Reply with quote

Sindwiller wrote:
What that will change? Bigger files?


Actually, the .X exporter already exports numbers with several decimal places of zeros. For example: "235.000000" Filling in those zeros would not change the file size at all.

Of course, that would change the file size of the DMFs though... to be bigger because I assume you don't store them in plain-text. I haven't looked though.

-Dr. Zoop
Back to top
View user's profile Send private message
Paul-Jan
Site Admin


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

PostPosted: Fri Jan 06, 2006 6:35 am    Post subject: Reply with quote

Sindwiller: It's all about accuracy. There are People like Dr. Zoop that want to import _small_ files, work with them, and export them again, without being bothered with scaling up and down in that workflow. Currently, DeleD simply doesn't deal with sub-integer scale numbers, effectively rounding all your model coordinates.

Getting this to work correctly in DeleD is a bit tricky here and there, because working with floats introduces rounding errors and error-based equality testing (oh wait, you are a programmer, you know all this Laughing). Take for example welding vertices: in the old situation, we could assume the vertex positions are exactly the same. Not any longer, they will now be 'about' the same, were the size of 'about' (epsilon) is dependent on the scale of the model. Loads of fun, that Very Happy

Dr. Zoop: Yes, DMF files are plain text files, and they will be a bit bigger (but people concerned with data-size won't care, as they won't be using the plain-text DMF's anyway) indeed.
Back to top
View user's profile Send private message Visit poster's website
Dr. Zoop
Member


Joined: 17 Jan 2005
Posts: 64

PostPosted: Wed Jan 11, 2006 2:45 am    Post subject: Reply with quote

What I find strange is I can resize and move things however I want in DeleD, and if I have snapping off, it'll appears to stick wherever I click. That makes me think you're using floats somewhere. However, you say you're not, which is kinda baffling.

Anyway, the real reason why I almost HAVE to have decimals is this: I am using DeleD for DirectX games. In my previous game, I found out the hard way that DeleD only uses integers. I started getting jagged edges all over my models! I got around this by making my models bigger, and then just scaling them down within the game itself.

Now I am working on a new 3D game, but I wanted to avoid having the game scale down the models itself. Technically, the game should not have to fiddle around with the models. That just takes unnecessary computation time--and when you're trying to push as many frames as you can a second... having it multiply by one extra scaling matrix is an issue.

To avoid all of this, I starting making an average object be 1024x1024x1024. This way, I could generally use the editor however I wanted and if it rounded, it was not a big deal. The difference would be unnoticeable. However, by having such huge models, that meant my in-game camera could be up to 50,000 units away from the point you were looking at. At such huge values, DirectX starts becoming cranky. It starts making mistakes in the Z-buffer and objects that are behind sometimes appear in front. Obviously, that's no good. However, this bug never appears in DirectX when you are using smaller values.

So, I'm back to square one: Now I must rescale everything I import. Thus eating a little bit of FPS. Eventually when it comes to tweaking time, I'll figure out a way around this. But for now, this'll have to do!

-Dr. Zoop
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Wed Jan 11, 2006 6:36 am    Post subject: Reply with quote

Dr. Zoop wrote:
What I find strange is I can resize and move things however I want in DeleD, and if I have snapping off, it'll appears to stick wherever I click. That makes me think you're using floats somewhere. However, you say you're not, which is kinda baffling.

So, I'm back to square one: Now I must rescale everything I import. Thus eating a little bit of FPS. Eventually when it comes to tweaking time, I'll figure out a way around this. But for now, this'll have to do!

-Dr. Zoop


I think Paul-Jan meant that the X-exporter uses integers. DeleD itself uses floats indeed of course, we couldn't do without them! Wink

Your scaling problem will be solved with 1.4, as we will take care of exporting the floats to both DMF and X files.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dr. Zoop
Member


Joined: 17 Jan 2005
Posts: 64

PostPosted: Tue Jan 17, 2006 8:30 pm    Post subject: Reply with quote

May I ask when 1.4 will be coming out? By the end of the month, I'm supposed to have this 3D game COMPLETE.

Ha, this is going to be fun craming in. Whee!
-Dr. Zoop
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Tue Jan 17, 2006 8:51 pm    Post subject: Reply with quote

Dr. Zoop wrote:
May I ask when 1.4 will be coming out? By the end of the month, I'm supposed to have this 3D game COMPLETE.

Ha, this is going to be fun craming in. Whee!
-Dr. Zoop


I think 1.4 will come out somewhere half way februari. We still have much coding to do, then our testers go to work and then we have to update the manual etc etc.
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
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