Code Monkey home page Code Monkey logo

terrain-to-object-exporter's Introduction

Terrain-To-Object-Exporter

Exports a Unity terrain object as an .obj file that can be loaded into various 3D apps. Requires Unity 2.5 or later.

Screenshots:

alt text

alt text

alt text

How to use:

  1. Create a C# Script with name "ExportTerrain" where in folder .../Assets/Editor/.

  2. Open script, delete all and copy-paste the code, save.

  3. Select a terrain object in your scene. (If none is selected, it will use the active terrain (if any))

  4. Select Export To Obj... from the "Terrain" menu, and in the resulting window, select whether you want the object to use triangles or quads when exported, and also select the resolution to use for the exported mesh (full, half, quarter, eighth or sixteenth).

  5. Then click Export, choose a file name and location, and the file will be exported.

Note: High-res terrains exported at full resolution will result in very large .obj files and may take a while to process.

Authors: Eric Haines (Eric5h5): original & Yun Kyu Choi: C# conversion & Bit Barrel media: progress bar fix.

Reference: http://wiki.unity3d.com/index.php?title=TerrainObjExporter

terrain-to-object-exporter's People

Contributors

burakdaskin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

terrain-to-object-exporter's Issues

If you're getting Build error

You can add this attribute to "ExportTerrain" class.

#if UNITY_EDITOR //Just add this line to top of the class

#endif //and this line to the end of the class.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.