-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urdf load with materials #965
Comments
Note that the example expects DART version 7.0, which is currently only available by compiling the master branch from source (as far as I know). Setting the mesh color mode to When I run your code using There are three places where the material color might be getting lost:
It's difficult to guess which of those it might be. The best course of action would probably be whittling down the possible causes. If there is another application somewhere that can load and display a We could try loading the model in the older OpenGL If both of those work, then we'll have narrowed it down to an issue in
Could you let us know what platform you're running on? Using Ubuntu 16.04, I had no problem using the scroll wheel to zoom in and out in the OSG window that your example produces. |
Thanks for the reply. For zoom, I am currently using Mac OS Sierra. |
Currently, none of OpenGL and OSG renderers of DART load texture images (only texture coordinates are parsed by the OSG renderer). I think we need to have something like this to load texture images. I confirmed this works. Please note that there are several holes on the pelvis mesh, which are loaded from Let me submit a PR for this within a couple of days. |
I appreciate it :) |
I've made some progress on this. Here is an Valkyrie example with texture images: A PR will be created for this soon. Edit: #973 |
Wow, it's awesome :). Thank you so much. |
I believe this is addressed by #973. |
Hello,
I am trying to import valkyrie model from urdf with materials.
I follow the tutorial and have a setcolormode for each body node if it has one.
However, I could only see the gray or blue robot depends on color mode.
It seems like it doesn't find the material even though correct path is written in 'dae' file.
To make it easy I made a repository with urdf and models.
mkdir build && cd build
cmake ..
build -j
./valkyrie
Plus, is there any way to zoom in and out in osg? The instruction says scroll the wheel but it does not work.
I apologize for the messy description and always thanks for your effort.
The text was updated successfully, but these errors were encountered: