Skip to content
 
 

Repository files navigation

SampleScene explained:

General

This scene contains 2 layers, Label and Default, each of which is used by Main Camera and Camera to render the label plane or everything else without the plane

Scene components

  • Plane: this is the plane onto which the label and the background are rendered. This plane should move with the Player object as the user change their prepectives or moves around in the scene. This belongs to the Label layer, so it can’t be seen by Camera.
  • Spheres: Yuanbo attached Materials to these to test label color generation when there’re objects with different colors in the scene. These belong to the Default layer, so they are seen by Camera.
  • Player: This is an empty object that contains Main Camera and Camera. This object represents the user.
  • Main Camera: this camera only renders Plane
  • Camera: this camera does the following:
    1. Takes screenshot of the scene
    2. Uses the screenshot to generate label colors
    3. Renders the generated label colors + background from 2 on Plane

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages