Planetside Software Forums

General => Terragen Discussion => Topic started by: lightning on July 30, 2008, 10:49:20 PM

Title: convert obj into ter?
Post by: lightning on July 30, 2008, 10:49:20 PM
i have recently sculpted some terrain in mudbox is there any way of converting an obj file into targa then converting it into a .ter terrain or converting an obj file straight into a .ter file
Title: Re: convert obj into ter?
Post by: old_blaggard on July 30, 2008, 10:54:11 PM
So far as I know there is no way to convert the .obj into a .ter file.  However, if you can generate a heightmap of the .obj, you can use the resulting image to convert it to a .ter.
Title: Re: convert obj into ter?
Post by: SeerBlue on August 02, 2008, 10:50:13 PM
Hey Lightening, if you are getting a tga file out, as in a displacement map/greyscale, you should be able to go from the tga to tif in Photoshop, and then from tif to ter in TerraConv  http://koti.mbnet.fi/pkl/tg/TerraConv.htm.
I don't know how good the results will be, (no idea of the res/channels/bits Mudbox exports tga files) but once you get the ter out of TerraConv you can scale it in TG, I would think.
Title: Re: convert obj into ter?
Post by: Arandil on August 05, 2008, 02:53:00 AM
I know that it's possible to import a .ter file into 3dsMax (using a free plugin) and then save it as an .obj.  If you can import your .ter into any 3D modeling program, you could likely do the same thing.
Title: Re: convert obj into ter?
Post by: chaps on August 05, 2008, 07:47:47 AM
Hello,

You can use poseray to convert obj file to a povray mesh.
http://mysite.verizon.net/sfg0000/ (http://mysite.verizon.net/sfg0000/)

then with an orthogonal camera, a marble texture, and ambient light only you can convert to TGA or any picture format. (you can use the extent function to get the size of your mesh)
http://www.povray.org/ (http://www.povray.org/)

finally you can convert to .ter using worldmachine.
http://www.world-machine.com/ (http://www.world-machine.com/)

it seems painful but it should be fast and easy to reproduce. the drawback is the limited size of terrain with the free version of worldmachine.

Bye

Pascal.