Expand my Community achievements bar.

Issue displaying GLB 3D asset in browser from Dynamic Media Classic URL

Avatar

Level 4

I was able to publish a GLB asset (Pizza-3-Slice.glb) from AEM to Dynamic Media Classic. The asset shows as publish complete in AEM, confirming successful publishing to Dynamic Media Classic.

However, I noticed the following issues:

  1. GLB not viewable in Dynamic Media Classic UI
    It seems that GLB file types are not rendered or previewed directly in Dynamic Media Classic.

  2. URL behavior differences

It appears that Dynamic Media Classic serves the .glb file as a downloadable binary, not with the correct Content-Type (model/gltf-binary) required for browser-based 3D rendering.


Request / Input Needed

Any guidance on how to properly render GLB 3D assets from Dynamic Media Classic URLs in the browser would be greatly appreciated.

 

Thank you,
Srinivas

5 Replies

Avatar

Community Advisor and Adobe Champion

I would recommend to raise a support ticket, however I suspect that GLB and other 3D formats are not officially supported for delivery with Dynamic Media Classic. 

 

If you have your own CDN layer infront of AEM DAM you may be better to simply expose these types of files directly as DM would only be handling the CDN delivery and not doing any optimisation anyway for these types of binary files.

 

In AEM Cloud they are listed as supported for Dynamic Media, but not on the Dynamic Media Classic:

 

Cloud 3D formats: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/file-form...

Classic file types: https://experienceleague.adobe.com/en/docs/dynamic-media-classic/using/upload-publish/uploading-file...

 

Avatar

Level 4

Thanks for the input . 

 

I noticed that I can view the 3D image on browser using on https://s7.scene7.com/s7viewers/html5/DimensionalViewer.html?asset=content/dam/Pizza-3-Slice.glb

This i came to know by clicking the below on the asset 

 

Srinivas_Opti_0-1761845847494.png

 

 

 

But I want to know where is the actual code for this URL and Embed buttons are available as I need to customize the url to show from https://s7.scene7.com  to https://abc.com

 

Any inputs where i can find the code for this buttons , will be helpful

 

Regards,

Srinivas

Avatar

Employee Advisor

Hello @Srinivas_Opti ,

 

You’re right , the GLB asset is successfully published, but Dynamic Media Classic doesn’t natively support previewing or rendering 3D file formats like .glb in its UI. That’s why it shows as published but isn’t viewable there.

The URL behavior also makes sense , the is/image endpoint expects an image, so it fails to display, while the is/content endpoint just serves the raw file as a download without the correct MIME type (model/gltf-binary).

If you want to render it in the browser, you’ll need to host the GLB file on a server that serves it with the right content type and use a 3D viewer library like Three.js or model-viewer to display it. Dynamic Media Classic isn’t optimized for 3D web delivery , Dynamic Media Scene7 (or Assets as a Cloud Service with 3D support) would be better suited for that.

Avatar

Level 4

Thanks for the input . 

 

I noticed that I can view the 3D image on browser using on https://s7.scene7.com/s7viewers/html5/DimensionalViewer.html?asset=content/dam/Pizza-3-Slice.glb

This i came to know by clicking the below on the asset 

 

Srinivas_Opti_0-1761845695780.png

 

 

But I want to know where is the actual code for this URL and Embed buttons are available as I need to customize the url to show from https://s7.scene7.com  to https://abc.com

 

Any inputs where i can find the code for this buttons , will be helpful

 

Regards,

Srinivas

 

 

Avatar

Level 3

Hi Srinivas,

In the current scenario, a quick solution would be to fetch the 3D image using JS just like making an ajax call and once the response is received in the JS, you could create a blob object with required mime-type and add the URL to the corresponding src attribute to display the image.