SOTEXTURECOORDINATEPLANE(3iv)
๐ SoTextureCoordinatePlane โ the manual, but make it cute
okay bestie, so this is SoTextureCoordinatePlane, from the 3IV manual fam. It's a node that specifies texture coordinates by projection from a plane. Yes. A plane. Like, geometry plane, not airplane, not plain. Stay with me ๐ซถ
โจ INHERITS FROM โจ
This thing has a whole ancestry, and she's proud of it:
SoBase > SoFieldContainer > SoNode > SoTextureCoordinateFunction >
SoTextureCoordinatePlane
๐ธ SYNOPSIS ๐ธ
First things first, the include, literally:
#include <Inventor/nodes/SoTextureCoordinatePlane.h>
๐ Fields from class SoTextureCoordinatePlane
SoSFVec3f directionS
SoSFVec3f directionT
๐ Methods from class SoTextureCoordinatePlane
SoTextureCoordinatePlane()
static SoType getClassTypeId()
๐ Methods from class SoNode
void setOverride(SbBool state)
SbBool isOverride() const
SoNode * copy(SbBool copyConnections = FALSE) const
virtual SbBool affectsState() const
static SoNode * getByName(const SbName &name)
static int getByName(const SbName &name, SoNodeList &list)
๐ Methods from class SoFieldContainer
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
SbBool set(const char *fieldDataString)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName)
const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
๐ Methods from class SoBase
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
๐ DESCRIPTION ๐
okay so here's the tea โ โ this node makes texture coordinates for the points on an object's surface by projecting them onto a plane. That's the whole vibe. The directionS and directionT fields define that plane, bestie. Periodt.
- The S coordinate gets computed as the distance from the object-space origin along the vector you put in the
directionSfield. - The T coordinate gets computed the same way, except using the
directionTfield.
And here's the part everyone forgets: the length of the direction vector counts too. Not just the direction, the whole magnitude. She's doing math with the full vector, no cap.
Like, say directionS is (0.5, 0, 0) and directionT is (0, 1, 0). Then this square, defined by these (x, y, z) vertices:
(-1, -1, 0) (1, -1, 0) (1, 1, 0) (-1, 1, 0)
will get assigned these (s, t) texture coordinates:
(-2, -1) (2, -1) (2, 1) (-2, 1)
look at that mapping go. ate. ๐ฅ
๐ FIELDS ๐
SoSFVec3f directionSSoSFVec3f directionT
those are the directions of projection for S and T coordinates. That's it, that's the field.
๐ฆ METHODS ๐ฆ
SoTextureCoordinatePlane()โ creates a texture function node with default settings. a fresh baby node, defaults and all โจstatic SoType getClassTypeId()โ returns the type identifier for this class. the little ID card she carries around ๐ณ
๐ ACTION BEHAVIOR ๐
SoGLRenderAction, SoCallbackAction, SoRayPickAction
Sets the current texture function in the state. that's the whole job, and she does it flawlessly ๐
๐ FILE FORMAT/DEFAULTS ๐
TextureCoordinatePlane {
directionS 1 0 0
directionT 0 1 0
}
so if you just let her be, directionS is 1 0 0 and directionT is 0 1 0. iconic default behavior, no notes.
๐ฎ SEE ALSO ๐ฎ
the besties, the group chat, the whole squad:
SoTexture2SoTexture2TransformSoTextureCoordinateDefaultSoTextureCoordinateEnvironment
that's the whole page, babe. go project something onto a plane and slay ๐
kisses, SoTextureCoordinatePlane(3IV)() โ mwah ๐๐
๐ฆ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 ยท LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 ยท LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 ยท LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 ยท LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 ยท LGPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms