• Welcome to World Machine Community. Please login or sign up.
 
August 17, 2019, 08:02:21 am

News:

Read the Development Diary for an inside look at World Machine's progress!


WM unit support

Started by hogjonny, March 13, 2014, 10:26:42 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hogjonny

Would it be possible to support a more generic base unit - as a whole unit?

As a game developer, I tend to think more along the lines of this:

1 unit:
    - what is 1 unit in my game engine?
    - what is 1 unit in my 3D editor?
    - how tall is my character in units?

1 unit = :
    - generic unit in engine
    - 1 m in maya (and/or 100 cm)

Character = :
    - 2 meters in height

terrain tile = :
    - 1024 units / m on edge
    - 2048 texels on edge :: macro = 2 texels per unit = texel is 0.5 u/m
    - 64 texels per u/m ::
        - 1024 detail map = 16 u/m = 64 x detail repeat

So in World Machine, I tend to want to just work directly in meters/km - the crux is that likes in many cases WM likes to display in km:
    - I put in 1024 m
    - it displays 1.03 km  (It would be nice to at least get another decimal place so I can work with a precision that represents my whole number units with confidence!)

What I do as a work around?
    - I let 1030 m / 1.03 km be my default tile width/height (because then, any whole number multiplier of that works out 3 tiles = 3 x 1.03 = 3.09)
    - basically, 1.03 km = 1024 units (which is a bit funky for artists to think about)

Switching to 'World Machine Unit' doesn't work out well, as it's basically a floating point (which is even less artist friendly)

Anyone else have any thoughts or input on this?
skype: hogjonny

Althaen

What about making the size of your terrain 10km x 10km. You're then fitting 10km into a 1024 texture which you can make to look like a square km.

sfriedberg

I agree that the UI would be improved if you could work in whole units, at least for typical dimensions like 1024m!

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview