tex3d-maxsize: 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/lib64/piglit/bin/tex3d-maxsize - from package: piglit

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