Luomu / pioneer

space simulation adventure game
http://pioneerspacesim.net/
6 stars 1 forks source link

Dynamic textures (decals etc) on models #29

Closed Luomu closed 11 years ago

Luomu commented 12 years ago

Need a way to specify areas of models where special materials will be appiled to. For example: space station advertisements.

Luomu commented 12 years ago

Detect using material name or node name.

Luomu commented 11 years ago

Nodes with names starting: decal_01 decal_02 decal_03 decal_04 Will be assigned a special dynamic texture. NModel::SetDecalTexture can be used by Ship.cpp/SpaceStation.cpp/etc to set the texture.

Luomu commented 11 years ago

I guess this is done, the rest is not part of newmodel technically