Skip to main content
14-Alexandrite
December 11, 2018
Question

How to display GLTF 3D model in ThingWorx 8.2?

  • December 11, 2018
  • 5 replies
  • 2456 views

Hello,

 

Im using ThingWorx 8.2 version and the requirement is to display obj & gltf 3D model in a mashup. I downloaded three model viewer from PTC market place which helps me to display obj format but it is not supporting gltf format.

 

Please help me how to display GLTF 3D model? Thanks!

5 replies

5-Regular Member
December 11, 2018

@Prem-IKEA Is there any error message you are getting in logs or UI while using GLTF files ?

 

-Durgesh

Prem-IKEA14-AlexandriteAuthor
14-Alexandrite
December 11, 2018

No messages in logs or errors. I have included the screenshots and piece of code used to display GLTF 3D model in ThingView Widget.

 

3D model files are placed in system repository and loaded via service.please find the screenshots for reference.

OBJ 3D models are displayed via threemodelviewer which is downloaded from PTC market place. This extension is not supporting GLTF thats why trying to load GLTF in ThingView widget. I have sample GLTF file used for this example with reply. Please help.

 

 

mashupruntime.pngThreeModelViewer.pngThingView.pngservice.png