Hello Jay, I've looked into it and it seems like the issue is that the Irrlicht visualizer and Chrono::Sensor samples the texture during rendering in opposite directions from the other. That's why you see the textures being flipped in Irrlicht and Chrono::Sensor. For the time being, you can avoid this issue simply by using a uniform texture, or if that's not possible you might have to just have to use the Chrono::Sensor output for any downstream task. The issue is only with textures, no geometry will be changed between the two visualizations. I understand this is inconvenient and we will be working on a fix for this in the near future. Thanks for bringing this to our attention. I hope this helps.
Best regards, Nevindu M. Batagoda On Wednesday, November 29, 2023 at 12:56:25 AM UTC-6 [email protected] wrote: > > Thank you very much for your reply. I'll give you a simple example where > the texture of the front view is opposite left and right, and the texture > of the back view is also opposite right and left. The texture image was > uploaded as an attachment. > 在2023年11月29日星期三 UTC+8 10:48:55<[email protected]> 写道: > >> >> Hello Jay, >> >> I see that you're viewing the third-person perspective using the Chrono >> Irrlicht visualizer. Can you set the pose of the ChCameraSensor to look at >> the world in a similar third-person perspective and see if it's seeing the >> same thing as the Irrlicht visualizer? Also, would it be possible to share >> any code for your simulation setup so we can see if the issue can be >> reproduced? >> >> Best, >> Nevindu M. Batagoda >> On Monday, November 27, 2023 at 1:47:05 AM UTC-6 [email protected] >> wrote: >> >>> Hello everyone, >>> I am using pychrono to install a camera sensor >>> (sens.ChCameraSensor) on the front of the wheel, during the use of the >>> process, I found that the front view is different from the God perspective, >>> the field of view in the camera, the left and right direction, etc., are >>> opposite. The wheelie rides on sandy ground, but the front view is a view >>> of the grass. Video link: (https://youtu.be/EptO_U5TnM4? >>> feature=shared), I don't know why. Looking forward to your reply! Thank you! >>> >>> Regard, >>> Jay >>> >> -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/80ee92e1-a672-4af8-9205-15845d9bf506n%40googlegroups.com.
