AmbientSpheres: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/AmbientSpheres - from package: vtk-examples

You may install the required package with command yum install {package}
Error in other languages:
AmbientSpheres: bevel nie gevind nie
AmbientSpheres: comandă negăsită
AmbientSpheres: comando não encontrado
AmbientSpheres: commande introuvable
AmbientSpheres: command not found
AmbientSpheres: käsku ei ole
AmbientSpheres: không tìm thấy lệnh
AmbientSpheres: komanda nerasta
AmbientSpheres: Kommando nicht gefunden.
AmbientSpheres: kommandot finns inte
AmbientSpheres: komut yok
AmbientSpheres: nie znaleziono polecenia
AmbientSpheres: níor aimsíodh an t-ordú
AmbientSpheres: no se encontró la orden
AmbientSpheres: no s'ha trobat l'ordre
AmbientSpheres: opdracht niet gevonden
AmbientSpheres: parancs nem található
AmbientSpheres: perintah tidak ditemukan
AmbientSpheres: príkaz nenájdený
AmbientSpheres: příkaz nenalezen
AmbientSpheres: команда не найдена
AmbientSpheres: командата не е открита
AmbientSpheres: 命令找不到
AmbientSpheres: コマンドが見つかりません