X3D Model Documentation: BasicPointSprites.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
  3  <X3D profile='Immersive' version='4.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
  4       <head>
  5            <component level='3name='Shape'/>
  6            <meta name='titlecontent=' BasicPointSprites.x3d '/>
  7            <meta name='descriptioncontent='PointProperties test case emulating spherical point sprites by displaying colored images of spheres. This model is suitable for X3Dv4 implementation comparisons and conformance.'/>
  8            <meta name='creatorcontent='Vince Marchetti'/>
  9            <meta name='createdcontent='1 May 2019'/>
 10            <meta name='modifiedcontent='5 December 2025'/>
 11            <meta name='referencecontent='https://www.web3d.org/x3dv4-implementations'/>
 12            <meta name='specificationSectioncontent='X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 12 Shape component, 12.4.7 PointProperties'/>
 13            <meta name='specificationUrlcontent='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#PointProperties'/>
 14            <meta name='requirescontent='X3Dv4.0'/>
 15            <meta name='rightscontent='Copyright (c) Web3D Consortium Inc. 2006 to present'/>
 16            <meta name='subjectcontent='PointProperties test'/>
 17            <meta name='referencecontent=' originals/basic_point_sprites.x3d '/>
 18            <meta name='generatorcontent='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 19            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSprites.x3d '/>
 20            <meta name='licensecontent='../license.html'/>
 21       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: PointColors, PointCoordinates, PointProperties1, PointProperties1imagespritefar, PointProperties1imagespritenear, PointProperties2far, PointProperties2near

Index for Viewpoint nodes: Viewpoint_1, PointProperties1imagespritefar, PointProperties1imagespritenear, PointProperties2far, PointProperties2near
-->
 22       <Scene>
 23            <WorldInfo title='BasicPointSprites.x3d'/>
 24            <Viewpoint description='Entry view'/>
 25            <Transform translation='-2 0 0'>
 26                 <Viewpoint DEF='PointProperties1imagespritefardescription='left ball of spherical sprites, 10m distance'/>
 27                 <Viewpoint DEF='PointProperties1imagespriteneardescription='left ball of spherical sprites, 5m distanceposition='0 0 5'/>
 28                 <Shape>
 29 
                    <!-- Appearance PointProperties1 is a DEF node that has 1 USE node: USE_1 -->
                    <Appearance DEF='PointProperties1'>
 30                           <PointProperties attenuation='1 0.01 0.1containerField='pointPropertiespointSizeMaxValue='100pointSizeMinValue='5pointSizeScaleFactor='100'/>
 31                           <!-- X3Dv3.3 ImageTexture has no effect on points, X3Dv4.0 each point is replaced by an image sprite -->
 32                           <ImageTexture   url=' "images/sphere.png " "https://www.web3d.org/x3d/content/examples/Basic/Points/images/sphere.png " '/>
 33                      </Appearance>
 34                      <PointSet>
 35                           <Coordinate DEF='PointCoordinatespoint='1 0 0 0.970142 0.242536 0 0.970142 0 0.242536 0.904534 0.301511 0.301511 0.83205 0 0.5547 0.666667 0.333333 0.666667 0.5547 0 0.83205 0.301511 0.301511 0.904534 0.242536 0 0.970142 0 0.242536 0.970142 0 0 1 0.83205 0.5547 0 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0 0.5547 0.83205 0.5547 0.83205 0 0.301511 0.904534 0.301511 0 0.83205 0.5547 0.242536 0.970142 0 0 0.970142 0.242536 0 1 0 -0.242536 0 0.970142 -0.301511 0.301511 0.904534 -0.5547 0 0.83205 -0.666667 0.333333 0.666667 -0.83205 0 0.5547 -0.904534 0.301511 0.301511 -0.970142 0 0.242536 -0.970142 0.242536 0 -1 0 0 -0.333333 0.666667 0.666667 -0.666667 0.666667 0.333333 -0.83205 0.5547 0 -0.301511 0.904534 0.301511 -0.5547 0.83205 0 -0.242536 0.970142 0 0 -0.242536 0.970142 0.301511 -0.301511 0.904534 0.666667 -0.333333 0.666667 0.904534 -0.301511 0.301511 0.970142 -0.242536 0 0 -0.5547 0.83205 0.333333 -0.666667 0.666667 0.666667 -0.666667 0.333333 0.83205 -0.5547 0 0 -0.83205 0.5547 0.301511 -0.904534 0.301511 0.5547 -0.83205 0 0 -0.970142 0.242536 0.242536 -0.970142 0 0 -1 0 -0.970142 -0.242536 0 -0.904534 -0.301511 0.301511 -0.666667 -0.333333 0.666667 -0.301511 -0.301511 0.904534 -0.83205 -0.5547 0 -0.666667 -0.666667 0.333333 -0.333333 -0.666667 0.666667 -0.5547 -0.83205 0 -0.301511 -0.904534 0.301511 -0.242536 -0.970142 0 0 0 -1 0 0.242536 -0.970142 0.242536 0 -0.970142 0.301511 0.301511 -0.904534 0.5547 0 -0.83205 0.666667 0.333333 -0.666667 0.83205 0 -0.5547 0.904534 0.301511 -0.301511 0.970142 0 -0.242536 0 0.5547 -0.83205 0.333333 0.666667 -0.666667 0.666667 0.666667 -0.333333 0 0.83205 -0.5547 0.301511 0.904534 -0.301511 0 0.970142 -0.242536 -0.970142 0 -0.242536 -0.904534 0.301511 -0.301511 -0.83205 0 -0.5547 -0.666667 0.333333 -0.666667 -0.5547 0 -0.83205 -0.301511 0.301511 -0.904534 -0.242536 0 -0.970142 -0.666667 0.666667 -0.333333 -0.333333 0.666667 -0.666667 -0.301511 0.904534 -0.301511 0.904534 -0.301511 -0.301511 0.666667 -0.333333 -0.666667 0.301511 -0.301511 -0.904534 0 -0.242536 -0.970142 0.666667 -0.666667 -0.333333 0.333333 -0.666667 -0.666667 0 -0.5547 -0.83205 0.301511 -0.904534 -0.301511 0 -0.83205 -0.5547 0 -0.970142 -0.242536 -0.301511 -0.301511 -0.904534 -0.666667 -0.333333 -0.666667 -0.904534 -0.301511 -0.301511 -0.333333 -0.666667 -0.666667 -0.666667 -0.666667 -0.333333 -0.301511 -0.904534 -0.301511'>
 36                                <!-- point array (102 tuples, 306 total floats) has open geometry with distinct endpoints -->
 37                           </Coordinate>
 38                           <Color DEF='PointColorscolor='1 0 0 0.970142 0.242536 0 0.970142 0 0.242536 0.904534 0.301511 0.301511 0.83205 0 0.5547 0.666667 0.333333 0.666667 0.5547 0 0.83205 0.301511 0.301511 0.904534 0.242536 0 0.970142 0 0.242536 0.970142 0 0 1 0.83205 0.5547 0 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0 0.5547 0.83205 0.5547 0.83205 0 0.301511 0.904534 0.301511 0 0.83205 0.5547 0.242536 0.970142 0 0 0.970142 0.242536 0 1 0 0.242536 0 0.970142 0.301511 0.301511 0.904534 0.5547 0 0.83205 0.666667 0.333333 0.666667 0.83205 0 0.5547 0.904534 0.301511 0.301511 0.970142 0 0.242536 0.970142 0.242536 0 1 0 0 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0.83205 0.5547 0 0.301511 0.904534 0.301511 0.5547 0.83205 0 0.242536 0.970142 0 0 0.242536 0.970142 0.301511 0.301511 0.904534 0.666667 0.333333 0.666667 0.904534 0.301511 0.301511 0.970142 0.242536 0 0 0.5547 0.83205 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0.83205 0.5547 0 0 0.83205 0.5547 0.301511 0.904534 0.301511 0.5547 0.83205 0 0 0.970142 0.242536 0.242536 0.970142 0 0 1 0 0.970142 0.242536 0 0.904534 0.301511 0.301511 0.666667 0.333333 0.666667 0.301511 0.301511 0.904534 0.83205 0.5547 0 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0.5547 0.83205 0 0.301511 0.904534 0.301511 0.242536 0.970142 0 0 0 1 0 0.242536 0.970142 0.242536 0 0.970142 0.301511 0.301511 0.904534 0.5547 0 0.83205 0.666667 0.333333 0.666667 0.83205 0 0.5547 0.904534 0.301511 0.301511 0.970142 0 0.242536 0 0.5547 0.83205 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0 0.83205 0.5547 0.301511 0.904534 0.301511 0 0.970142 0.242536 0.970142 0 0.242536 0.904534 0.301511 0.301511 0.83205 0 0.5547 0.666667 0.333333 0.666667 0.5547 0 0.83205 0.301511 0.301511 0.904534 0.242536 0 0.970142 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0.301511 0.904534 0.301511 0.904534 0.301511 0.301511 0.666667 0.333333 0.666667 0.301511 0.301511 0.904534 0 0.242536 0.970142 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0 0.5547 0.83205 0.301511 0.904534 0.301511 0 0.83205 0.5547 0 0.970142 0.242536 0.301511 0.301511 0.904534 0.666667 0.333333 0.666667 0.904534 0.301511 0.301511 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0.301511 0.904534 0.301511'/>
 39                      </PointSet>
 40                 </Shape>
 41            </Transform>
 42            <Transform translation='2 0 0'>
 43                 <!-- what do we want to show? -->
 44                 <Viewpoint DEF='PointProperties2fardescription='right ball of spherical sprites, 10m distance'/>
 45                 <Viewpoint DEF='PointProperties2neardescription='right ball of spherical sprites, 5m distanceposition='0 0 5'/>
 46                 <Shape>
 47                      <PointSet>
 48                           <Coordinate point='1 0 0 0.970142 0.242536 0 0.970142 0 0.242536 0.904534 0.301511 0.301511 0.83205 0 0.5547 0.666667 0.333333 0.666667 0.5547 0 0.83205 0.301511 0.301511 0.904534 0.242536 0 0.970142 0 0.242536 0.970142 0 0 1 0.83205 0.5547 0 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0 0.5547 0.83205 0.5547 0.83205 0 0.301511 0.904534 0.301511 0 0.83205 0.5547 0.242536 0.970142 0 0 0.970142 0.242536 0 1 0 -0.242536 0 0.970142 -0.301511 0.301511 0.904534 -0.5547 0 0.83205 -0.666667 0.333333 0.666667 -0.83205 0 0.5547 -0.904534 0.301511 0.301511 -0.970142 0 0.242536 -0.970142 0.242536 0 -1 0 0 -0.333333 0.666667 0.666667 -0.666667 0.666667 0.333333 -0.83205 0.5547 0 -0.301511 0.904534 0.301511 -0.5547 0.83205 0 -0.242536 0.970142 0 0 -0.242536 0.970142 0.301511 -0.301511 0.904534 0.666667 -0.333333 0.666667 0.904534 -0.301511 0.301511 0.970142 -0.242536 0 0 -0.5547 0.83205 0.333333 -0.666667 0.666667 0.666667 -0.666667 0.333333 0.83205 -0.5547 0 0 -0.83205 0.5547 0.301511 -0.904534 0.301511 0.5547 -0.83205 0 0 -0.970142 0.242536 0.242536 -0.970142 0 0 -1 0 -0.970142 -0.242536 0 -0.904534 -0.301511 0.301511 -0.666667 -0.333333 0.666667 -0.301511 -0.301511 0.904534 -0.83205 -0.5547 0 -0.666667 -0.666667 0.333333 -0.333333 -0.666667 0.666667 -0.5547 -0.83205 0 -0.301511 -0.904534 0.301511 -0.242536 -0.970142 0 0 0 -1 0 0.242536 -0.970142 0.242536 0 -0.970142 0.301511 0.301511 -0.904534 0.5547 0 -0.83205 0.666667 0.333333 -0.666667 0.83205 0 -0.5547 0.904534 0.301511 -0.301511 0.970142 0 -0.242536 0 0.5547 -0.83205 0.333333 0.666667 -0.666667 0.666667 0.666667 -0.333333 0 0.83205 -0.5547 0.301511 0.904534 -0.301511 0 0.970142 -0.242536 -0.970142 0 -0.242536 -0.904534 0.301511 -0.301511 -0.83205 0 -0.5547 -0.666667 0.333333 -0.666667 -0.5547 0 -0.83205 -0.301511 0.301511 -0.904534 -0.242536 0 -0.970142 -0.666667 0.666667 -0.333333 -0.333333 0.666667 -0.666667 -0.301511 0.904534 -0.301511 0.904534 -0.301511 -0.301511 0.666667 -0.333333 -0.666667 0.301511 -0.301511 -0.904534 0 -0.242536 -0.970142 0.666667 -0.666667 -0.333333 0.333333 -0.666667 -0.666667 0 -0.5547 -0.83205 0.301511 -0.904534 -0.301511 0 -0.83205 -0.5547 0 -0.970142 -0.242536 -0.301511 -0.301511 -0.904534 -0.666667 -0.333333 -0.666667 -0.904534 -0.301511 -0.301511 -0.333333 -0.666667 -0.666667 -0.666667 -0.666667 -0.333333 -0.301511 -0.904534 -0.301511'/>
 49                           <Color color='1 0 0 0.970142 0.242536 0 0.970142 0 0.242536 0.904534 0.301511 0.301511 0.83205 0 0.5547 0.666667 0.333333 0.666667 0.5547 0 0.83205 0.301511 0.301511 0.904534 0.242536 0 0.970142 0 0.242536 0.970142 0 0 1 0.83205 0.5547 0 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0 0.5547 0.83205 0.5547 0.83205 0 0.301511 0.904534 0.301511 0 0.83205 0.5547 0.242536 0.970142 0 0 0.970142 0.242536 0 1 0 0.242536 0 0.970142 0.301511 0.301511 0.904534 0.5547 0 0.83205 0.666667 0.333333 0.666667 0.83205 0 0.5547 0.904534 0.301511 0.301511 0.970142 0 0.242536 0.970142 0.242536 0 1 0 0 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0.83205 0.5547 0 0.301511 0.904534 0.301511 0.5547 0.83205 0 0.242536 0.970142 0 0 0.242536 0.970142 0.301511 0.301511 0.904534 0.666667 0.333333 0.666667 0.904534 0.301511 0.301511 0.970142 0.242536 0 0 0.5547 0.83205 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0.83205 0.5547 0 0 0.83205 0.5547 0.301511 0.904534 0.301511 0.5547 0.83205 0 0 0.970142 0.242536 0.242536 0.970142 0 0 1 0 0.970142 0.242536 0 0.904534 0.301511 0.301511 0.666667 0.333333 0.666667 0.301511 0.301511 0.904534 0.83205 0.5547 0 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0.5547 0.83205 0 0.301511 0.904534 0.301511 0.242536 0.970142 0 0 0 1 0 0.242536 0.970142 0.242536 0 0.970142 0.301511 0.301511 0.904534 0.5547 0 0.83205 0.666667 0.333333 0.666667 0.83205 0 0.5547 0.904534 0.301511 0.301511 0.970142 0 0.242536 0 0.5547 0.83205 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0 0.83205 0.5547 0.301511 0.904534 0.301511 0 0.970142 0.242536 0.970142 0 0.242536 0.904534 0.301511 0.301511 0.83205 0 0.5547 0.666667 0.333333 0.666667 0.5547 0 0.83205 0.301511 0.301511 0.904534 0.242536 0 0.970142 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0.301511 0.904534 0.301511 0.904534 0.301511 0.301511 0.666667 0.333333 0.666667 0.301511 0.301511 0.904534 0 0.242536 0.970142 0.666667 0.666667 0.333333 0.333333 0.666667 0.666667 0 0.5547 0.83205 0.301511 0.904534 0.301511 0 0.83205 0.5547 0 0.970142 0.242536 0.301511 0.301511 0.904534 0.666667 0.333333 0.666667 0.904534 0.301511 0.301511 0.333333 0.666667 0.666667 0.666667 0.666667 0.333333 0.301511 0.904534 0.301511'/>
 50                      </PointSet>
 51                      <Appearance USE='PointProperties1'/>
 52                 </Shape>
 53            </Transform>
 54       </Scene>
 55  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: PointColors, PointCoordinates, PointProperties1, PointProperties1imagespritefar, PointProperties1imagespritenear, PointProperties2far, PointProperties2near

Index for Viewpoint nodes: Viewpoint_1, PointProperties1imagespritefar, PointProperties1imagespritenear, PointProperties2far, PointProperties2near
-->
X3D Tooltips element index: Appearance, Color, component, Coordinate, head, ImageTexture, meta, PointProperties, PointSet, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSpritesIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSprites.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode DEF='idNamefield='value'/> matches XML terminology <XmlElement DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->