Hi Rainer,

Of course. I've attached an example for you. It's an adaption of one of 
your demos. I exchanged the ChVisualShapeSpring with my 
ChVisualShapeMuscle. 

Thanks,
Paul

[email protected] schrieb am Freitag, 10. Januar 2025 um 18:08:02 UTC+1:

> Hi Paul,
>
> can you provide us with the Irrlicht based code example.It would make it 
> easier for us to understand the problem.
>
> Best,
> Rainer
>
> [email protected] schrieb am Mittwoch, 8. Januar 2025 um 19:03:08 
> UTC+1:
>
>> Hi everyone,
>>
>> I've got a little problem with the VSG visualization system. I want to 
>> add a dynamic visualization similar to ChVisualShapeSpring but with 
>> ChVisualShapeSurface (NURBS). I created my own class inheriting from 
>> ChVisualShapeSurface and implemented the Update function. But if I add this 
>> shape now to a ChLink object, nothing shows, and when added to a body, the 
>> shape doesn't change. I also tested my code with Irrlicht to check if 
>> everything was updated and visualized correctly what was the case. 
>>
>> I tried to adjust the code in ChVisualSystemVSG.cpp but I can't make it 
>> work. 
>>
>> Can you maybe give me a hint on how and where I need to adjust the code 
>> so that surface shapes are also dynamically updated with VSG?
>>
>> I'm using the main branch.
>>
>> Best,
>> Paul
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/projectchrono/cf0e1106-6959-4e35-a51b-034843b0941bn%40googlegroups.com.

<<attachment: demo.zip>>

Reply via email to