3D Graphics Functions
Jump to navigation
Jump to search
This article is an overview of 3d graphics related functions.
These are general functions for controlling render states.
- d3d_start
- d3d_end
- d3d_depth_clear
- d3d_depth_clear_value
- d3d_set_culling
- d3d_get_culling
- d3d_set_zwriteenable
- d3d_set_depth
- d3d_set_depth_operator
- d3d_set_hidden
- d3d_set_perspective
- d3d_set_projection
- d3d_set_projection_ext
- d3d_set_projection_ortho
- d3d_set_projection_perspective
- d3d_set_fill_mode
Transformation functions are used to apply rotations, scaling, and translation to primitives or models before they are drawn.
- d3d_transform_add_rotation_axis
- d3d_transform_add_rotation_x
- d3d_transform_add_rotation_y
- d3d_transform_add_rotation_z
- d3d_transform_add_scaling
- d3d_transform_add_translation
- d3d_transform_set_identity
- d3d_transform_set_rotation_axis
- d3d_transform_set_rotation_x
- d3d_transform_set_rotation_y
- d3d_transform_set_rotation_z
- d3d_transform_set_scaling
- d3d_transform_set_translation
- d3d_transform_stack_clear
- d3d_transform_stack_discard
- d3d_transform_stack_empty
- d3d_transform_stack_pop
- d3d_transform_stack_push
- d3d_transform_stack_top
Lighting can also be used to beef up your graphics.
- d3d_set_lighting
- d3d_set_shading
- d3d_light_specularity
- d3d_light_shininess
- d3d_light_define_ambient
- d3d_light_define_direction
- d3d_light_define_point
- d3d_light_define_specularity
- d3d_light_enable
These functions are used to control the state of fog when rendering.
- d3d_set_fog
- d3d_set_fog_color
- d3d_set_fog_density
- d3d_set_fog_enabled
- d3d_set_fog_end
- d3d_set_fog_hint
- d3d_set_fog_mode
- d3d_set_fog_start
See Also