Coin3d Inventor Installations


If you have you have time and interests in installing Coin3d in Linux on your own machine or in a temporary directory, you can following the installation steps to do so. Please note:

For a quick look at the installation process/structure/results:


Testing the installation


We have the Coin3d Inventor installed on CS' Linux machines in SEM 252.

Testing if Coin3d Inventor works:

To get the Coin3d Inventor in SEM 252 to work with your CS account, please add the following into your ".cshrc" or ".bashrc", depending on your shell environment:
Now go to "/usr/local/coin3d/SoGuiExamples-SoQt". All the subdirectories there contain numerous examples of different features of Coin3d Inventor. Those examples have been successfully compiled and linked and are ready for execution.



Homework 1 ( 1 hour/minimum ---- 3 years/maximum ):

  1. Set up the enviroment for your CS account (see above).
  2. Go to "/usr/local/coin3d/SoGuiExamples-SoQt".  Run the examples in the subdirectories "components", "actions",  "draggers",  "engines", "eyecandy",  "manipulators", and "sensors". Please note: to view the correct displays, don't remotely run these executables. Even though they can be executed with same Linux versions, you may have slightly different visual effects. But remote execution can be used to test if the program/code works correctly.
  3. Go to "/usr/local/coin3d/include/Inventor". Have a glance at the contents there. And
    1. Notice the files' names.
    2. Quickly go through the contents of files "Sb.h", "SbVec3f.h",  "SbMatrix.h", "SoTime.h".
    3. Remember there are some important subdirectories there: "engines", "nodes", "sensors", "manips", "actions", and "Qt". If interested, list the files names in those subdirectories.
  4. Go to "/usr/local/coin3d/bin". There are 3 commands: "coin-config", "soqt-config", and "simage-config".
    1. Run them with the option "--help".
    2. Run them with some other options: for example, "--ldflags", "--cppflags", "--libs", and "--cflags".
    3. Pay particular attention to "soqt-config" and its options.
  5. Go to "/usr/local/coin3d/lib" and use "ls -l" to list all the coin3d libraries.