Your startup project

Project preparation:

Human model walking over sunset

For this project, we have assumed that you already have a nice picture and a animated model. In case you do not have, you can get one from pexels (which are free to use commercially). For our case here I have taken one by Mikhail Nilov (For no performance issue, lets take one of low resolution). We can take a human model from “basemodels/bam files/” directory from where you have started the installation. If you do not have a working animation ready with you, those could be copied from “basemodels/actions/” directory. As we want a simple animation of a actor passing in front of a picture, we will take the walking animation (the complete list is at “basemodels/animations.txt“). Lets say we want a basic animation of a lady walking across screen. In that case we can take A20GFLC-A20g02_01 action file.

You will need:

A picture or video to be on the background

A Human model with animation

Task Duration:

1 hour to 2 hours

(for new users)

Project setup:

FPS, Resolution and project

Here, lets assume we want to call this project “FirstTry” but do not have a project ready. So, in the Memeer screen, “Application Setup” tab, set the project name as “FirstTry”. For now, set the resolution as “192, 108” (which obviously we will change later) and FPS As 25 (which is the FPS of this nice video from Mikhail. We are done for this part. In case this project do not exists, application ask do we want to create this now which we are affirmative on. Once it is created, save the configuration.

Decide for your need:

What to use for screen resolution

Names for project, models and animation

Task Objective:

Getting project ready for activities

Putting things in place:

Setting all models ready to be used

As we can see, we need to have 3 sets of data/ files for this animation:

  1. The video of the sunset
  2. The human lady who will be running on the beach
  3. The animation (data points) of “run”

And we have all of that, maybe not in place yet. For the video, we copy the mp4 file into the <MemeerInstallationDirectory>/FirstTry/media folder. We may change the name of this mp4 or not. But we will need to change synonyms in application later. For human model, we can for now use a human model from BAM Files (basemodels/bam files/humanbase.bam). So just copy over this file to model folder. Now for the animation, here in this we want to change location as per our standard, so we use “sactions” folder animation file (the S stands for static actions, as opposed to actions directory where the model moves as per its own standard). So we copy basemodels/sactions/A20GFLC-A20g02_01.egg file as FirstTry/model/action/human__walk.egg. (We will come to these 3 terms: human, __ and walk in some time). Once files to be used are in location, we head over to application setup tab, and click open refresh project button. This might take few seconds, as it will convert mp4 file to a Panda3d model and do some other model setup.

Once ready, open the “Defined Objects” tab. Here we will see the beach mp4 file and human model. The least needed here is to correct the synonyms (Memeer is NLP based, and synonyms and Adjectives/ Adverbs (called Modifiers) play an important role). So we set the synonym for beach as “beach, sunset” and modifier as “movie” (which is one of the keyword, mean to load and play it once only, else it will be treated like a regular Panda3d object). For human, we can set synonyms as “human, lady, woman” (or anything you want, no judgements!). Save the Object config, and refresh the project once more. In the action tab, you will see Function name “walk” at the very last, save this configuration. It will load the walk word forms.

So, just for your knowledge of internals:

  1. We can now refer to human model as “human” or “lady” or “woman”. We can assign proper name later during story building)
  2. We can refer to beach video as beach or sunset
  3. When we say “woman was walking” or “lady walked” etc., it will start animation of human__walk file which we saved earlier (and that is the purpose of this naming convention)
  4. If we have model of 2 ladies, one nice and other smart, we can put these in Modifier and when we call “nice lady was walking”, it will pull up the “nice lady” model for us, and, and so on…

Basic steps:

Convert video to model

Copy human model

Copy animation model


Panda3D model for video

Memeer conventional model and animation setup

And finally your startup simplest animation:

Testing the story

Finally we head on to “User stories and play” and type in the below story:

beach @(0,5,0,0,0,0,0.66,0.66,0.66) #1-#250
lady is walking #1-#250 @(0,0,-35,180,0,0,1,1,1)

Before we move on, first about lots of numbers here (more details on coordinates is available on coordinates documentation):

  1. By default (unless changed) the camera is located at 0, -120, 0 and is looking at 0, 0, 0
  2. The general position format is @(x,y,z, h,p,r, sx, sy, sz)
  3. x, y, z denote the x, y, z coordinates of the model. For our beach movie, we just set it as 0, 0, 5 which is good enough for all
  4. For human model, we have set Z somewhat below so we do not have to worry about footsteps on sand for the lady
  5. HPR are the head, roll and pitch. Here for movie, they are all 0, so it is facing camera upfront
  6. The HPR for lady is 180, 0, 0, so she is facing outward direction while running
  7. Sx, Sy and Sz is scaling along X, Y and Z direction. For movies with same aspect ratio, value of 0.66 should be good. More on this on cooredinates and scaling page.

And thats it. We can now export (Current Rush –> Play story) to see how it looks. If we wish to change the aspect ratio for this particular run, we can set that as parameter.

We can remove “In preview mode” and remove the frame numbers and debugging information from the screen.

We can export the video (Current Rush –> Export Video) to any name we like and add on audio.

Basic steps:

Video as generated with story

Write the story

Play the story

Create Movie