instantreality 1.0

Component:
Shape
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

PointMode

The point mode contains the parameters that are specifically set for points. It supports additional geometric characteristics of points, and can be used to render particles or tiny light sources.

Inheritance

Code

XML encoding
<PointMode size='1'
smooth='FALSE'
minSize='-1'
maxSize='-1'
constantAttenuation='1'
linearAttenuation='0'
quadraticAttenuation='0'
fadeThreshold='0'
sprite='FALSE'
rMode='auto'
logFeature=''
 />
Classic encoding
PointMode {
	size 1
	smooth FALSE
	minSize -1
	maxSize -1
	constantAttenuation 1
	linearAttenuation 0
	quadraticAttenuation 0
	fadeThreshold 0
	sprite FALSE
	rMode "auto"
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFFloat size SFFloat inputOutput 1 The point's size in pixel.
SFBool smooth SFBool inputOutput FALSE Defines if antialiasing is used.
SFFloat minSize SFFloat inputOutput -1 Minimum point size for distance attenuation, less than 0 for disabling it.
SFFloat maxSize SFFloat inputOutput -1 Maximum point size for attenuation.
SFFloat constantAttenuation SFFloat inputOutput 1 The point size's constant attenuation.
SFFloat linearAttenuation SFFloat inputOutput 0 The point size's linear attenuation.
SFFloat quadraticAttenuation SFFloat inputOutput 0 The point size's quadratic attenuation.
SFFloat fadeThreshold SFFloat inputOutput 0 Transparency can be increased if the point area shrinks below this theshold.
SFBool sprite SFBool inputOutput FALSE Flag to enable point sprites.
SFString rMode SFString inputOutput auto [zero, s, r] Parameter to generate the R coordinate for point sprites; the R coordinate caneither be zero, the input S coordinate, or the input R coordinate.
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element