Skip to content

Instantly share code, notes, and snippets.

View mwfarb's full-sized avatar

mwfarb mwfarb

  • Carnegie Mellon CyLab
  • Pittsburgh
View GitHub Profile
@mwfarb
mwfarb / Quest3Mesh.cs
Created October 16, 2023 02:51
Read Quest 3 mesh data and render random color in Unity.
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using UnityEngine;
/// <summary>
/// Attach this script to an empty GameObject in an empty scene, add quest3JsonFilePath in the inspector and press Play.
/// </summary>
public class Quest3Mesh : MonoBehaviour