Giter VIP home page Giter VIP logo

solid2obj's Introduction

solid2obj

Wolfire's Black Shades solid file converter to obj file

Screenshots

Screenshots of game models imported successfully in blender :

Image

Image

Ingame example of meshes converted to solid files (a simple UV-sphere as head and a Glock-17 made by tigg) :

Image

Current status

Supported :

  • Converting solid file to OBJ file (vertices, triangles and corresponding colors)
  • Exporting colors to a mtl file
  • Conversion from obj to solid file

Unsupported :

  • QUADS unsupported in OBJ files (using blender, the option 'Triangulate Faces' has to be checked in the OBJ export options panel)
  • textures (solid files don't support them in their state)

Limitation(s) :

  • solid meshes can't have more than 1200 vertices and 400 triangles (without altering and recompiling the Black Shades sourcecode)

Usage

solid -> obj (with 3 args)

./solid2obj <input_solid_file> <output_obj_file> <output_mtl_file>

input_solid_file    :   a valid solid mesh file
output_obj_file     :   name of the output obj file to create
output_mtl_file     :   name of the output material file to create

! WARNING output files WILL be OVERWRITTEN !

obj -> solid (with 2 args)

./solid2obj <input_obj_file> <output_solid_file>

input_obj_file      :   a valid obj mesh file
output_solid_file   :   name of the output solid file to create

! WARNING output file WILL be OVERWRITTEN !

Building

On GNU/Linux:

Version for GNU/Linux

$ make

Version for Windows

$ make -f Makefile.win32

Links

Wolfire's Black Shades page

Black Shades modding thread

solid2obj's People

Contributors

melchips avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.