devNotes 4-11-2016 ico-sphere projection mapping – audio sample

Move Argos_Sphere, ArgosHexLighter, UserMovement, and extract NetCamMove into new project.

 

Hexagon

Wondering about the Procrustean fifth here.

sfdbsfdb2

    public class H_Element
    {
        public MeshDraft mdH = new MeshDraft();
        public float timer;
        public int[] neighborLoc = new int[6];
        public int myIndex;

        public Vector3 GetCenter()
        {
            Vector3 vc = mdH.vertices[0] + mdH.vertices[1] + mdH.vertices[2] + mdH.vertices[3];
            return vc / 4f;
        }

        public Quaternion GetQuat()
        {
            Vector3 vFwd = GetCenter().normalized;
            Vector3 vUp = (mdH.vertices[0] - mdH.vertices[1]).normalized;
            return Quaternion.LookRotation(vFwd, vUp);
        }
    }

 

dfgfggfdgsg8

VaporWave_BB_JHMF:
VaporWave_BB_JHMF.mp3