Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

SceneObject Properties

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Inherits from SceneNode.

PropertyDescription
Blending:BinReads or writes the draw bin in which you drop and store objects. The bin of an object affects the order in which the object appears when you render the scene. Details
Blending:Function:DestinationReads or writes the blend factor you apply to the color values of the currently stored pixels. Details
Blending:Function:SourceReads or writes the blend factor you apply to the color values of the incoming fragment. Details
Blending:ModeReads or writes if the color values you apply to a 3D object blend. You can choose from the following values:
  • Inherit Value—The object inherits the blending mode of a parent object.
  • On—Enables blending.
  • Off—Disables blending.
Details
Draw Style:Face Culling ModeReads or writes the culling method you apply to the object. You can choose from the following values:
  • Inherit Value—The object inherits the culling method of a parent object.
  • No Culling—The entire object appears in the 3D scene.
  • Cull Back Face—Discards polygons of the object from the scene because their normals point away from the viewer.
  • Cull Front Face—Discards polygons of the object from the scene because their normals point toward the viewer.
  • Cull Both Faces—Discards all polygons of the 3D object.
Details
Draw Style:Frontface ModeReads or writes how you determine the front-facing polygons of the 3D object. Details
Draw Style:Line WidthReads or writes the width of lines drawn for the 3D object. Set the value to -1 to inherit the line width of a parent object. Details
Draw Style:ModeReads or writes the method you use to draw the 3D object. You can choose from the following options:
  • Inherit Value—Inherits the draw style of a parent object.
  • Points—Draws the object by placing points at the vertices of the object.
  • Wireframe—Draws the object with line segments that connect at the vertices to form a bounded geometry.
  • Polygon—Draws the object with a fully bounded and filled geometry.
Details
Draw Style:Point SizeReads or writes the size of the points you use to draw the geometry. Set the value to -1 to inherit the point size of a parent object. Details
DrawableReturns the drawable attribute applied to a 3D object. Drawable attributes include geometries and text. You must close this reference. Details
Fog:ColorReads or writes the RGBA color value of the fog. The elements of this property accept values 0 to 1, where 0 represents the absence of the red, green, or blue color and 1 represents a full saturation of the current color. Details
Fog:DensityReads or writes the density of the fog you apply to the object. Valid values are 01. Details
Fog:EndReads or writes the point at which fog effects end. Fog grows denser as you move away from the camera but cuts off completely at the specified fog end point. Details
Fog:FunctionReads or writes the blending factor you use to apply fog to an object. You can select from the following values:
  • Inherit Value—Applies fog to the object according to the blending factor of a parent object.
  • No Fog—Renders the object with no fog.
  • Linear Fog—Applies fog to the object according to the following equation:

    f=e–(densityz)

    where f is the blend factor and z is the distance from the viewpoint to the center of the fogged fragment in eye coordinates.
  • Exponential Fog—Applies fog to the object according to the following equation:

    f=e–(densityz)2

    where f is the blend factor and z is the distance from the viewpoint to the center of the fogged fragment in eye coordinates.
  • Exponential Square Fog—Applies fog to the object according to the following equation:

    f=(endz)/(endstart)

    where f is the blend factor and z is the distance from the viewpoint to the center of the fogged fragment in eye coordinates.
Details
Fog:StartReads or writes the point at which the fog effects you apply to the object begin. Details
Material:AmbientReads or writes the RGBA color value of the object that the ambient light affects. Materials only appear in lighted scenes. Details
Material:Color ModeReads or writes how the 3D object reacts to light. Materials only appear in lighted scenes. Details
Material:DiffuseReads or writes the RGBA color value of the lit object based on the angle between the orientation of the object and the direction of the light source. Materials only appear in lighted scenes. Details
Material:EmissionReads or writes the RGBA color value of the emissive light of the object. Emissive light emanates from the object itself instead of an external light source. Materials only appear in lighted scenes. Details
Material:ShininessReads or writes the size of the highlight that appears on the object when light reflects specularly off the object. Shine can be a value from 0128. Materials only appear in lighted scenes. Details
Material:SpecularReads or writes the RGBA color value of the object that represents the reflection of specular light off of the object. Materials only appear in lighted scenes. Details
Specials:AntialiasingRead or writes whether the object is antialiased to smooth lines and edges that appear jagged. Details
Specials:AutonormalizingRead or writes whether the vertex normals of the object automatically normalize to enhance rendering speed. You can choose from the following options:
  • Inherit Value—The object inherits auto-normalizing from a parent object.
  • Off—The vertex normals of the object do not automatically normalize.
  • On—The vertex normals of the object automatically normalize.
Details
Specials:Depth TestReads or writes whether the pixels of the 3D object pass the depth test. If the object passes the depth test, the incoming depth value replaces the value in the depth buffer when you render the scene. Details
Specials:LightingReads or writes whether a 3D object appears lit. Details
Specials:Shade ModelReads or writes whether a color-filled object appears shaded with one color or multiple colors. Details
Specials:TexturingReads or writes whether a 3D object appears with a texture. This property must be set to On to apply textures to an object. Details
TextureReads the texture that you apply to the 3D object. Details
TransformationReads or writes the transformation you apply to the object. Details
View Port:ModeReads or writes how to specify the size of the view port you use to view the scene. Details
View Port:View PortReads or writes the position and size of a viewing port through which you can view a 3D object in the 3D picture control. The x and y values specify the coordinates within the view port at which LabVIEW renders the object. The width and height specify the width and height of the view port. If you define a view port, objects do not appear beyond the specified bounds of the view port. Details

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit