NIFFeditor for SGI

7. Node Settings

The node setting dialog box for the SGI can be started by clicking on the respective node. The nodes that can be set via the dialog box are: Scene, Obj, LOD, Shape, Mat, Texture, Env, Cam, Light, Part, ChainRoot, Joint and Effector. The method of entering settings for each node is described below.

Scene Node

The flags within the NIFF Scene node can be set using the dialog box illustrated below.

Figure 7: Scene Node Settings Dialog Box

Illustration

Name
The Scene name is displayed in this box. It can be edited.

SCENE_CFG_VIDEO
This sets the video mode flag of the scene_cfg data in the SceneList. Use the switch to set one of three modes, NTSC, PAL or MPAL.

GAMMA
This sets the flag for gamma correction of the scene_cfg data in the SceneList.

DITHER
This sets the flag for dithering the scene_cfg data in the SceneList.

DIVOT
This sets the flag for divoting the scene_cfg data in the SceneList.

Back to Node Settings Index

Obj Node

The flags in the NIFF Obj node can be set using this dialog box as illustrated below.

Figure 8: Obj Node Settings Dialog Box

Illustration

Name
The Obj name is displayed in this box. This can be edited.

ACTIVE Switch
When turned ON, this sets the obj_state flag in the NIFF Obj to ACTIVE.

type
This sets the obj_type data in the NIFF Obj. This can be selected from among NULL object, 3D object, and BILLBOARD object.

group
This sets the obj_group data in the NIFF Obj. When the NONE switch is turned ON, the setting is OBJ_GROUP_NONE. When the NONE switch is turned OFF, the group ID number among the group IDs on the right side becomes enabled.

priority
This sets the obj_pri data in the NIFF Obj. When the NONE switch is turned ON, the setting is OBJ_PRI_NONE. When the NONE switch is turned OFF, the priority is the one shown in the selection box on the right.

render_priority
This sets the obj_render_pri data in the NIFF Obj. If [NIFF->] is selected, the NIFF render mode selection switch on the right can be used to select any of OPA_SURF, OPA_INTER, OPA_DECAL, TEX_EDGE, XLU_SURF, XLU_INTER, XLU_INTER, or XLU_DECAL.

If [N64->] is selected, the render mode setting is described in render_type0 and render_type1, below the render_priority switch. At present, render_pri can only be set to the [NIFF->] setting.

render_cycle_type
This sets the obj_render_cycle_type data in the NIFF Obj. Select either 1cycle or 2cycle.

for Fog
NIFF 2.0 has added for Fog settings equivalent to render_priority, render_type0, render_type1, and render_cycle_type. The settings are: obj_render_cycle_type_for_fog, obj_render_pri_for_fog, obj_render_type0_for_fog, and obj_render_type1_for_fog. The settings work in the same way as the Ojb render settings described above and are displayed only when NIFF 2.0 data is loaded.

Have Link_Billboard
This sets the have_link_billboard flag in the NIFF Obj.

Back to Node Settings Index

LOD Node

Flags can be set inside the NIFF LOD node using the following dialog box:

Figure 9: LOD Node Settings Dialog Box

number of LOD level
The number of lOD levels

upper is near, lower is far
Sets the linked obj in order, starting from the closest.

If closer than the distance specified in "distance,," then LOD is set to display the Obj number in the current version of NIFFeditor, then number of LODlevels cannot be changed.

Back to Node Settings Index

Shape Node

The flag in the NIFF shape node can be set using the dialog box illustrated below.

Figure 10: Shape Node Settings Dialog Box

Illustration

Name
The shape name is displayed in this box. This can be edited.

ALIAS
This sets the type of anti-aliasing for the shape_type flag in the NIFF Shape node. Select one from among ANTI (anti-aliasing), REDUCED (simple anti-aliasing), and NONE (no anti-aliasing).

Z-Buffer
When this switch is turned ON, the shape_type Z-Buffer in the NIFF Shape node becomes enabled.

Culling
This performs culling control of the shape_type in the NIFF Shape node. Turn FRONT to ON, for front face culling, or turn BACK to ON for back face culling. Turn both ON to cull both faces. Turn both OFF for no culling.

Use Vtx Alpha when using Fog
When this switch is turned on, the shape_type Use Vtx Alpah becomes enabled when using Fog.

link to ...
Displays the contents of kind_of_node_for_geomtry and shape_tri_link. This was added to support NIFF 2.0.

Back to Node Settings Index

Mat Node

This sets the flags in the NIFF Mat nodes. The dialog box is illustrated below.

Figure 11: Mat Node Settings Dialog box

Mat Dialog Box
Name
The mat name is displayed in this box. This can be edited.

shade_type
This sets the mat_shade_type data in the NIFF Mat. The switches for performing lighting settings, shade settings, and environment settings are lined up from left to right. From the lighting settings, select one from among GLOBAL (global light), LOCAL (local light), and NONE (no light).

From the shade settings, select one from between FLAT (flat shading) and SMOOTH (smooth shading). From the environment map settings, select one from among USE_REFLECT (reflection mapping), USE_HILIGHT (highlight mapping), and NONE (no environment mapping).

ambient
This defines the ambient_red, ambient_green, ambient_blue and ambient_alpha data in the NIFF mat. Indicate each selection in the range of 0 to 1. Displayed only when NIFF 2.0 data is loaded.

emmission
This defines the emission_red, emission_green, emission_blue and emission_alpha in the NIFF mat. Indicate each selection in the range of 0 to 1. Displayed only when NIFF 2.0 data is loaded.

diffuse
This defines the diffuse_red, diffuse_green, diffuse_blue and diffuse_alpha in the NIFF mat. Indicate each selection in the range of 0 to 1. Displayed only when NIFF 2.0 data is loaded.

mat_type
This sets the mat_type in the NIFF Mat. First select the mat type setting method, either NIFF or N64. After changing this switch, the user must currently close the dialog box by clicking [OK] once. Then, click the node again to re-open the dialog box. Otherwise, the display updates. This problem will be corrected in a future revision.

If NIFF has been selected, the display is in dedicated NIFF color setting mode. In this case, you can choose whether or not to select anything for the various colors: color_type0, color_type1, alpha_type0, and alpha_type1. Multiple colors can also be selected at the same time. However, when these are converted to a display list, the way they are selected is determined by the converter.

If [N64] has been selected, the colors are selected according to the color combiner selection method of the N64.

mat_type_for_fog
This sets the forFog mat type in the NIFF mat. Choices are: mat_color_type_0_for_fog, mat_color_type_1_for_fog, mat_alpha_type_0_for_fog and mat_alpha_type_1_for_fog. Displayed only when NIFF 2.0 is loaded.

prim_color
This defines the prim_red, prim_green, prim_blue, and prim_alpha data in the NIFF Mat. Indicate each color selection in the range of 0 to 1.

prim_color_fog
This defines the prim_red_for_fog, prim_green_for_fog, prim_blue_for_fog and prim_alpha_for_fog in the NIFF mat. Indicate each selection in the range of 0 to 1. Displayed only when NIFF 2.0 data is loaded.

usr_flag*
This describes the usr_flag data in NIFF Mat.

Back to Node Settings Index

Tex Node

This sets the flags in the NIFF Tex nodes. The dialog box is illustrated below.

Figure 12: Tex Node Settings Dialog box

Illustration

Name
This box displays the Texture name. This can be edited.

Form
This is used to select the texture format. One format is selected from among I, IA, CI, YUV, RGB, and RGBA. This is reflected in the tex_type data in the NIFF Tex node.

Depth
This is used to select the number of bits per texture pixel. Select one from among 4bit, 8bit, 16bit, and 32bit. This is reflected in the tex_type data in the NIFF Tex node.

Wrap_s, Wrap_t
The wrap, clamp, and mirror of the texture can be set. This is reflected in the tex_wrap_s data and the tex_wrap_t data in the NIFF Tex node.

Texture Filter
This defines the tex_filter data in the NIFF Text node. Displayed only when NIFF 2.0 data is loaded. Please see the NIFF 2.0 Specification for details.

Perspective Correction
This defines the usr_perpective_correction data in the NIFF Tex node. Displayed only when NIFF 2.0 data is loaded. Please see the NIFF 2.0 Specification for details.

mipmap Level
This displays the mipmap_level data in the NIFF Tex node. It cannot be edited. Displayed only when NIFF 2.0 data is loaded. Please see the NIFF 2.0 Specification for details.

No/Use Color Palette
This displays the usr_color_palette data in the NIFF Tex mode. It cannot be edited. Displayed only when NIFF 2.0 data is loaded. Please see the NIFF 2.0 Specification for details.

Back to Node Settings Index

Env Node

The flags in a NIFF Env node can be set using the dialog box illustrated below.

Figure 13: Env node dialog box

Illustration

Name
This box displays the Env name. It can be edited.

fog
Set the fog flag in NIFF Env. When USE FOG is set to ON, this flag becomes ENV_FOG_USE, enabling all subsequent fog-related data.

fog color
Set the fog color flag in NIFF Env. Enter the hexadecimal value so that the flag equals 0xRRGGBBAA.

fog near
Set the fog near flag in NIFF Env. Enter an integer in the range of 0 to 1000.

fog far
Set the fog far flag in NIFF Env. Enter an integer in the range of 0 to 1000.

Fill frame buffer with color
Set the fill color in NIFF Env. When Fill Frame is ON, the values entered in the boxes on the right are enabled. Enter the hexadecimal value so that the flag equals 0x00RRGGBB.

Fill frame buffer with color
Set the fill depth in NIFF Env. When Fill Z-buffer is ON, the values entered in the boxes on the right are enabled. Enter the hexadecimal value so that the flag equals 0x00RRGGBB.

BG color
Set the bg sprite img in NIFF Env. When USE Texture is ON, the values entered in the boxes on the right are enabled. Enter Tex index number from the TexList.

BG depth
Set the bg sprite depth in NIFF Env. When USE Texture is ON, the values entered in the boxes on the right are enabled. Enter Tex index number from the TexList.

Back to Node Settings Index

Cam Node

The flags in a NIFF Cam node can be set using the dialog box illustrated below.

Figure 14: Cam node setting dialog box

Illustration

Name
This box displays the Cam name. It can be edited.

CAMERA TYPE
Set the camera type flag in NIFF Cam.

clipping plane
Set the clipping planes.

near
This is the near clipping plane. This is reflected in cam near clip in NIFF Cam.

far
This is the far clipping plane. This is reflected in cam far clip in NIFF Cam.

right
This is the right clipping plane. This is reflected in cam right clip in NIFF Cam.

left
This is the left clipping plane. This is reflected in cam left clip in NIFF Cam.

top
This is the top clipping plane. This is reflected in cam top clip in NIFF Cam.

bottom
This is the bottom clipping plane. This is reflected in cam bottom clip in NIFF Cam.

fovy
This is the fovy value. This is reflected in cam fovy in NIFF Cam.

aspect
This is the aspect value. This is reflected in cam aspect in NIFF Cam.

scale
This is the scale value. This is reflected in cam scale in NIFF Cam.

lookat
This is the index number of the Obj that is the point viewed by the camera. This is reflected in cam lookat obj.

eye
This is the index number of the Obj that is the viewpoint of the camera. This is reflected in cam eye obj.

up
This is the index number of the Obj that is the point above the camera. This is reflected in cam up obj.

Back to Node Settings Index

Light Node

The flags in a NIFF Light node can be set using the dialog box illustrated below.

Figure 15: Light node setting dialog box

Illustration

Name
This box displays the Light name. It can be edited.

ambient light
Describe the ambient r, ambient g, and ambient b data for NIFF Light.

number of dir/pos lights
This is a display of the dir light num flag for NIFF Light. This setting cannot be changed.

light type
This is a display of the light type flag for NIFF Light. This setting cannot be changed.

Back to Node Settings Index

Part Node

The flags in a NIFF Part node can be set using the dialog box illustrated below.

Figure 16: Part node setting dialog box

Illustration

Name
This box displays the Part name. It can be edited.

Back to Node Settings Index

Anim Node

The flags in a NIFF Anim node can be set using the dialog box illustrated below.

Figure 17: Anim node setting dialog box

Illustration

Name
This box displays the Anim name. It can be edited.

animation type
This is a display of the anim type flag for NIFF Anim. This setting cannot be changed.

frame rate
This is a display of the frame rate flag for NIFF Anim. This setting cannot be changed.

number of loop times of animation
This is the anim loop flag for NIFF Anim. When Endless is OFF, the loop number at the right is enabled and reflected in anim_loop.

use animation channel
Displayes the use_animation_channel data for the NIFF Anim node. It cannot be edited. Please see the NIFF 2.0 Specification for details.

Back to Node Settings Index

ChainRoot Node

The ChainRoot dialog box sets the ChainRoot node Name. Added in NIFF 2.0.

Joint Node

The Joint Node dialog box sets the Name and joint_type of the ChainRoot node. Added in NIFF 2.0.

Effector Node

The Effector dialog box sets the Effector node Name. Added in NIFF 2.0.

Back to Node Settings Index


Copyright 1997-1999 NINTENDO Co., Ltd.
1998-1999 MONEGI CORPORATION All rights reserved.