-
Notifications
You must be signed in to change notification settings - Fork 486
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
DRC Terrain texture warps when gazebo camera viewpoint changes #242
Comments
Original comment by Stefan Kohlbrecher (Bitbucket: Stefan_Kohlbrecher).
Here's the result of stereo_image_proc with DRCSim 1.1.0. As visible, the points for the Turtlebot and Pioneer are at a reasonable distance, while the heightmap terrain points are completely wrong. I strongly suspect that this is related to the strange shader applied to the terrain. |
Original comment by Thomas Koletschka (Bitbucket: thomasko). Well that's what you would expect, right? The weird shift in the heightmap shader increases the parallax and hence it looks like it's farther away - not just to the human eye. ;) Just use a simple plane or other mesh with texture attached to it until it's fixed. |
Original comment by Stefan Kohlbrecher (Bitbucket: Stefan_Kohlbrecher).
Yes, it's expected, just wanted to provide confirmation. Attached is a screenshot of a custom environment. As expected, stereo works there (ignoring the replacement texture bug (issue #239) for now). |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
Fixed in pull request #156 |
Original comment by Thomas Koletschka (Bitbucket: thomasko). This does not seem to be fixed actually. Using the current gazebo 1.3.0 and drcsim 1.1.0 release you still get very bad distortions: http://youtu.be/n7sWSQ_eyD0 Using the corresponding pull request for drcsim which changes the normal map for the terrain to a flat one also doesn't fix the problem but rather avoids (most of) the symptoms. However even with the flat normal map the terrain still has a more or less small offset in z just that it's constant. |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).
The original report had attachments: drc1.1_heightmap_stereo_bug.jpg, drc1.1_heightmap_stereo_working_custom_env.jpg
from drcsim #23
The text was updated successfully, but these errors were encountered: