Table of Contents Previous Directory Summary Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Summary X3D Resources

X3D Example Archives: X3D4AM, X3D for Advanced Modeling, Gltf Sample Models

This chapter offers conversions from glTF Sample Models (2.0) into X3D version 4 by showing full support for Physically Based Rendering and Non-Photorealistic Rendering (NPR) capabilities.

Precise representation details are found in the Shape component, Lighting component and Inline node.

The open-source viewer view3dscene includes support for Converting to X3D as part of the Castle Game Engine project.

Additional references of interest:

  13 X3D Models       X3D Model Descriptions
Alpha Blend Mode Test Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 — Networking component support levels This model tests the various alpha modes available in glTF 2.0 rendering. There are three settings for alphaMode: "OPAQUE" (the default), "BLEND", and "MASK". Of these, "MASK" takes an additional alphaCutoff value that modifies it.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 — Networking component support levels
Alpha Blend Mode Test Inline Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 - Networking component support levels This scene tests Inline loading of a glTF model. The original model tests the various alpha modes available in glTF 2.0 rendering. There are three settings for alphaMode: "OPAQUE" (the default), "BLEND", and "MASK". Of these, "MASK" takes an additional alphaCutoff value that modifies it.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 - Networking component support levels
Antique Camera Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels Old camera model.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Attenuation Test Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels This model tests interactions between attenuation color, attenuation distance, and thickness in the KHR_materials_volume extension.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Damaged Helmet Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels Battle Damaged Sci-fi Helmet. The original model was built on an early draft of glTF 2.0 that did not become final. This new model has been imported and re-exported from Blender to bring it into alignment with the final release glTF 2.0 specification.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Dragon Attenuation Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels This model demonstrates the use of the KHR_materials_transmission and KHR_materials_volume extensions to specify an object that appears to be made from colored glass.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Glam Velvet Sofa Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels This model represents a real product, a velvet sofa bed being sold on the Wayfair website. The model is made of three parts, each with their own materials. Two 1024x1024 PNG textures are used for the whole model, an ambient occlusion map and a normal bump map. All UVs are arranged between 0 and 1, and KHR_texture_transform is used to repeat the normal map for the fabric.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Lantern Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels Lantern model

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Suzanne Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels Logo 3D model used by Blender.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Toy Car Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels his model demonstrates the usage of KHR_materials_sheen, KHR_materials_transmission and KHR_materials_clearcoat. This model also includes eight sample cameras, featuring different angles on the car and its materials. In software packages that represent camera locations with 3D markers, it may be beneficial to reduce the size of these markers, as marker size is not specified in glTF.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Transmission Test Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels This model demonstrates the usage of the KHR_materials_transmission. The grid of spheres demonstrate different combinations of uniform transmission and textured transmission and how they should render in conjunction with opacity (baseColor.a) and surface roughness/metalicity.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Two Cylinder Engine Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels Data conversion from original JT to COLLADA.

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels
Water Bottle Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels glTF 2 Physically Based Rendered WaterBottle example

Specification reference: X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 9 Networking component, Table 9.3 � Networking component support levels

Online at https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels

Validate XHTML 1.1

Master source-code model archive is under subversion control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.

Table of Contents Previous Directory Summary Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Summary X3D Resources