trueSpace7.6/DirectX8 Scaling

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

trueSpace7.6/DirectX8 Scaling // Game Development

1  |  

Post by LongWolf // Dec 26, 2008, 4:47pm

Total Posts: 62
Hi folks,

I've done a fair bit of programing and almost no modeling.
Now I'm looking to make my 1st DirectX 3D game.

I'm trying to make a BlackJack table, the point of the game.
I plan to use an 800x600 pixel DX screen and I've made the table top image/texture at 800x440.

To make sure I get the table top shape right, I've made a ttf character to import into graphics programs.
In Paint Shop Pro, I can set the font size to 1206 and it makes a perfectly sized mask image.

Now when I do that in trueSpace, the table top becomes larger than the entire tS work area.

You can zoom out to work on it, but should it be made this large?
If not, how large should I make it?

Post by LongWolf // Dec 30, 2008, 4:27pm

Total Posts: 62
I've changed the table top image dimensions to 800x400, figuring 100 pixels per inch.
Then I set the scale0n Obj. Convert and Obj. Units to inches for 80x40.

It seems very small in tS, will it work when I bring it to the game?

Post by TomG // Dec 31, 2008, 5:59am

Total Posts: 3397
That depends entirely on the game engine and how it reads scaling. Only thing to do is try :) And once you know, you can set the scaling in tS accordingly.



Post by LongWolf // Jan 8, 2009, 12:17pm

Total Posts: 62
I was afraid that's how it'd be.
It will be my 1st DX too.
For now I'm working it as inches just to get things proportioned.

thx for the info.

Post by TomG // Jan 8, 2009, 1:03pm

Total Posts: 3397
Let us know how you get on! If you can share details of the engine you used, and what you had to do for the scaling, then that will help others in the same situation to know what they have to do :) And I'd just be plain interested to know myself.


Tom is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2023. All Rights Reserved.   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn