Spray Painting

Getting Started with HyperSkill's Spray Painting Feature

Overview

HyperSkill supports spray painting, enabling authors to create object painting experiences. Such experiences can include some of the following:

  1. Architectural Visualization: Virtual spray painting for real-time color visualization on 3D architectural models.

  2. Automotive Customization: Virtual platform for customizing vehicles and simulating spray painting for repairs.

  3. Construction Site Planning: VR tool for project managers to mark construction phases and safety zones during planning.

  4. Emergency Response Training: Virtual scenarios for emergency responders to mark hazard zones and evacuation routes with spray painting.

Getting Started

To get started, you will need to procure a 3D model of the spray painting tool. This can be any 3D model you want, so long as it conforms to the following requirements:

  • The collider of the object must not cover the spray painting nozzle

  • There must be a child transform on the object named "SprayLocation"

    • [Optional] You may add a particle system on the SprayLocation to directly control the visualization of the nozzle. The particles will be used to apply the paint

    • [Optional] You may add an AudioSource to your model to control which sound effect is used when spray painting

Once you have uploaded the 3D model as a virtual object to your account, you may now add the spray painting tool to your experience.

Setup

In authoring mode, you need to add some custom attributes to your spray painting virtual object. Add the following attributes to enable painting using the spray painting feature:

  • Add a custom attribute named "Painter" of type "bool". The value should be set to true. If the value is true, the spray painting feature will be enabled. If the value is false, the tool cannot be used. This setting is per object, so you may have some spray painting tools that are enabled and some that are not.

  • Add a custom attribute named "Color" of type "string". The value can be a named color or a hex color code.

    • The named colors support the following:

      • black

        • blue

        • clear

        • cyan

        • gray

        • green

        • grey

        • magenta

        • red

        • white

        • yellow

    • You can use any hex color code you want

    • The "white" color is interpreted as color removal and will remove any applied paint

  • [Optional] Add a custom attribute named "Nozzle" of type "string". The nozzle controls how the spray painting tool applies the paint. You can specify any of the following nozzle types or use a custom nozzle if the spray painting object was uploaded with a custom particle effect. The default value is "Custom".

    • Horizontal

    • Vertical

    • Cone

  • [Optional] Add a custom attribute named "Opacity" of type "float". The attribute controls the opacity of the paint. The default value is 1.0. You may put any value between 0.0-1.0.

Last updated