| Author |
Question for DB guys........ |
Deep Six
Joined: Apr 23, 2002 Posts: 824 From: England, Manchester.
| Posted: 2002-08-01 18:44  
Does anyone know how many bmps can be applied to one j3d object ??
I'm asking this because i want to start mapping objects selectively..then merging them all together into one scene again at the end....But I need to know just how many bmps I can get away with
_________________ "Run Silent.....Run Deadly"
"This Pack wolf Hunts Alone"

 
|
Thomasew
Joined: Feb 28, 2002 Posts: 1898 From: Bluewater Bay, South Africa
| Posted: 2002-08-02 02:00  
Hi Six
This wouldn't be dependent on the database. All the DB does is point to j3ds in the 3D.ndx file ... which, in turn, finds the relevant bmps in the 3D.grp file.
If there were any limitation ... I'm guessing that it would be in the j3d itself.
Cheers
Tom
_________________ He Who Will Not Risk Cannot Win
 
|
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-08-02 07:16  
OK This is from the readme about the model plugin. All the answers you need.
4. Create a new entry in the 3dobjects database. Be sure the name field matches the name from the objects database.
Texture map information for j3d files:
Texture maps need to be 8bit indexed color, square, and an integer power of two for width and height. The width and height cannot exceed 256x256. Valid sizes are 1x1, 2x2, 4x4, ..., 256x256. Alpha transparency masks can optionally accompany a texture map. When appropriately named, an alpha map will automatically be applied to the model. To use an alpha map, it must be in a gray-scale format, and have the same name as the texture map but with an 'a' added to the end of the name before the extension. For example, the texture map "radar.bmp" would have an alpha map called "radara.bmp".
A few notes:
3D Models can share texture maps. You can have two different j3d files both referencing the same texture maps and alpha masks. In that case, you need only add the texture maps (bitmaps) to the 3D group once.
Duplicate file names in the 3D group will supercede earlier additions to the 3D group, the old files will, however, not be removed, they will just not be used. Store all your final models someplace safe, as someday you'll probably want to start with a fresh install and just add your final versions.
3D model animations:
Pieces of the 3D model can be set in motion if desired. There are two ways this happens. First, parts such as propellers can turn on their own continuously. The second method is to tie a part into one of the launchers in the SIM. Both methods involve editing the 3D objects database and creating a node in the 3D model (using 3D Studio MAX) with a node name so that the part can be identified in the game.
The 3Dobject database has entries for animated parts. First, the number of parts is entered. Then for each part, the XYZ rotational axis is set, the type is set, the rotational velocity is set, and the node name to rotate is set. Use type 0 for continuously rotating parts. Use type 1 for parts tied to launchers in the launcher database associated with the model in question. For type 1 parts, the XYZ axis and rotational velocity (delta angle) do not apply. Type 0 and type 1 parts may be intermixed in the 3D objects database but all type 1 parts must appear in the same order as that of the associated part in the launcher database.
Model Limitations:
Fleet Command has some hardcoded limitations on the models it will accept:
Max Vertices: 10000
Max Poly Count: 4000
Max Textures: 32
Max Groups: 300
Max Texture Name Size: 32
Exceeding any of these limits will likely crash either the plugin or the game.
Surface colors:
Fleet Command will blend the surface color of the model with any textures applied to it. All the original models for the game used the following surface properties:
Ambient color- Red-100, Green-100, Blue-100
Diffuse color- pure white
Specular color- R-90, G-90, B-90
Specular level- 11
Glossiness-19
Self illumination- 40
Any texture maps applied will then dictate the color of the model.
Notes: A model must have a texture map or some material applied to all faces or the plug-in will crash 3DSMAX to the desktop during the export.
_________________
Project 971
 
|
|