Skip to content

Jbla0712/lens-studio-developer-resources

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lens Studio Templates (NOT FINAL)

This is a collection of the template projects included with Lens Studio.

Table of Contents


Getting Started

Highlighted Content

Migrating to Lens Studio 5

Lens Creator Rewards

Snap AR offers an extensive range of tutorials across various categories to help you create and enhance your lenses.

image

Plugins

  • Guides
    • Importing and Exporting Resources

Plugin Development

Plugins

  • Guides
    • Overview
    • Basic Structures
    • Best Practices
    • Building Plugins
    • Common Tasks
    • Installing
    • Figma Importer Plugin
    • Managing Plugins
    • Figma Importer Plugin
    • Transitions Library Plugin

Publishing a Lens

Distrubting your Lens

  • Guides
    • Lens Discovery
    • Sharing Your Lens
    • Snapcodes
    • Snap Kit
    • Unlocking Lenses

Configuring your Project

  • Guides
    • Configuring Project Settings
    • Preview Videos
    • Creating an Icon
    • Lens Hints
    • Scene Manager
    • Wired Parameters
    • Asset Packages Introduction
    • Package Library Management
    • Installed Content Preferences

Optimizing your Lens

  • Guides
    • 3D Optimization
    • Compression
    • Mobile Monitor and Trace Analysis [Beta]
    • Mobile Lens Profiler Case Study
    • Performance and Optimization for Lenses
    • Lens Quality Assurance Troubleshooting
    • Texture Optimization

Submitting your Lens

  • Guides
    • Submission Guidelines
    • Lens Visibility
    • Lens Analytics
    • Lens Creator Rewards
    • Submitting Your Lens

Templates & Guides

Animations

  • Guides
    • Animation Curve Editor
    • Animation Events
    • Animation Player
    • Animation State Manager
    • Importing 3D Animations
    • Transitions & Triggering
    • Pin To Mesh
    • Prefabs
    • Procedural Mesh
    • 3D Animation
    • Vertex Animation Textures Guide
    • Vertex Animation
  • Templates

Asset Library

Audio

  • Overview
    • Audio Tracks
    • Audio Component
    • Audio Templates
    • Audio Listener
    • Audio Output
    • Speech Recognition
    • Text To Speech
  • Templates
    • Audio Analyzer
    • Audio Output
    • Keyword Detection
    • Music Video
    • Soundboard

Bitmoji Avatar

  • Guides
    • Bitmoji 2D
    • Bitmoji 3D
    • Animating Bitmoji 3D
    • Bitmoji Head
    • Adding Bitmoji Props
  • Templates
    • Bitmoji Runner Game

Body Tracking

  • Guides
    • 3D Body and Hand Tracking
    • Body Mesh
    • Body Mesh Attachments
    • External Body Mesh
    • External Body Mesh Creation
    • Head & Neck Tracking
    • Portrait Skin Segmentation
    • Normals and Depth
    • Footwear Segmentation
    • Fullscreen Segmentation
    • Segmentation Trails
    • Upper Body Tracking
    • Upper Garment Segmentation
  • Templates
    • 3D Body Tracking
    • Body Morph Guide
    • Body Mesh
    • Body Segmentation
    • Earring Try-On
    • Eyewear Try-On
    • Full Body Attachments
    • Full Body Triggers
    • Shoulder
    • Skeletal
    • Try-On Template
    • Footwear Try-On
    • Garment Transfer
    • Necklace Try-On
    • Cloth Simulation Try-On

Connected Lenses

  • Guides
    • Connected Lenses Overview
    • Development Workflow
    • Lifecycle
    • Sharing Data Between Partipants
    • Connected Lenses Example
  • Templates
    • Connected Lens
    • Sync Framework
    • Sync Framework - Voting
    • Realtime Store

Exporting

  • Guides
    • 3D Object Export
    • 3ds Max, 3D Object Export
    • Blender, 3D Object Export
    • Cinema 4D, 3D Object Export
    • Maya, 3D Object Export
    • Qlone, 3D Object Export
  • Templates

Face Tracking

  • Guides
    • Eye Color
    • Eye Tracking
    • Face Expressions
    • Face Image Picker
    • Face Image
    • Face Index
    • Face Inset
    • Face Landmarks
    • Face Liquify
    • Face Mask
    • Face Mesh
    • Face Texture
    • Hair Component
    • Head Binding
    • Head Attached 3D Objects
    • Working with Multiple Faces
  • Templates
    • 2D Objects
    • 3D Objects
    • Baseball Cap
    • Chain Physics
    • Countdown
    • Cricket Helmet
    • Distort
    • Face Expressions
    • Face Image Picker
    • Face in Picture
    • Face In Video
    • Face Landmarks
    • Face Mesh
    • Face Morph
    • Facial Features Segmentation
    • Face Paint
    • Face Stickers
    • Hair Color
    • Hair Simulation
    • Head Mesh
    • Makeup
    • Media Picker
    • Paper Head
    • Photo
    • Portrait Particles
    • Segmentation
    • Sunglasses
    • Team Celebrate
    • Trigger

GenAI Suite

  • Guides
    • 3D Capture
    • 3D Asset Generation
    • Bitmoji Animation Generation
    • Body Morph Generation
    • Easy Lens (Beta)
    • ML Face Effect Generation
    • Garment Generation
    • Head Morph Generation
    • Immersive ML Generation

Hand Tracking

  • Guides
    • 2D Hand Tracking
    • Hand and Nails Segmentation
    • Wristwear Try-On
    • Ring Binding Component
  • Templates
    • 3D Hand Interactions
    • 3D Hand Tracking
    • 3D Hand VFX
    • ASL Fingerspelling
    • Hand Gestures
    • Hand Segmentation
    • Hand
    • Hand Joints
    • Wristwear Try-On
    • Ring Binding Component

Importing

  • Guides
    • 3D Object Import
    • FBX, 3D Object Import
    • glTF, 3D Object Import
    • OBJ, 3D Object Import

Lens Cloud

  • Guides
    • Lens Cloud Overview
    • Multi-User Services
    • Location-Based Services
    • Remote Assets
    • Storage Services

Lights, Cameras and Shadows

  • Guides
    • Light and Shadow
    • Environment Matching
    • Screen Space Normals Generation
    • Signed Distance Field Generator
    • Gaussian Splatting
    • Person Normals and Depth

Location AR

  • Guides
    • Landmarkers
    • Map Component
  • Templates
    • Custom Location
    • Custom Location Creator Lens
    • City-Scale AR
    • Spatial Persistence

Material Editor

  • Guides
    • Overview
    • Nodes

Particles

  • Guides
    • Introduction and Concepts
    • VFX Sub-Graph Library
    • VFX Collisions
    • VFX Graph Optimization
    • VFX vs GPU Particles
  • Templates
    • VFX Collision
    • VFX

Persistent Storage

  • Guides
    • Persistent Cloud Storage
    • Single Player Example
    • Multiplayer Example
    • Persistent Storage
  • Templates
    • High Score
    • Simple High Score

Physics

  • Guides
    • Physics Overview
    • Physics Assets and Components
    • Force
    • Raycast
    • Collision and Overlap
    • Cloth Simulation
  • Templates
    • Physics
    • Physics Toys
    • Responsive Plants
    • Collect Coins
    • Gravity Gun
    • Cloth Simulation
    • Physics Lab

Scripting

  • Guides
    • Scripting Introduction
    • Scripting Example
    • Accessing Components
    • Custom Script UI
    • Custom TypeScript Configuration
    • Debugging with Logger
    • Script Components
    • Script Editor
    • Script Events
    • Script Library Management
    • Script Modules
    • Touch and Interactions
    • TypeScript
    • Visual Studio Code Extension
    • Behavior
    • Tween

SnapML

  • Guides
    • Compatibility
    • Crop Texture
    • Export from PyTorch
    • Export from TensorFlow
    • Faceless ML Component
    • Model Zoo
    • ML Component Overview
    • Scripting ML Component
    • SnapML Overview
    • Quick Start
  • Templates
    • Classification
    • Disappearing Effects
    • Ground Segmentation
    • ML Environment Matching
    • Paint To Erase
    • Portrait Relighting
    • World Eraser Template
    • Style Transfer
    • Custom Segmentation
    • Object Detection
    • Multi Class Classification
    • Multi-Object Detection
    • Optical Character Recognition

Sponsored Lenses

  • Guides
    • Shopping Lens
    • True Size Objects

Texturing

  • Guides
    • Photoshop Texturing
    • Substance Texturing

Text

  • Guides
    • Text Overview
    • Text 3D
    • Caption Sticker Component
    • Localization
    • Native Keyboard
    • Shareable Text Edits
  • Templates
    • 3D Text

Ray Tracing

  • Guides

Remote APIs

  • Guides
    • Remote Service Module
    • AccuWeather API
    • ChatGPT API
    • Snapchat Places API

UI

  • Guides
    • Screen Transform Overview
    • Screen Transform Properties
    • Screen Region and Device Simulation
    • Masking
    • Canvas
    • Pixel Accurate Rendering
    • Camera Roll Widget
    • Image
    • 2D Animation
    • Image Carousel
    • FlexBox Layout
    • UI Widgets
    • UI Scroll View
    • GIPHY Import
    • Leaderboard
  • Templates
    • 4 Randomizers
    • Configuration
    • Drawing
    • Freeze Frame
    • Meme Sticker
    • Persistent Noteboard
    • Quiz
    • Simple Canvas
    • Tournament
    • What x Are You Spinner

User, Friends & Leaderboard

  • Guides
    • User Context System
    • Friends Components
    • Friends Carousel
  • Templates
    • Friends Sorting
    • This or That

User, Friends & Leaderboard

  • Guides
    • User Context System
    • Friends Components
    • Friends Carousel
  • Templates
    • Friends Sorting
    • This or That

Voice ML

  • Guides
    • Question & Answering Service Template
    • 2D Animated TTS
    • Audio Classification Template
    • Sentiment Analyzer
    • Speech Recognition
    • Text To Speech
    • Voice UI

VFX Editor

  • Guides
    • Overview
    • Nodes

World Tracking

  • Guides
    • Device Tracking
    • Marker Tracking
    • Object Tracking
    • World Mesh and Depth Texture
    • Manipulation
    • Combining World and Face
  • Templates
    • Content Editor Tools
    • Content Editor Tools Continued
    • Cutout
    • Instant World Hit Test
    • Marker
    • Marker with Snapcode
    • Pet
    • Simple World Mesh
    • World Mesh Example
    • World Tracking Planes
    • Depth Toybox
    • Look Around
    • Picture Frame
    • Portal
    • Static Object
    • Window

System Requirements

To use Lens Studio effectively, your computer must meet the following requirements:

Operating System

  • Windows: Windows 10 (64-bit)
  • MacOS: MacOS 10.15+

Hardware

  • Processor: Minimum of Intel Core i3 2.5GHz, AMD FX 4300 2.6GHz, or Apple M1
  • RAM: 4 GB or more
  • Graphics: Intel HD Graphics 5000 / Nvidia GeForce 760 / AMD Radeon HD 5570 or better
  • Screen Resolution: 1280x768 or higher

Note: Ensure that you have the latest driver installed for your specific graphics card.

Spectacles Compatibility

Lens Studio 5.3 is compatible with Snap OS v5.58 and later.

Compatibility Matrix

Lens Studio Version Snap OS Version
5.1.x 5.57+
5.2.x 5.58+
5.3.x 5.58+
5.4.x 5.59+

Camera Kit Compatibility

If you are a Camera Kit developer, review the Lens Studio compatibility table to ensure your Lens functions correctly within your application.

Lens Requirements

  • RAM Usage: The Lens should consume a maximum of 150 MB RAM memory.
  • Exported Lens Size: The zipped Lens file should not exceed 8 MB.
  • ML Models: ML models are counted separately, with a limit of 10 MB.
  • Texture Size: Textures should not exceed a resolution of 2048 x 2048.

License

A license file is included with each template project. The full license can be found here: Template License.


See the documentation site for detailed guides on each template.

About

Lens Studio Templates, Plugins, Assets, and guides

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%