Difference between revisions of "Detail box"

From FreeSpace Wiki
Jump to: navigation, search
m
Line 1: Line 1:
=Places to use the feature=
+
==Places to use the feature==
  
 
The detail box feature can be used for multiple purposes. It should mainly be used to add details to big ships on close-ups.
 
The detail box feature can be used for multiple purposes. It should mainly be used to add details to big ships on close-ups.
Line 5: Line 5:
 
This allows you to create ultra detailed models with less worrying about he polygon count, as only the objects close to you will be rendered.
 
This allows you to create ultra detailed models with less worrying about he polygon count, as only the objects close to you will be rendered.
  
=Using detail boxes in 3d Studio Max=
+
==Using detail boxes in 3d Studio Max==
  
 
The detail box models have to be separate models. They can not be part of the main mesh.
 
The detail box models have to be separate models. They can not be part of the main mesh.
Line 25: Line 25:
 
These models have to be linked to one lod (detail-0) or a subobject of it. They'll move with the object they are linked to. So they'll appear on rotating objects if they are linked to them.
 
These models have to be linked to one lod (detail-0) or a subobject of it. They'll move with the object they are linked to. So they'll appear on rotating objects if they are linked to them.
  
=Using detail boxes in PCS=
+
==Using detail boxes in PCS==
  
 
Make sure that all models you want to use as detail box models are separate objects before you convert your model. Also make sue that the models are linked to one of the lods (probably lod-0) or one of the subobjects if needed.
 
Make sure that all models you want to use as detail box models are separate objects before you convert your model. Also make sue that the models are linked to one of the lods (probably lod-0) or one of the subobjects if needed.
  
-Open the model in PCS  
+
-=Open the model in PCS==
  
 
-Go to the 'SubObjects' tab  
 
-Go to the 'SubObjects' tab  
Line 44: Line 44:
  
  
=Detail box values=
+
==Detail box values==
  
 
You can define the type, shape, and size of the detail box.
 
You can define the type, shape, and size of the detail box.
Line 63: Line 63:
  
  
=Notes=
+
==Notes==
 
-You can use the inner and outer box with the same values for two different models, as lod system.
 
-You can use the inner and outer box with the same values for two different models, as lod system.
  

Revision as of 16:01, 4 August 2008

Places to use the feature

The detail box feature can be used for multiple purposes. It should mainly be used to add details to big ships on close-ups. It's an addition to the lod system and works quite similar. The rendering of an object depends on the distance to it. This allows you to create ultra detailed models with less worrying about he polygon count, as only the objects close to you will be rendered.

Using detail boxes in 3d Studio Max

The detail box models have to be separate models. They can not be part of the main mesh. Creating the actual 'detail box' can be done by simply adding it to the 'User Defined' Tab.

-Right click on the the model you want to be used as detail box model.

-Select 'Properties'.

-Add this to the 'User Defined' values:

$detail_box: x

$box_min: x,x,x

$box_max: x,x,x


These models have to be linked to one lod (detail-0) or a subobject of it. They'll move with the object they are linked to. So they'll appear on rotating objects if they are linked to them.

Using detail boxes in PCS

Make sure that all models you want to use as detail box models are separate objects before you convert your model. Also make sue that the models are linked to one of the lods (probably lod-0) or one of the subobjects if needed.

-=Open the model in PCS==

-Go to the 'SubObjects' tab

-Select the object you want to use a detail box for

-Add this to 'Properties':

$detail_box: x

$box_min: x,x,x

$box_max: x,x,x


Detail box values

You can define the type, shape, and size of the detail box.

$detail_box: x Sets up the type of the detail box. "1" is a detail box which renders the object when you fly into it, while "-1" will render it when your on the outside of it only.

$box_min: x,x,x -and-

$box_max: x,x,x Define the size and the shape of the detail box in x,y,z direction.

Example: $detail_box: 1

$box_min: -1200,-1200,-1200

$box_max: 1200,1200,1200 (For medium sized details)


Notes

-You can use the inner and outer box with the same values for two different models, as lod system.

-The 'model' setting in the FS2 options has a direct influence on the detail box sizes. Making it smaller on low sttings, so the details will appear later when you move to an object.