You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="Normal">The points object is essentially the same as the <strong><ahref="curve.html">curve</a></strong> object except that it displays individual points at the specified positions instead of connecting them with lines, and it does not have origin, size, axis, or up attributes, nor does it have a rotate method. The points are rendered as <ahref="sphere.html">simple_sphere</a> objects, for maximum display speed.</p>
<pclass="Normal">The points object takes a list of points for <span
class="attribute">pos</span>, like the curve object. The following statement
will display two points, each of radius 50 pixels:</p>
<pclass="Normal">The points object is similar to a curve, but with
disconnected points. As with curve, the <spanclass="attribute">pos</span> attribute is an array
of points. The size of the points is specified by <spanclass="attribute">radius</span> and the default radius is 2.5, meaning a sphere whose radius is 2.5 pixels (a diameter of 5 pixels). The radius attribute is in screen
pixels if <spanclass="attribute">size_units="pixels"</span> (the
default), but if <spanclass="attribute">size_units="world"</span>, the radius is in the same terms as other objects.
Setting the radius to 0 is the same as not specifying a size, in which case the radius will be 2.5 pixels, just as a curve is thin if its radius is specified as 0. If <spanclass="attribute">size_units="world"</span>, the default radius is 0.5.</p>
<pclass="Normal">With <spanclass="attribute">size_units="pixels"</span> in effect (the default), a point in the z = 0 plane will have the specified radius, but it will be larger or smaller than the specified radius if it is nearer or farther from the camera.</p>
<pclass="Normal">Unlike a curve object, a points object can be transparent (opacity < 1).</p>
<pclass="Normal">The options for manipulating a <strong><ahref="curve.html">curve</a></strong> can also be used with the points object, but currently the points object doesn't handle changes in axis or size, does not have an origin nor a rotate method, nor can it be made into a compound. </p>