Example a_backup/emoter: Animation of a boxfish using the Emoter

This example demonstrates the use of the Emoter, by animating a model fish. If you have mozCmgui, installed in a Mozilla based browser, you can view a demo page for the extension that uses this boxfish model.

Screenshot of example a_backup/emoter


The comfile run by this example is as follows:

# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is CMISS Emoter example.
#
# The Initial Developer of the Original Code is
# Auckland Uniservices Ltd, Auckland, New Zealand.
# Portions created by the Initial Developer are Copyright (C) 2010
# the Initial Developer. All Rights Reserved.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****

# Animate a boxfish using the Emoter

#Note: Old versions of cmgui should instead execute load_emoter.com; this is still used by zinc
open comfile $example/load_emoter_new.com exec;

#Do things specific to the standalone cmgui.

  # create window
  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 906 height 736;
  gfx modify window 1 set current_pane 1;
  gfx modify window 1 background colour 0 0 0 texture none;
  gfx modify window 1 view parallel eye_point 78.146 101.34 155.166 interest_point -11.8537 -2.83632 -18.8741 up_vector -0.159574 0.881219 -0.444959 view_angle 57.8671 near_clipping_plane 2.21907 far_clipping_plane 793.019 relative_viewport ndc_placement -1 1 2 2 viewport_coordinates 0 0 1 1;
  gfx modify window 1 set transform_tool current_pane 1 std_view_angle 40 perturb_lines no_antialias slow_transparency blend_normal;


Files used by this example are:

Name                                             Modified     Size

example_emoter.com 20-Apr-2012 2.6k COPYRIGHT 20-Apr-2012 504 animate.basis 20-Apr-2012 140k boxfish_texture.jpg 20-Apr-2012 37k boxfish_texture.rgb 20-Apr-2012 687k emoter.jar 20-Apr-2012 643k full.exelem 20-Apr-2012 187k full.exnode 20-Apr-2012 89k full_linear.exnode 20-Apr-2012 14k left_fin.em 20-Apr-2012 408 left_fin.em.curve.com 20-Apr-2012 227 left_fin.em.curve.exelem 20-Apr-2012 4.3k left_fin.em.curve.exnode 20-Apr-2012 2.8k left_fin.em_in_master.em.curve.com 20-Apr-2012 175 left_fin.em_in_master.em.curve.exelem 20-Apr-2012 724 left_fin.em_in_master.em.curve.exnode 20-Apr-2012 416 left_fin.em_in_master.em_timebase.curve.com 20-Apr-2012 194 left_fin.em_in_master.em_timebase.curve.exelem 20-Apr-2012 652 left_fin.em_in_master.em_timebase.curve.exnode 20-Apr-2012 389 left_fin.exelem 20-Apr-2012 4.1k left_fin.exnode 20-Apr-2012 2.0k load_emoter.com 20-Apr-2012 8.6k load_emoter_new.com 20-Apr-2012 8.2k master.em 20-Apr-2012 2.0k right_fin.em 20-Apr-2012 408 right_fin.em.curve.com 20-Apr-2012 229 right_fin.em.curve.exelem 20-Apr-2012 4.3k right_fin.em.curve.exnode 20-Apr-2012 2.8k right_fin.em_in_master.em.curve.com 20-Apr-2012 177 right_fin.em_in_master.em.curve.exelem 20-Apr-2012 725 right_fin.em_in_master.em.curve.exnode 20-Apr-2012 417 right_fin.em_in_master.em_timebase.curve.com 20-Apr-2012 196 right_fin.em_in_master.em_timebase.curve.exelem 20-Apr-2012 653 right_fin.em_in_master.em_timebase.curve.exnode 20-Apr-2012 390 right_fin.exelem 20-Apr-2012 4.1k right_fin.exnode 20-Apr-2012 2.0k tail.em 20-Apr-2012 165 tail.em.curve.com 20-Apr-2012 219 tail.em.curve.exelem 20-Apr-2012 4.2k tail.em.curve.exnode 20-Apr-2012 1.8k tail.em_in_master.em.curve.com 20-Apr-2012 167 tail.em_in_master.em.curve.exelem 20-Apr-2012 720 tail.em_in_master.em.curve.exnode 20-Apr-2012 412 tail.em_in_master.em_timebase.curve.com 20-Apr-2012 186 tail.em_in_master.em_timebase.curve.exelem 20-Apr-2012 648 tail.em_in_master.em_timebase.curve.exnode 20-Apr-2012 385 tail.exelem 20-Apr-2012 4.1k tail.exnode 20-Apr-2012 2.0k texture_coordinates.exelem 20-Apr-2012 46k texture_coordinates.exnode 20-Apr-2012 7.1k top_fin.em 20-Apr-2012 489 top_fin.em.curve.com 20-Apr-2012 225 top_fin.em.curve.exelem 20-Apr-2012 4.3k top_fin.em.curve.exnode 20-Apr-2012 3.2k top_fin.em_in_master.em.curve.com 20-Apr-2012 173 top_fin.em_in_master.em.curve.exelem 20-Apr-2012 723 top_fin.em_in_master.em.curve.exnode 20-Apr-2012 415 top_fin.em_in_master.em_timebase.curve.com 20-Apr-2012 192 top_fin.em_in_master.em_timebase.curve.exelem 20-Apr-2012 651 top_fin.em_in_master.em_timebase.curve.exnode 20-Apr-2012 388 top_fin.exelem 20-Apr-2012 4.1k top_fin.exnode 20-Apr-2012 2.0k turn.em 20-Apr-2012 140 turn.em.curve.com 20-Apr-2012 246 turn.em.curve.exelem 20-Apr-2012 5.4k turn.em.curve.exnode 20-Apr-2012 2.3k turn.em_in_master.em.curve.com 20-Apr-2012 167 turn.em_in_master.em.curve.exelem 20-Apr-2012 720 turn.em_in_master.em.curve.exnode 20-Apr-2012 412 turn.em_in_master.em_timebase.curve.com 20-Apr-2012 186 turn.em_in_master.em_timebase.curve.exelem 20-Apr-2012 648 turn.em_in_master.em_timebase.curve.exnode 20-Apr-2012 385 x.em 20-Apr-2012 137 x.em.curve.com 20-Apr-2012 237 x.em.curve.exelem 20-Apr-2012 5.4k x.em.curve.exnode 20-Apr-2012 2.3k x.em_in_master.em.curve.com 20-Apr-2012 161 x.em_in_master.em.curve.exelem 20-Apr-2012 939 x.em_in_master.em.curve.exnode 20-Apr-2012 610 x.em_in_master.em_timebase.curve.com 20-Apr-2012 180 x.em_in_master.em_timebase.curve.exelem 20-Apr-2012 645 x.em_in_master.em_timebase.curve.exnode 20-Apr-2012 382 z.em 20-Apr-2012 137 z.em.curve.com 20-Apr-2012 237 z.em.curve.exelem 20-Apr-2012 5.4k z.em.curve.exnode 20-Apr-2012 2.3k z.em_in_master.em.curve.com 20-Apr-2012 161 z.em_in_master.em.curve.exelem 20-Apr-2012 939 z.em_in_master.em.curve.exnode 20-Apr-2012 610 z.em_in_master.em_timebase.curve.com 20-Apr-2012 180 z.em_in_master.em_timebase.curve.exelem 20-Apr-2012 645 z.em_in_master.em_timebase.curve.exnode 20-Apr-2012 382

Download the entire example:

Name                             Modified     Size

examples_a_backup_emoter.tar.gz 12-Aug-2014 2.0M

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmgui-wxSuccessSun Mar 6 00:14:23 20163
cmgui-wx-debugSuccessSun Mar 6 00:10:58 20163
cmgui-wx-debug-memorycheckSuccessSun Mar 6 00:12:00 20162
cmgui-wx-debug-valgrindFailureSun Mar 6 01:14:48 201656
last breakSun Mar 6 01:13:00 201656
last successTue Feb 10 01:06:00 201564
x86_64-linux
cmgui-wxFailureSun Mar 6 00:01:37 20160
last breakSun Mar 6 00:01:00 20160
last successWed Jun 3 00:06:00 20151
cmgui-wx-debugFailureSun Mar 6 00:01:37 20161
last breakSun Mar 6 00:01:00 20161
last successWed Jun 3 00:05:00 20151
cmgui-wx-debug-memorycheckFailureSun Mar 6 00:01:37 20161
last breakSun Mar 6 00:01:00 20161
last successWed Jun 3 00:05:00 20151
cmgui-wx-debug-valgrindFailureSun Mar 6 00:03:28 20169
last breakSun Mar 6 00:03:00 20169
last successWed Jun 3 00:37:00 201543
cmgui-wx-gcc-cad-debug-valgrindSuccessThu Jan 7 00:02:15 20166

Testing status by file:


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

Input last modified: Fri Apr 20 15:58:27 2012


CMISS Help / Examples / a_backup / emoter