Refactoring fo renderingwidget
Resolving bug on texture (clamp)

Signed-off-by: David <david.murray@institutoptique.fr>