instantreality 1.0

Component:
Texturing
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.0

PaintTexture

Node allows to paint/blend images on the given canvas image. The node blends the brush texture into the canvas texture on every paint event.

Inheritance

Code

XML encoding
<PaintTexture paintColor='1 1 1 1'
paintTransparency='0'
paintZ='0'
logFeature=''
 />
Classic encoding
PaintTexture {
	paintColor 1 1 1 1
	paintTransparency 0
	paintZ 0
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFNode textureProperties SFNode initializeOnly TextureProperties Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored.
XFAny clear XFAny inputOnly reset the image to the given canvas data
MFVec3f paint MFVec3f inputOnly evenIn slot to paint/blend a new brush copy onto the canvas image,range from 0,0,0 to 1,1,1
SFNode brush SFNode inputOutput SingleTexture the 1D/2D/3D image brush
SFNode canvas SFNode inputOutput SingleTexture canvas image which is uses as backround source. the image will not be manipulated while painting. The node creates a copy of the canvas image first
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
SFColorRGBA paintColor SFColorRGBA inputOutput 1 1 1 1 The additional color which is used while painting/blending
SFFloat paintTransparency SFFloat inputOutput 0 [0, 1] the additinal transparency/alpha scale which is used while painting/blending
SFFloat paintZ SFFloat inputOutput 0 [0, 1] z coordinate used if the canvas source image is a 3d-texture
SFImage image_changed SFImage outputOnly sends a singe image on change