Good morning,
I am having an issue with the chassis visualization. When I run the demos in the demos/vehicle/wheeled_models/ folder, the chassis is not displayed. However, I have checked the /data/vehicle/hmmwv folder, and the required files like hmmwv_chassis.mtl, hmmwv_chassis.obj, and hmmwv_chassis_col.obj are present.
What's particularly strange is that the demo_VSG_vehicles script in the demos/vsg folder renders the vehicle chassis for the HMMWV, sedan, etc., perfectly. However, when I try to create and display a HMMWV_Full object in my own program, either the chassis fails to render entirely, or, even worse, it appears distorted or deformed.
I know the chassis is being used by the physics engine, because in the demos/vehicle/wheeled_models/rollover demo, the chassis correctly collides with the ground when the HMMWV flips. It just doesn't appear visually.
Do you have any idea how to solve this issue?
Thank you for your help! 😊
Sorry for the late reply.
Could you please pull the latest code from the main branch of the Chrono git repository and try again?
These visualization issues should be now resolved.
--Radu
From: projec...@googlegroups.com <projec...@googlegroups.com>
On Behalf Of juju
Sent: Tuesday, August 26, 2025 4:53 PM
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] Vehicle Chassis No Visualisation
Good morning,
I am having an issue with the chassis visualization. When I run the demos in the demos/vehicle/wheeled_models/ folder, the chassis is not displayed. However, I have checked the /data/vehicle/hmmwv folder, and the required files like hmmwv_chassis.mtl, hmmwv_chassis.obj, and hmmwv_chassis_col.obj are present.
What's particularly strange is that the demo_VSG_vehicles script in the demos/vsg folder renders the vehicle chassis for the HMMWV, sedan, etc., perfectly. However, when I try to create and display a HMMWV_Full object in my own program, either the chassis fails to render entirely, or, even worse, it appears distorted or deformed.
I know the chassis is being used by the physics engine, because in the demos/vehicle/wheeled_models/rollover demo, the chassis correctly collides with the ground when the HMMWV flips. It just doesn't appear visually.
Do you have any idea how to solve this issue?
Thank you for your help! 😊
--
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
projectchron...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/projectchrono/728e1d85-70e3-43a9-94cf-d52f5392d08fn%40googlegroups.com.
Hello Radu Serban,
Thank you for your reply.
I'm encountering an issue where the vehicle chassis renders correctly in Irrlicht and VSG, but it is not visible in the images generated by the camera sensor module.
As you can see in the attached image (sensor_viz_issue.png), the HMMWV chassis is visible in the Irrlicht window but absent from the camera's output.
Interestingly, when I run the demo_SEN_camera.cpp example, the Audi chassis is rendered correctly by the camera. In that demo, the chassis is loaded directly as a mesh from an .obj file using ChTriangleMeshConnected::CreateFromWavefrontFile, rather than being part of the full Audi vehicle class.
Do you have any idea what might be causing this discrepancy or how to solve it?
Thank you for your help 😊I pushed a fix for the Chrono::Sensor camera mesh visualization issue.
Please build the latest code in the ‘main’ branch and let me know if that resolves your problem.
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/e4247c51-beaa-4572-9de8-660ba0153723n%40googlegroups.com.