• Welcome to World Machine Community. Please login or sign up.
September 16, 2019, 05:09:14 am


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

Possibility of new export format?

Started by chalackd, February 21, 2010, 10:28:44 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Hi, I've been playing around with WM2 Pro for some time now and I have to say that it's a wonderful program for making spectacular terrains on a large scale.

I've been working with an online program called ActiveWorlds, this is an online 3d environment that allows the user to build things on an immense scale if desired, due to the size of some of the environments applying terrain can be a daunting task.  Currently I'm working with a terrain that is 20000 pixels square at a resolution of 10mpp.  As it stands right now I have to export the terrain in about 2000x2000px tiles, which are loaded into a utility called DEM2RWX which can convert the tiles into the proper format.  These final files have to be imported piece by piece into the world across the internet, which can be problematic to say the least, never mind the time involved with transferring between programs, converting the files, and maintaining the proper scale across the different tiles.

So, my question has to do with the possibility of writing a plugin that could export the terrain info directly into the filetype that I actually need.  I would like to know if the PDK is capable of making a device to export to a new file type, which would also likely need to be scaled 1/10 vertically during export (AW adopted a 1/10 scale for everything to keep numbers smaller in the database...), I would also need to specify a vertical offset during export, as 0 in WM is the bottom while 0 in AW is simply ground level with terrain being capable of going under this level.

So, would something like this be possible with a plugin?  Or would I be better off sourcing an outside tool for converting from a WM compatible format to what I need?


Its a small world... I know the guy who wrote DEM2RWX, great helpful chap, if you need his contact info (for source or other) reply to me :)


You can definitely write a WM export plugin for a new file format -- there is in fact an example skeleton code in the PDK that shows how to create an output device.
-- Stephen Schmitt
- Creator of World Machine


Good to know, I'll have to take a look into that.  Might save me a lot of time in the long run not having to do a bunch of converting after the fact.  Thanks for the info Remnant.

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.

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