How to display irricht background

27 views
Skip to first unread message

aloha....@gmail.com

unread,
May 21, 2023, 1:05:56 AM5/21/23
to ProjectChrono
Dear chrono members,

I updated Chrono version from 5.0 to 8.0.
After the update, the irricht background (Skybox) is not displayed.
(Of course it was displayed in 5.0.)

When I run the chrono demo(demo_VEH_SteeringController)、the background is displayed correctly. demo_VEH_SteeringController.bmp), ↑demo_VEH_SteeringController

my_project.png
↑my project

I checked the path of Skybox(Function:AddSkyBox)
If anyone knows the cause, could you please let me know?

Best regards, 
Nomoto

Radu Serban

unread,
May 23, 2023, 4:13:18 PM5/23/23
to ProjectChrono

Hi Nomoto,

 

Did you add a call to SetChronoDataPath like it’s illustrated in the template_project example distributed with Chrono?

 

--Radu

 

From: projec...@googlegroups.com <projec...@googlegroups.com> On Behalf Of aloha....@gmail.com
Sent: Sunday, May 21, 2023 7:06 AM
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] How to display irricht background

 

Dear chrono members,

 

I updated Chrono version from 5.0 to 8.0.

After the update, the irricht background (Skybox) is not displayed.

(Of course it was displayed in 5.0.)

 

When I run the chrono demo(demo_VEH_SteeringController)the background is displayed correctly. ), ↑demo_VEH_SteeringController

 

↑my project

 

I checked the path of Skybox(Function:AddSkyBox)

If anyone knows the cause, could you please let me know?

 

Best regards, 

Nomoto

 

--
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 on the web visit https://groups.google.com/d/msgid/projectchrono/126b60c0-fb61-43ac-bf6d-0cdd92799d0en%40googlegroups.com.

aloha....@gmail.com

unread,
May 30, 2023, 8:01:22 PM5/30/23
to ProjectChrono
Hi  Radu

Thank you for your advice.
I checked my source code.

In my code,  I call function "chrono::SetChronoDataPath(CHRONO_DATA_DIR)", and when I checked with function "GetLog() << GetChronoDataFile("skybox/") << "\n";", the path was also set.

SetChronoDataPath.png
↑SetChronoDataPath (in setup_system)

CheckChronofatafile.png
chech Path before AddSkyBox(irricht function)

Best regards,

Nomoto
2023年5月24日水曜日 5:13:18 UTC+9 Radu Serban:
Reply all
Reply to author
Forward
0 new messages