Sign in to follow this  
pressgreen

Scaling your scene

Recommended Posts

pressgreen    678

How does one set up the scale of a first person game in opengl? like in the programing of my scene in opengl I don't really have a scale setup. I pretty much from the beginning i just set the scale according to the models I bring in. for example if the model looks super small when i bring it in i just move the camera closer or if the model is large i just move the camera further away. What is a good rule of thumb when thinking about scale in the game. Like should i think of like 1 unit as a foot when I am building my models in 3dsMax? Like does it mater weather or not my 10 polygon model is gigantic or super small as long as its 10 polygons as far as opengl processing is conserned. should i build like level and characters all to the right scale with respect to each other in 3dsMax then import those to my program and adjust the camera or over all scale there? any thoughts would be a great help.  thanks

Share this post


Link to post
Share on other sites
Hiwas    5807

L. is correct but I do have a suggestion.  Stick to metric units, inch/foot/yard/mile are just insanely annoying when going between DCC and game engine.  At a job a while back I got the GM to buy 20 'meter' sticks (yard sticks, just a touch longer) and gave one to every artist so they would quit thinking in "English" units.  I phased out all references to inches, feet etc and everyone was very happy after the transition period.

 

Nothing is worse than an engine with some 'odd' concept of distance.  I worked on an engine which used "deca-feet" as it's concept of 1.  So every 10 units means one foot.  Ok, so the acceleration of gravity if 32 feet per second per second, hmm, translate that to game units then meters per second in the Havok physics engine and back.  It caused more damned bugs than I care to remember.  Using the wrong conversion at different points was a continual nightmare.

Edited by AllEightUp

Share this post


Link to post
Share on other sites
EarthBanana    1794

one thing that might make a difference when it comes to scaling things is the texture used on the mesh - if you always use high-res textures then you will probably be fine but if you use a small texture (say 64 by 64) on some mesh it can get ugly if you scale that mesh larger in game

 

but that's kind of a "thanks cap" point

Share this post


Link to post
Share on other sites
Khatharr    8812

1 unit = 1 nanometer

 

Advertise it as "the biggest game ever". happy.png

 

Better yet, 1 unit = 1 mile. Tell the project manager it will make the distro smaller because the models will take up less space. biggrin.png

Edited by Khatharr

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this