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 

How to scale the whole object down?

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


Joined: 21 Jun 2005
Posts: 24

PostPosted: Mon Sep 05, 2005 7:34 am    Post subject: How to scale the whole object down? Reply with quote

Hi Delgine/you

We have about 20 objects, that was a far too big. We need to scale all objects down by a factor 16 (from 4096 to 256), because was easy to muck the Z-Buffer up. If I use the scale feature, it just scale the box down, and not the whole objekt.

Can I do a any way? Maybe using a another application to scale the x file alone (wich would been the easist way?
Back to top
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Mon Sep 05, 2005 8:32 am    Post subject: Reply with quote

Select everything (CTRL-A). Select Scale. Select percentage, then type 16 in each thing and do it. Shouldn't that work.

I don't understand the whole problem the way you typed it, sorry.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Jeroen
Site Admin


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

PostPosted: Mon Sep 05, 2005 8:40 am    Post subject: Reply with quote

I think he means that he doesn't want to scale each individual object down to 16% because that would affect his level too much. He wants to scale the level as a whole. To achieve this, simple merge all objects together using the Object - Merge command and then scale the resulting object back to 16%.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spacefractal
Member


Joined: 21 Jun 2005
Posts: 24

PostPosted: Mon Sep 05, 2005 12:50 pm    Post subject: Reply with quote

Jeroen was correct. Thanks for the help.

The little problem is, it seen it dosent support float, but only integer?
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Mon Sep 05, 2005 12:57 pm    Post subject: Reply with quote

Glad it helped. Smile

Indeed, the Scale command only accepts integers, not floats. Also, DeleD stores its vertices as integers as well. Be carefull with really small objects: they might get deformed if you make them too tiny.

DeleD will store its vertices as floats somewhere in the near future. It's pretty high on our TODO list. Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spacefractal
Member


Joined: 21 Jun 2005
Posts: 24

PostPosted: Mon Sep 05, 2005 2:53 pm    Post subject: Reply with quote

But texture seen not been scaled too, as they should (MeshTextureCoords, when looking in x file), when I try to export to a x file (I use Flat Colors, not texture). They messed toally up.

It just black, when I loading them in Dark Basic

([EDIT] It not a scaling problem, but maybe a alpha problem, when I changed to the newest version). I noticed the Alpha was changed from 00 to FF.
Back to top
View user's profile Send private message
Jeroen
Site Admin


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

PostPosted: Mon Sep 05, 2005 3:12 pm    Post subject: Reply with quote

I've tested the export of color materials and... it seems that DeleD does not export color materials very well. The resulting BMP file shows black pixels only, while my material was blue. Another test, with a red color material, showed the same error. We'll get into this, thanks for bringing it up!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spacefractal
Member


Joined: 21 Jun 2005
Posts: 24

PostPosted: Mon Sep 05, 2005 3:40 pm    Post subject: Reply with quote

It seen that feautre is messed up in v1.32. It works fine in v1.22.

I use a Amiga/ST style Vectorgraphics on my upcoming (still very alpha stage) game, wich is why I dosent use any textures.
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