Copyright 2007-2022. Algoryx Simulation AB.

All AGX source code, intellectual property, documentation, sample code,
tutorials, scene files and technical white papers, are copyrighted, proprietary
and confidential material of Algoryx Simulation AB. You may not download, read,
store, distribute, publish, copy or otherwise disseminate, use or expose this
material unless having a written signed agreement with Algoryx Simulation AB, or having been
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
valid commercial license from Algoryx Simulation AB.

Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
from using this software, unless otherwise stated in written agreements with
Algoryx Simulation AB.


1. Generate license
2. Run tutorials
3. Use agxViewer
4. Build tutorials from source code.


#1 Generate license
=====================
To be able to execute applications based on the AGX Dynamics SDK you need a valid license file.
Execute the execitable RuntimeKeyGenerator to get a runtime ID. Email this ID to support@algoryx.se together with the following information:

* User/Company name
* email-adress
* runtime ID (from the key generator as described above).
* AGX version (from the key generator above)

EXAMPLE:

> RuntimeKeyGenerator

Available unique ids:

TYPE  Hardware ID                      Comment
------------------------------------------------------------------------------
NIC   B5CFABD5384A507BF621880A387A63A6

One of these Hardware Id value(s) should be used when acquiring
a license from Algoryx


The following (replace with correct contact info) should be sent to support@algoryx.se:

* User/Company name: John Doe/Acme Inc.
* email-adress:      jdoe@acme.com
* runtime ID:        002618FC9515
* AGX version:       1.10.0.0

#2 Run tutorials
=====================
To run the available tutorials in the AGX directory, just execute run_tutorials.bat.
Each executable (with graphics) has several scenes, switch scene with keys 1, 2,...

#3 Use agxViewer
=====================
agxViewer is an application that can read AGX serialization data (.agx, .aagx) and AGX Python scripts (.agxPy).
To load a file just start agxViewer with one or more filenames as argument:

> agxViewer cables.agxPy firehose.agxPy

Each file will be assigned to key 1, 2, etc.

For more information look into the AGX User Manual (pdf).

4. Build tutorials from source code
====================================
This is just a short description. For a more thorough description, check the AGX User Manual (pdf).

To build the tutorials from source code you need to install cmake (version 2.6 and above, 2.8 for vs2010). You can
download cmake from www.cmake.org.

4.1 Go to the AGX directory and execute: > cmake-gui .
4.2 Set the CMAKE_INSTALL_PREFIX to . to build the binaries into the same directory as AgX, or choose another if you like.

4.3 The AGX version you have installed is built with a specific version of VisualStudio, for example VS2012 or VS2013. It is important that you choose the same version
to build the tutorials with the SAME version, as different VS versions are not compatible with each other.

4.4 Do configure and generate in CMake (for more information see CMake documentation).
4.5 Open the agxBuild.sln in VisualStudio and build. If you have a release-only installation of AgX,
you will not be able to build the debug version of the tutorials.


-------------------------------------------------------------
AGX Dynamics team @ Algoryx Simulation AB.
