|
| object_3d * | draw_sphere (int quality) |
| | OpenGL 3D sphere object rendering.
|
| object_3d * | draw_cylinder (int quality, float ra, float rb) |
| | OpenGL 3D cylinder object rendering.
|
| object_3d * | draw_cylinder_cap (int quality, float rad, gboolean picked) |
| | OpenGL 3D cylinder cap object rendering.
|
| object_3d * | draw_billboard_quad (void) |
| | create a camera-aligned billboard quad proxy for perfect impostors.
|
| void | setup_line_vertice (float *vertices, vec3_t pos, ColRGBA col, float alpha) |
| | fill the OpenGL data buffer for a line bond (or clone bond) to render
|
| void | setup_sphere_vertice (float *vertices, vec3_t pos, ColRGBA col, float rad, float alpha) |
| | fill the OpenGL data buffer for a atom (or clone) to render
|
| void | setup_cylinder_vertice (float *vertices, vec3_t pos_a, vec3_t pos_b, ColRGBA col, float rad, float alpha, float delta, float r_sph_a, float r_sph_b) |
| | fill the OpenGL data buffer for a cylinder bond (or clone bond) to render
|
| void | setup_cap_vertice (float *vertices, vec3_t pos_a, vec3_t pos_b, ColRGBA col, float rad, float alpha, gboolean sel) |
| | fill the OpenGL data buffer for a cylinder cap bond (or clone bond) to render
|
| void | setup_triangles (float *vertices, vec3_t sa, vec3_t sb, vec3_t sc) |
| | setup triangle vertices
|
| void | clean_labels (int id) |
| | clean atomic label shaders
|
| ColRGBA | color_axis (int id) |
| | get axis color
|
| mat4_t | create_axis_matrices (int type) |
| | create axis OpenGL rendering matrices
|
| void | setup_arrow (float *vert, vec3_t a, vec3_t b, vec3_t c, vec3_t d, vec3_t e) |
| | setup axis 3D arrow rendering data
|
| void | init_axis_param () |
| | initialize axis rendering parameters
|
| void | prepare_axis_data (float *vert_a, float *vert_b, float *vert_c) |
| | prepare axis OpenGL rendering data buffer
|
| int | create_axis_lists () |
| | prepare axis OpenGL rendering
|
Functions to prepare the OpenGL rendering for the axis.
- Author
- Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r
Definition in file d_axis.c.
create a camera-aligned billboard quad proxy for perfect impostors.
The quad has 4 vertices at unit corners (±1, ±1, 0). Each vertex shader for perfect impostors uses the sign of vert.x / vert.y to select the corresponding edge of the tight axis-aligned bounding box in view space.
Draw primitive: GL_TRIANGLE_STRIP with indices [0,1,2,3]. tri 0 → vertices 0,1,2 tri 1 → vertices 1,2,3
Definition at line 273 of file d_atoms.c.