SOTEXTURECOORDINATEENVIRONMENT(3iv)
π SoTextureCoordinateEnvironment π
okay bestie, gather round, because this is a page from the 3IV manual (that's the manual name, she's fancy) and we're about to get into a node that makes stuff look like it's reflecting the whole world around it. no cap.
πΈ NAME πΈ
SoTextureCoordinateEnvironment β a node that specifies texture coordinates by projection from an environment. it's giving "your object is a disco ball and the room is the texture". πͺ©
π¦ INHERITS FROM π¦
so the family tree goes like this, oldest ancestor first, and she's at the bottom of it:
SoBase> SoFieldContainer> > SoNode> > > SoTextureCoordinateFunction> > > > SoTextureCoordinateEnvironmentπ
β¨ SYNOPSIS β¨
#include <Inventor/nodes/SoTextureCoordinateEnvironment.h>
Methods from class SoTextureCoordinateEnvironment:
SoTextureCoordinateEnvironment()
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
like yes she literally inherits all of that. she's not doing it alone, she's got a whole support system. π«Ά
π DESCRIPTION π
okay so here's the tea, and it's genuinely iconic:
This node creates texture coordinates by projecting points on an object's surface to the interior of a surrounding sphere, along the reflection across the surface normal of the vector from the camera point to the surface. π
and the payoff? If the current texture image represents a spherical reflection map of the current surrounding environment, subsequent shapes will appear to reflect that environment. so it looks like the chrome is reflecting the whole world around it, and you did that with like four lines of code. obsessed. π₯
π METHODS π
SoTextureCoordinateEnvironment()β Creates a texture function node with default settings. the blank-slate baby, no notes, ready to slay. β¨static SoType getClassTypeId()β Returns type identifier for this class. that's her ID, her little name tag at the function party. πͺͺ
π ACTION BEHAVIOR π
SoGLRenderAction,SoCallbackAction,SoRayPickActionβ Sets the current texture function in the state.
basically when those actions roll through, this node sets the current texture function into the state and moves on. main character behavior, honestly. π«
π FILE FORMAT/DEFAULTS π
TextureCoordinateEnvironment {
}
look at her. empty. flawless. the default settings are literally just the node existing. πβ¨
π SEE ALSO π
SoTexture2SoTexture2TransformSoTextureCoordinateDefaultSoTextureCoordinatePlane
go read those next, bestie, iykyk. π
and that's the whole page! this was SoTextureCoordinateEnvironment(3IV), and the footer said SoTextureCoordinateEnvironment(3IV)() β so, source and version info: she's from the SoTextureCoordinateEnvironment(3IV) family, manual section 3IV, and the page footer is her signature. π sending you off with a vibe check passed and a full heart, 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