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 

Allow Decimals

 
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
Guest





PostPosted: Mon Jan 17, 2005 12:21 am    Post subject: Allow Decimals Reply with quote

Not a bug, but decimals should be allowed. For example, in the Move Properties, I can only type full integers, but I only want to move it 0.3 units.

-Dr. Zoop
Back to top
Jeroen
Site Admin


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

PostPosted: Mon Jan 17, 2005 7:47 am    Post subject: Reply with quote

The smallest amount you can use is actually 1 unit so there is no need to have decimals. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Mon Jan 17, 2005 1:26 pm    Post subject: Reply with quote

But if you want your Coordsystem to be lower? I know many people that expect 1 OpenGL-Unit to be around 1 metre. I think, allowing decimal numbers would make DeleD more flexible.
_________________
Behold! The DeleD Wiki! Please help us expanding it Smile
DeleD on IRC
Back to top
View user's profile Send private message
Dr. Zoop
Member


Joined: 17 Jan 2005
Posts: 64

PostPosted: Mon Jan 17, 2005 6:47 pm    Post subject: Smallest Unit Reply with quote

Ah, okay, that's what confused me. Now a lot of things make more sense.

In DirectX, you are allowed decimals. In fact, in my game, I use them all over the place. Each cell is one unit. Thus, many times, I need decimals to make my objects. What I ended up doing is making everything 32 in size and scaling it back in the code.

This probably explains when a cylinder is exported, it loses it's rounded-ness.

Though, if the true scale is always integers, how can you free-move objects with the mouse so percisely when snapping is off? Does it round off when you save it? Does it round off when you export it like it seemed to with my cylinder?

I'm a nutty (can be read as enthusiastic) programmer, sorry for prodding so much. Razz
-Dr. Zoop
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