Example a_backup/ai: Viewing the Brain, skull and associated skin

This example views the brain, the skull and the associated skin.

Screenshot of example a_backup/ai


The comfile run by this example is as follows:

GFX create material brain diffuse 1 0 0
gfx create material bone ambient 1 1 1 diffuse 0 1 0 emission 0 0 0 specular 0 0 0 alpha 0.55 shininess 0
gfx create material skin ambient 1 1 1 diffuse 0 0 1 emission 0 0 0 specular 0 0 0 alpha 0.31 shininess 0
GFX read node example head_geometry
GFX read elem example brain_geometry
GFX read elem example bone_geometry
GFX read elem example skin_geometry
GFX modify g_elem brain surface material brain
GFX modify g_elem bone surface material bone
GFX modify g_elem skin surface material skin
# Following commmands obtained from gfx (after rotating image) using
# "gfx li win 1 comm "
gfx create window 1 double_buffer
gfx modify window 1 image scene default light_model default
gfx modify window 1 image add_light default
gfx modify window 1 layout simple ortho_axes z -y eye_spacing 0.25 width 400 height 400
gfx modify window 1 set current_pane 1
gfx modify window 1 background colour 0 0 0
gfx modify window 1 view parallel eye_point 340.627 1641.13 3.64701 interest_point 182.683 218.039 129.194 up_vector -0.0108309 0.0890675 0.995967 view_angle 24.2458 near_clipping_plane 14.3732 far_clipping_plane 5136.5 relative_viewport ndc_placement -1 1 2 2 viewport_coordinates 0 0 1 1
gfx modify window 1 set transform current_pane 1 std_view_angle 40 normal_lines no_antialias slow_transparency





Files used by this example are:

Name                   Modified     Size

example_ai.com 20-Apr-2012 1.3k COPYRIGHT 19-Apr-2012 504 bone_geometry.exelem 20-Apr-2012 204k brain_geometry.exelem 20-Apr-2012 102k head_geometry.exelem 20-Apr-2012 498k head_geometry.exnode 20-Apr-2012 157k skin_geometry.exelem 20-Apr-2012 204k

Download the entire example:

Name                         Modified     Size

examples_a_backup_ai.tar.gz 12-Aug-2014 755k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmgui-wxSuccessSun Mar 6 00:10:32 20163
cmgui-wx-debugSuccessSun Mar 6 00:13:40 20162
cmgui-wx-debug-memorycheckSuccessSun Mar 6 00:13:43 20163
cmgui-wx-debug-valgrindFailureSun Mar 6 01:21:29 201672
last breakSun Mar 6 01:20:00 201672
last successTue Feb 10 01:20:00 201583
x86_64-linux
cmgui-wxFailureSun Mar 6 00:01:36 20160
last breakSun Mar 6 00:01:00 20160
last successWed Jun 3 00:04:00 20150
cmgui-wx-debugFailureSun Mar 6 00:01:36 20160
last breakSun Mar 6 00:01:00 20160
last successWed Jun 3 00:06:00 20151
cmgui-wx-debug-memorycheckFailureSun Mar 6 00:01:36 20160
last breakSun Mar 6 00:01:00 20160
last successWed Jun 3 00:04:00 20151
cmgui-wx-debug-valgrindFailureSun Mar 6 00:03:04 201610
last breakSun Mar 6 00:02:00 201610
last successWed Jun 3 00:40:00 201547
cmgui-wx-gcc-cad-debug-valgrindSuccessThu Jan 7 00:02:32 20167

Testing status by file:


Html last generated: Sun Mar 6 05:50:52 2016

Input last modified: Fri Apr 20 15:56:12 2012


CMISS Help / Examples / a_backup / ai