ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

RVIZ rendering of overlapping objects

asked 2017-12-05 06:22:21 -0500

Laxnpander gravatar image

Hey there,

I have two (most likely) trivial questions about RVIZ but don't know what to search for.

1) How does RVIZ (or OpenGL?) act on objects, that are covered by others. Will this cost me performance? Let's say I have two very similiar, overlapping pointclouds, will double points be rendered twice, or recognize that? 2) Is there a possibility to downsample large pointclouds -only- during rotation/zoom/tilt? I know that from other tools and I am curious if there are any options in ROS/RVIZ?

Thanks for the info and best regards,

Alex

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-12-06 06:28:55 -0500

RVIZ uses the Ogre rendering engine to display the 3D scene. It uses Z-buffering to correctly draw occluded objects, so every object is drawn whether it eventually ends up on the screen or not, so having two identical point clouds for example will take twice as longer to render since each point (a square billboard by default) is being rendered twice.

I've not seen any options to down sample point clouds in RVIZ during UI interactions as some viewers do. If you're working with really large point clouds and it's getting un-manageable then you could down sample them yourself and broadcast both the full and reduced clouds. This is a bit of a cludge but you could switch between them in RVIZ if the interface starts running too slow to use.

edit flag offensive delete link more

Comments

There are ways to downsample clouds, for example by means of a voxel grid filter. See http://wiki.ros.org/voxel_grid

Hendrik Wiese gravatar image Hendrik Wiese  ( 2018-01-23 01:45:35 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-12-05 06:22:21 -0500

Seen: 608 times

Last updated: Dec 06 '17