Skip to content

Color tinting for mesh markers - #752

Merged
wjwwood merged 1 commit into
ros-visualization:hydro-develfrom
jbrindza:hydro-devel
Apr 30, 2014
Merged

wjwwood merged 1 commit into
ros-visualization:hydro-develfrom
jbrindza:hydro-devel

Conversation

@jbrindza

Copy link
Copy Markdown
Contributor

Fix bug where marker message color was overriding material color.
Allow color tinting for texture mapped material and non-texture mapped.

Shows color tinting for textured mesh and untextured for (0,0,0,0), (1,0,0,0.5) and (0,0,1,0.5) marker colors:
screenshot from 2014-04-28 19 30 26

to allow applying a color tint to the mesh
@wjwwood

wjwwood commented Apr 29, 2014

Copy link
Copy Markdown
Member

Thanks for this, I'm assuming this is supposed to be a fix for #751?

@jbrindza

Copy link
Copy Markdown
Contributor Author

Yes

@wjwwood

wjwwood commented Apr 29, 2014

Copy link
Copy Markdown
Member

Can you provide the script which you used to produce the image above?

@jbrindza

Copy link
Copy Markdown
Contributor Author

You can check out the example package here: https://github.com/brindza/rviz_collada_marker

roslaunch rviz_collada_marker test.launch

@wjwwood

wjwwood commented Apr 29, 2014

Copy link
Copy Markdown
Member

Thanks, I'll give it a whirl.

@wjwwood

wjwwood commented Apr 30, 2014

Copy link
Copy Markdown
Member

This seems to work fine for me.

@garaemon @hersh if you guys don't see anything wrong with this pull request I would propose merging it.

@garaemon

Copy link
Copy Markdown
Contributor

It works fine for me too!

@wjwwood

wjwwood commented Apr 30, 2014

Copy link
Copy Markdown
Member

@hersh, It looks like this pull request addresses @garaemon's original problem as well as allows for tinted meshes, so I'm going to go ahead and merge this. If you find something wrong with it later, please comment here.

wjwwood added a commit that referenced this pull request Apr 30, 2014
Color tinting for mesh markers
@wjwwood
wjwwood merged commit 254c1f5 into ros-visualization:hydro-devel Apr 30, 2014
@hersh

hersh commented Apr 30, 2014

Copy link
Copy Markdown
Contributor

+1. :)

@ellislm ellislm mentioned this pull request Jun 4, 2015
xbroquere added a commit to xbroquere/rviz that referenced this pull request Jul 18, 2019
…w everything as white

Re-integrate patch from ros-visualization#752 Color tinting for mesh markers

Signed-off-by: Xavier BROQUERE <[email protected]>
DLu pushed a commit to DLu/rviz that referenced this pull request Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants