This node generates 3D rotating cube animations with customizable parameters, offering various rendering styles, color schemes, and lighting effects. It creates dynamic animations of a cube that can rotate around all three axes.
- Type: Integer
- Default: 512
- Range: 128 to 4096
- Step: 64
- Description: The width of the output video in pixels.
- Type: Integer
- Default: 512
- Range: 128 to 4096
- Step: 64
- Description: The height of the output video in pixels.
- Type: Integer
- Default: 30
- Range: 1 to 60
- Step: 1
- Description: Frames per second for the output video.
- Type: Integer
- Default: 120
- Range: 1 to 9999
- Step: 1
- Description: Total number of frames to generate.
- Type: Float
- Default: 1.0
- Range: 0.1 to 5.0
- Step: 0.1
- Description: Controls the size of the cube relative to the viewport.
- Type: Float
- Default: 5.0
- Range: 2.0 to 20.0
- Step: 0.5
- Description: Distance of the cube from the camera. Higher values make the cube appear smaller.
- Type: Float
- Default: 75.0
- Range: 30.0 to 120.0
- Step: 5.0
- Description: Camera field of view in degrees. Higher values create more perspective distortion.
- Type: Float
- Default: 0.02
- Range: -0.1 to 0.1
- Step: 0.01
- Description: Speed of rotation around the X axis (pitch). Positive values rotate upward.
- Type: Float
- Default: 0.03
- Range: -0.1 to 0.1
- Step: 0.01
- Description: Speed of rotation around the Y axis (yaw). Positive values rotate rightward.
- Type: Float
- Default: 0.01
- Range: -0.1 to 0.1
- Step: 0.01
- Description: Speed of rotation around the Z axis (roll). Positive values rotate clockwise.
- Type: Dropdown
- Options:
rainbow
: Full spectrum of colors with 80% saturationmonochrome
: Grayscale variations from white to dark grayneon
: Bright, vibrant neon colorspastel
: Soft, light colorscyberpunk
: High-contrast futuristic colors
- Type: Dropdown
- Options:
wireframe
: Shows only the edges of the cubesolid
: Renders filled faces with lightingpoints
: Displays vertices as colored points
- Type: Dropdown
- Options:
basic
: Simple diffuse lightingambient
: Soft lighting with ambient componentdynamic
: Advanced lighting with specular highlightsnone
: No lighting effects applied
-
For Smooth Rotation:
- Keep rotation values between -0.05 and 0.05
- Use different values for each axis to create interesting patterns
- Higher FPS values will create smoother animations
-
For Best Visual Impact:
- Combine appropriate lighting modes with render styles
- Use
solid
render style withdynamic
lighting for realistic 3D appearance wireframe
style works well withneon
orcyberpunk
color schemes
-
Performance Considerations:
- Higher resolutions and frame counts will increase generation time
- Complex lighting calculations (dynamic mode) may impact performance
- Consider using simpler render styles for quick previews
- Uses perspective projection for 3D to 2D conversion
- Implements painter's algorithm for face rendering
- Supports diffuse and specular lighting calculations
- Automatically handles face culling and depth sorting
- Uses normalized light direction for consistent lighting across cube faces
- Rainbow: HSV-based colors with 80% saturation
- Monochrome: Grayscale values from 255 to 60
- Neon: Bright, saturated complementary colors
- Pastel: Soft, desaturated colors
- Cyberpunk: High-contrast neon combinations