![]() ![]() ![]() ![]() images created in Photoshop or Illustrator onto 3D models in Dimension. Then you should be able to view the Sketchfab object in your CONTENTdm site. Drag and drop a vector graphic or image onto a 3D model to see it in context. The demo uses the field “Source” to store the URL, with nickname “source.” You should replace the string “source” with nickname of your chosen metadata field in the JavaScript file in this line (2 occurrences):Ĭonst url = embedSketchfab.getUrl('source') Īnd of course replace the collection alias with the your designated collection alias: For the latter, you need to specify the nickname of the metadata field which contains the URL. We use the result of gl.getShaderPrecisionFormat to determine webgl shader user precision support, without valid return we cannot decide which precision to use, and using the lowest possible as default isn’t an option either, as it would mean degraded quality for user with capabilities that could give high quality. The URL will point to the 3D object hosted on (See example). Hi, sketchfab team member here, seems latest Brave release breaks WEBGL support. It will let you embed an external Sketchfab 3D object with the viewer into a CONTENTdm item page.įor this recipe to work, your item needs to be either a URL item, or a regular item contains a URL in a metadata field. This recipe is similar to Embed external video stream. Sketchfab is an excellent platform that lets you upload 3D models and also provides a nice viewing experience. View: View source code in CONTENTdm Cookbook Demo Site. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |