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.

DarkBASIC Professional Discussion / Making models larger

Author
Message
Silence
13
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 14th Feb 2013 16:42
Is there a special piece of coding to make models larger in DBPro? I made an excellant model but it's too small in the game. Is there a way to make it bigger without running it through Blender again?
Rudolpho
20
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 14th Feb 2013 16:50
You can use scale object objNumber, width, height, depth.
The scale is given in percents, so 100 for normal scale, but it accepts floats as well, ie. 0.1 is 1/1000:th of the original scale.

Otherwise you will just have to change it's size in your modelling program before exporting it I guess.


"Why do programmers get Halloween and Christmas mixed up?"
Silence
13
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 15th Feb 2013 16:46
Thank you very much Rudolpho
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 15th Feb 2013 17:42
I found that there is a little more work required once you scale up, an example of what I mean can be seen in my Volcanic Adventures demo, I scaled up the ball object, was too lazy to resize it inside my modeller [Because that was done on another rig] and because of that I think my surfaces had lighting issues... I may experiment further, but thought it was worth a mention...

Silence
13
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 18th Feb 2013 21:06
Thank you MrValentine
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 18th Feb 2013 21:29
Thank you too

Login to post a reply

Server time is: 2026-07-07 05:16:12
Your offset time is: 2026-07-07 05:16:12