| 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='3' name='Shape'/> |
| 6 | <meta name='title' content=' BasicPointSprites.x3d '/> |
| 7 | <meta name='description' content='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='creator' content='Vince Marchetti'/> |
| 9 | <meta name='created' content='1 May 2019'/> |
| 10 | <meta name='modified' content='5 December 2025'/> |
| 11 | <meta name='reference' content='https://www.web3d.org/x3dv4-implementations'/> |
| 12 | <meta name='specificationSection' content='X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 12 Shape component, 12.4.7 PointProperties'/> |
| 13 | <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/shape.html#PointProperties'/> |
| 14 | <meta name='requires' content='X3Dv4.0'/> |
| 15 | <meta name='rights' content='Copyright (c) Web3D Consortium Inc. 2006 to present'/> |
| 16 | <meta name='subject' content='PointProperties test'/> |
| 17 | <meta name='reference' content=' originals/basic_point_sprites.x3d '/> |
| 18 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 19 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSprites.x3d '/> |
| 20 | <meta name='license' content='../license.html'/> |
| 21 | </head> |
| 22 | <Scene> |
| 23 | <WorldInfo title='BasicPointSprites.x3d'/> |
| 24 | <Viewpoint description='Entry view'/> |
| 25 | <Transform translation='-2 0 0'> |
| 26 | <Viewpoint DEF='PointProperties1imagespritefar' description='left ball of spherical sprites, 10m distance'/> |
| 27 | <Viewpoint DEF='PointProperties1imagespritenear' description='left ball of spherical sprites, 5m distance' position='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.1' containerField='pointProperties' pointSizeMaxValue='100' pointSizeMinValue='5' pointSizeScaleFactor='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='PointCoordinates' 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'> |
| 36 | <!-- point array (102 tuples, 306 total floats) has open geometry with distinct endpoints --> |
| 37 | </Coordinate> |
| 38 | <Color DEF='PointColors' 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'/> |
| 39 | </PointSet> |
| 40 | </Shape> |
| 41 | </Transform> |
| 42 | <Transform translation='2 0 0'> |
| 43 | <!-- what do we want to show? --> |
| 44 | <Viewpoint DEF='PointProperties2far' description='right ball of spherical sprites, 10m distance'/> |
| 45 | <Viewpoint DEF='PointProperties2near' description='right ball of spherical sprites, 5m distance' position='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> |
<!--
Color-coding legend: X3D terminology
<X3dNode DEF='idName' field='value'/>
matches XML terminology
<XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->