Gazebo | Ignition | Community
Ask Your Question

D4KU's profile - activity

2021-06-21 02:18:28 -0600 received badge  Nice Question (source)
2019-07-09 11:49:04 -0600 received badge  Student (source)
2019-04-26 15:32:58 -0600 received badge  Famous Question (source)
2019-04-26 15:32:58 -0600 received badge  Notable Question (source)
2018-12-20 11:34:20 -0600 marked best answer Apply normal map shader

I noticed in the SDF specification one can add a <shader> tag with type normal_map_tangentspace to a <material> tag. But when I try to load my world file in gazebo 9 (also tried it in 7), the last output I get in the console is waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting.... It will wait forever.

I also made sure that the gazebo_model_path is set up correctly in my package.xml, so the texture file specified in the <normal_map> child tag should get found. It works at least for meshes and material scripts. Here is a snippet from my world file:

    <model name="model">
        <link name="link">               
            <visual name="visual">
                <geometry>
                    <mesh>
                        <uri>model://mesh.dae</uri>
                    </mesh>
                </geometry>
                <material>
                    <shader type="normal_map_tangentspace">
                        <normal_map>model://materials/textures/Normal.png</normal_map>
                    </shader>
                    <script>
                        <uri>model://materials/scripts</uri>
                        <name>Material</name>
                    </script>
                </material>
            </visual>
        </link>
    </model>

Does anyone have experience with this and knows what I'm missing?

Thanks in advance, David

2018-12-20 11:34:20 -0600 received badge  Scholar (source)
2018-12-20 11:33:50 -0600 answered a question Apply normal map shader

I figured it out. I copied 'normal_map_tangentspace' from the SDF specification, but it's a typo. It must say 'normal_ma

2018-12-19 08:27:25 -0600 received badge  Popular Question (source)
2018-12-18 01:49:10 -0600 received badge  Enthusiast
2018-12-17 13:17:10 -0600 edited question How to load a Visual Plugin only on server or client?

How to load a Visual Plugin only on server or client? Hi, I noticed that Visual Plugins are actually loaded twice, once

2018-12-17 13:12:56 -0600 received badge  Editor (source)
2018-12-17 13:12:56 -0600 edited question How to load a Visual Plugin only on server or client?

How to load a Visual Plugin only on server or client? Hi, I noticed that Visual Plugins are actually loaded twice, once

2018-12-17 13:12:35 -0600 asked a question How to load a Visual Plugin only on server or client?

How to load a Visual Plugin only on server or client? Hi, I have notices that Visual Plugins are actually loaded twice,

2018-12-11 13:04:33 -0600 received badge  Famous Question (source)
2018-12-11 13:04:33 -0600 received badge  Notable Question (source)
2018-10-24 02:27:51 -0600 received badge  Popular Question (source)
2018-10-22 07:59:07 -0600 commented question Apply normal map shader

I'm pretty confident that the path is correct. I've tested it by using it in the mesh uri as well. The mesh got found af

2018-10-18 12:36:07 -0600 asked a question Apply normal map shader

Apply normal map shader I noticed in the SDF specification one can add a <shader> tag with type normal_map_tangent