Home | Tutorials | Wiki | Issues
Ask Your Question
1

gazebo5 specular in material does not work !

asked 2016-12-23 08:48:41 -0500

Zheng yo chen gravatar image

updated 2016-12-23 08:51:04 -0500

this is my sdf file.

and I expect my ball would reflect blue specular light

but nothing happened,It just appears whole dark

what am I doing wrong??

thanks!

<model name='socket'>
    <pose> 0 0 0 0 0 0 </pose>
    <link name="link">
        <collision name="collision">
            <geometry>
                <sphere>
                    <radius>0.1</radius>
                </sphere>
            </geometry>
        </collision>
        <visual name="visual">
            <material>
                <ambient>0 0 0 1</ambient>
                <diffuse>0 0 0 1</diffuse>
                <specular>0 0 1 1</specular>
            </material>
            <geometry>
                <sphere>
                    <radius>0.1</radius>
                </sphere>
            </geometry>
        </visual>
    </link>
</model>

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-27 10:56:20 -0500

chapulina gravatar image

I don't think you're doing anything wrong, this seems to be a bug in Gazebo. I could reproduce the problem in gazebo7. Ticketed an issue for it:

https://bitbucket.org/osrf/gazebo/iss...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-12-23 08:48:41 -0500

Seen: 183 times

Last updated: Dec 27 '16