0
$\begingroup$

Rosanswers logo

When rendering in Rviz geometries whose model contains a normal map, the quality of the resulting shading is inferior to what I would expect. With a geometry of my own (Collada 1.4 exported by Blender), I can see that Rviz is apparently ignoring the normal map, and (automatically?) performing crease-angle-smoothing. Both Blender and the Assimp viewer load correctly the normal map.

I then compared how Blender and Rviz render one of PR2's geometries, which is shown in the attached image (Blender left, Rviz right). Clearly, something seems to be off.

I didn't seem to find any tickets related to this, and grepping the rviz code for clues didn't help much. I'd appreciate if someone more knowledgeable on the topic could shed some light, and help to confirm/debunk my hypotheses.

Tested in ros diamonback and electric, Ubuntu 10.04 with up-to-date NVidia drivers.

TIA


Originally posted by Adolfo Rodriguez T on ROS Answers with karma: 3907 on 2011-11-21

Post score: 2


Original comments

Comment by Adolfo Rodriguez T on 2012-06-19:
One hunch: What is the default lighting model in Rviz?. Is it directional lighting or are there no lights at all?. If lights are "off", it makes sense that normal maps are not taken into account, as there is no way to compute how light is reflected.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

This, and other Rviz rendering-related issues have been reported as tickets 5491, 5492, 5493.


Originally posted by Adolfo Rodriguez T with karma: 3907 on 2012-07-22

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.