View previous topic :: View next topic |
Author |
Message |
Dr. Zoop Guest
|
Posted: Mon Jan 17, 2005 12:21 am Post subject: Allow Decimals |
|
|
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
|
Posted: Mon Jan 17, 2005 7:47 am Post subject: |
|
|
The smallest amount you can use is actually 1 unit so there is no need to have decimals. |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Mon Jan 17, 2005 1:26 pm Post subject: |
|
|
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
DeleD on IRC |
|
Back to top |
|
|
Dr. Zoop Member
Joined: 17 Jan 2005 Posts: 64
|
Posted: Mon Jan 17, 2005 6:47 pm Post subject: Smallest Unit |
|
|
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.
-Dr. Zoop |
|
Back to top |
|
|
|