[x3d-public] [x3dom-users] PointProperties in X_ITE

John Carlson yottzumm at gmail.com
Sat Dec 6 19:06:17 PST 2025


Thanks for excellent points, Don.

I hope to have some excellent examples based on Aaron's .ply gaussian
splats soon, but one problem seems to be that there's no explicit color
names in those examples, except for opacity (I am currently only handling
coordinates, and they don't look right).  If anyone wants to map these
properties to PointSets or PointProperties, that would be great!  I do see
from:  Anatomy of a PLY file | Blurry Blog
<https://www.useblurry.com/blog/anatomy-of-a-ply-file> that f_dc_0 ...
f_dc_2, opacity map to RGBA, so I'll be moving to decode those colors.  I
have code which is set up for X,Y,Z and RGB which currently reads nx, ny,
nz (normals? not documented on link).  Any additional mapping to PointSets
and PointProperties are welcome, I think that point normals were discussed
some time ago on the list.

This work will be done in my X3DJSONLD depot, because that's where my PLY
to JSON (and DOM) code currently is.  I'm developing a binary .ply reader,
mostly for point sets.  Other binary .ply examples are welcome.

property float x
property float y
property float z
property float nx
property float ny
property float nz
property float f_dc_0
property float f_dc_1
property float f_dc_2
property float opacity
property float scale_0
property float scale_1
property float scale_2
property float rot_0
property float rot_1
property float rot_2
property float rot_3

On Fri, Dec 5, 2025 at 6:19 PM Don Brutzman <don.brutzman at gmail.com> wrote:

> Thanks for looking at this example, which was one of three that needed a
> little updating.
>
>    - X3D Example Archives: Basic, Points
>    - This directory demonstrates point-based rendering using PointSet and
>    PointProperties. Such techniques are an important option for rendering
>    scans and point clouds.
>    - https://www.web3d.org/x3d/content/examples/Basic/Points/
>
> It is not clear that PointProperties is well supported by many browsers.
>
> Nevertheless PointProperties does have excellent support, as the following
> composite-screenshot image showing 9 separate players demonstrates.
>
>    - X3D Example Archives: Basic, Points, Archimedes Point Properties
>    - PointSet rendering of 3D scan with color applied per vertex,
>    renderable with PointProperties settings
>    -
>    https://www.web3d.org/x3d/content/examples/Basic/Points/ArchimedesPointPropertiesIndex.html
>
>
>    - ArchimedesPointProperties X3d Players Comparison
>    -
>    https://www.web3d.org/x3d/content/examples/Basic/Points/ArchimedesPointPropertiesX3dPlayersComparison.png
>
> Author Vince Marchetti also provided the following interesting example,
> which emulates a spherical shape for points as sprites, using a 2D image
> showing a simple rendered sphere.  Cool hack!
>
>    - X3D Example Archives: Basic, Points, Basic Point Sprites
>    - PointProperties test case emulating spherical point sprites by
>    displaying colored images of spheres. This model is suitable for X3Dv4
>    implementation comparisons and conformance.
>    -
>    https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSpritesIndex.html
>
> It is easy to think of a few more examples that might be added...
> especially perhaps showing PointProperties effect present versus
> missing, side by side.  Contributions welcome.
>
> all the best, Don
> --
> X3D Graphics, Maritime Robotics, Distributed Simulation
> Relative Motion Consulting  https://RelativeMotion.info
>
>
> On Thu, Dec 4, 2025 at 8:46 PM John Carlson via x3d-public <
> x3d-public at web3d.org> wrote:
>
>> It must be full moon, because this message popped up when I was looking
>> for PointProperties.  I wonder if this was ever solved?
>>
>> See attached console log:
>>
>> [image: image.png]
>>
>> On Fri, Nov 22, 2019 at 4:44 PM James Saunders <james at saunders-family.net>
>> wrote:
>>
>>> HI John,
>>>
>>> Thanks for looking.
>>>
>>> One reason why the reason why the HTML file you have built does not work
>>> is because it is failing to load d3-x3d:
>>> In the html file header:
>>>   <script src="../../../dist/d3-x3d.js"></script>
>>> Needs swapping for:
>>>    <script src="
>>> https://raw.githack.com/jamesleesaunders/d3-x3d/master/dist/d3-x3d.js
>>> "></script>
>>>
>>> It also needs D3.
>>>
>>> Thanks anyway. All the best,
>>>
>>> Jim
>>>
>>> On Fri, Nov 22, 2019 at 4:54 AM <yottzumm at gmail.com> wrote:
>>>
>>>> I copied the DOM document from “Elements” into foo4.html and got the
>>>> following:
>>>>
>>>>
>>>>
>>>> Uncaught TypeError: Cannot read property 'chart' of undefined
>>>>
>>>>
>>>>
>>>> I don’t know why the original code doesn’t show the same error, but
>>>> here’s foo4.html attached.
>>>>
>>>>
>>>>
>>>> John
>>>>
>>>>
>>>>
>>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>>> Windows 10
>>>>
>>>>
>>>>
>>>> *From: *yottzumm at gmail.com
>>>> *Sent: *Thursday, November 21, 2019 10:39 PM
>>>> *To: *James Saunders <james at saunders-family.net>; X3D Graphics public
>>>> mailing list <x3d-public at web3d.org>; x3dom users mailing list
>>>> <x3dom-users at lists.sourceforge.net>
>>>> *Subject: *RE: [x3dom-users] PointProperties in X_ITE
>>>>
>>>>
>>>>
>>>> Your response is null????
>>>>
>>>>
>>>>
>>>> See console.
>>>>
>>>>
>>>>
>>>> John
>>>>
>>>>
>>>>
>>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>>> Windows 10
>>>>
>>>>
>>>>
>>>> *From: *James Saunders <james at saunders-family.net>
>>>> *Sent: *Thursday, November 21, 2019 5:00 PM
>>>> *To: *X3D Graphics public mailing list <x3d-public at web3d.org>; x3dom
>>>> users mailing list <x3dom-users at lists.sourceforge.net>
>>>> *Subject: *[x3dom-users] PointProperties in X_ITE
>>>>
>>>>
>>>>
>>>> Hi All,
>>>>
>>>>
>>>>
>>>> I appreciate the PointProperties node is a new proposal in v4 and at he
>>>> moment it has not yet been implemented in x3dom. However I see this is
>>>> implemented in x_ite (
>>>> http://create3000.de/users-guide/components/shape/pointproperties/).
>>>>
>>>>
>>>>
>>>> I am trying to use PointProperties to get larger particles on the
>>>> following chart:
>>>>
>>>>
>>>> https://raw.githack.com/jamesleesaunders/d3-x3d/ScatterPlot/examples/X_ITE/chart/ParticlePlot.html
>>>>
>>>>
>>>>
>>>> <Shape class="particles">
>>>>
>>>>   <Appearance>
>>>>
>>>>     <PointProperties colorMode="POINT_COLOR" pointSizeMinValue="1"
>>>> pointSizeMaxValue="5" pointSizeScaleFactor="100"></PointProperties>
>>>>
>>>>   </Appearance>
>>>>
>>>>   <PointSet>
>>>>
>>>>     <Coordinate point="4.444444444444445 22.22222222222222
>>>> 17.77777777777778 ...."></coordinate>
>>>>
>>>>     <Color color="0.8431 0.1882 0.1529 ...."></color>
>>>>
>>>>   </PointSet>
>>>>
>>>> </Shape>
>>>>
>>>>
>>>>
>>>> But the points still only come out as single pixels?
>>>>
>>>> What am I doing wrong?
>>>>
>>>> I want to make the particles (points) larger.
>>>>
>>>>
>>>>
>>>> I can see PointProperties working here:
>>>>
>>>>
>>>> https://www.web3d.org/x3d/content/examples/Basic/Points/ArchimedesPointPropertiesIndex.html
>>>>
>>>>
>>>>
>>>> Jim
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20251206/47ac22cd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 253551 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20251206/47ac22cd/attachment-0001.png>


More information about the x3d-public mailing list