some questions about eightfields

All about making tracks for MX Simulator
Post Reply
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

some questions about eightfields

Post by totorox »

So if i'm right, the game use some pov functions to render the terrain map, and, i have some questions.
For my current track, i'm using a 16bit grey png terrain file to have a beter definition on it.
What are the filetype & format supported by the game ? Are they same for pov eightfield input ? wich version ?
Searching on net if exists some eightfields tools for Povray, I just found that (a eightfield on a sphere).
So it is possible to change the base mesh for the eightfield in mxs tracks ? If I'm not wrong, pov can handle patch surfaces. The idea is to use them as terrain base. Keeping image file for final bumps. Allowing beter resolution, changing track parts altitude without editing terrain image file, bigger mountains without losing vertical definition.
Finally it could be like a displacement baking. I used it from a plane to create my png terrain file from a first mesh.
The problem for me now is to come back to a mesh after some terrain picture change (like mxs editor).
My first tries are arbitrary scaled and smouthed, My objective is to retrieve the same mesh as the game, (and why not smouthing and normals) this permit to edit the image and come back to mesh for editing, and vice-versa. It's why i'm searching a tool for exporting eightfields as mesh...
jlv
Site Admin
Posts: 15353
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: some questions about eightfields

Post by jlv »

You can't change the base terrain mesh since the terrain LOD system depends on it.

If I wanted to make a track that way I'd try using Blender to bake a displacement map. You might also be able to set up an orthographic camera and use fog to create a height map.

To get 16 bit output you'll have to use OpenEXR in Blender and then convert to PNG.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Post Reply