Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Problems scaling oibjects

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 11th Apr 2003 14:27
Hi all,

I am having problems scaling my objects once imported. Does anyone have any advice?

I have tried using object size(), but this returns a single number, and I'm not entirely sure what it is relative to.
Thanks in advance.
All the Best,
StevieVee
yosepp
21
Years of Service
User Offline
Joined: 14th Dec 2002
Location:
Posted: 11th Apr 2003 14:37
have you tried SCALE OBJECT yourobject,x,y,z
duh

if me in trouble() and 1=1 then print "but"
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 11th Apr 2003 15:09
SCALE OBJECT (unfortunately) takes a set of percentage values, and not absolute ones.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 11th Apr 2003 15:19
Like I said yosepp, I need to know the relative object size before I can scale it.
duh

Thanks in advance.
All the Best,
StevieVee
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 11th Apr 2003 15:28
"SCALE OBJECT (unfortunately) takes a set of percentage values"

Please, tell me how you'd scale something without a percentage? Surely if it was an absolute value it'd be "resize object" ?!

StevieVee - you can get the object size with the command you've already found. If you want to double that size, use a scale value of 200 (200%): i.e. scale object x, 200, 200, 200. If you want to half the size use a value of 50% and so forth.

If you know you want your object to be say 30 units in size but it loads in at a size of 5 then a bit of simple math will work out how much you need to scale it by to achieve that result:

(Target Size / Initial Size) * 100 = Scale value.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 11th Apr 2003 15:36
It would be handy to resize to an absolute values - making (in my case anyway) all my objects exactlly the same size - unless I missed the command somewhere...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 12th Apr 2003 02:47
I think I've got it now. Object Size was confusing me (and still is!) - the objects obviously have 3 dimensions and a volume, what does size refer to exactly?

However, I have now realised that there are x, y and z size commands, which are far easier to work with. As you suggested Rich, I can now calculate my percentages to get them to the required size.

Thanks in advance.
All the Best,
StevieVee

Login to post a reply

Server time is: 2024-09-20 03:41:52
Your offset time is: 2024-09-20 03:41:52