From óptico + -mente.
opticamente
opticamente (Brazilian spelling, superseded in European Portuguese)