Giter VIP home page Giter VIP logo

sz_mod_treemodels's Introduction

C&C Generals: Situation Zero - tree models

About

3D flora modelled & textured for my C&C Generals: Situation Zero mod project, originally produced back in 2003-2008.

Tree models use Westwood 3D file format (W3D). Textures are provided in TGA/DDS/PSD formats.

This repository provides the mentioned tree models also in 2D format for RA2/YR game series.

I was about to rework all 3D tree models back in 2008 to reduce polygon count and improve overall quality. However, that didn't happen.

About tree production

The tree model textures have been photographed back in 2006-2008. I modeled 3D shapes for the mod project.

Images

2D tree models:

ra2-trees_sz

3D tree models - CNC: SZ in-game screenshot:

sz_trees

Related tools

Tools which can't be provided but must be used to produce the provided models in 2D format:

  • sh files are Unix shell script files used in 3D-to-2D batch production. Consider converting them into .bat format.

  • 3D Modeling: Autodesk 3DS Max <= 9

    • W3D plugins (Max2w3d & w3dimporter, see also other CNC Renegade tools available)

      • If you do not work with W3D, you can take a different approach of your choice

      • W3D plugins require Autodesk 3DS Max 9 or older version

  • 3DS to voxel converter: 3ds2vxl

  • Image editor such as GIMP or Adobe Photoshop (TGA/PSD/DDS image formats)

  • imagemagick

  • ShapeSet

  • Rendering settings in 3DS Max: part 1, part 2, part 3

    • The original rendering scenes with correct settings were provided by -Apollo- in max file format. These scenes are not provided here due to legal reasons.
  • RA2/YR modding tools

Rendering instructions

  • 1 cell equals to 60x60 pixels

  • rendering canvas size in Autodesk 3DS Max: 544x308 pixels

  • shadows are rendered separately

  • shadows are rendered in opaque mode, transparency is handled by the RA2/YR game engine

  • Tree root is vertically centered in rendered image (see 'center_weight.png' in sz_trees_for_redalert2 subfolder)

  • Use correct palette format for RA2/YR

File formats

  • tree 0000.pcx (normal tree)

  • tree 0001.pcx (damaged tree)

  • tree 0002.pcx (normal tree shadow)

  • tree 0003.pcx (damaged tree shadow)

  • Related command samples:

    • Bright.exe 0002.tga -colmask 255 0 0 -common
    • Shapeset.exe "arbor????.pcx" arborvitae01.shp

File formats of RA2/YR

  • buildings = shp

  • tanks = vxl/shp

  • infantry = shp

  • aircraft = vxl

shp = shape, vxl = voxel

File naming syntax

File name suffix explanations:

  • _B = Burn/Burned model

  • _D = Damaged model

  • _S = Snow model

  • _BS = Burn/Burned Snow model

  • _L = Large model (for example, PTgrass and PTGrass_L)

  • _LS = Large Snow model

License

This repository uses Creative Commons 4.0 BY-NC license. Please see LICENSE for details.

Disclaimer

All data and instructions are provided as they are, not any guarantee about quality.

sz_mod_treemodels's People

Contributors

fincer avatar

Stargazers

 avatar  avatar

Watchers

 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.