Questions tagged [spark-ar-studio]

a powerful tool designed to make stunning interactive experiences for the Facebook camera, create interactive augmented reality experiences with or without code, then share what you build with the world. https://sparkar.com/ar-studio

A powerful tool designed to make stunning interactive experiences for the Facebook camera, create interactive augmented reality experiences with or without code, then share what you build with the world. https://sparkar.com/ar-studio

246 questions
0
votes
1 answer

Blender .fbx -> Spark AR Studio scaling issue for skeleton animations

I'm trying to create a character with skeleton animation in Blender to bring into Spark AR Studio. In Spark I want to use the baked animation. The .fbx brings the model and skeleton into Spark's scene just fine, until a new animation controller is…
Elliot
  • 1
  • 1
0
votes
1 answer

In game timer Spark AR

Has anyone figured out how to convert a pulse value into a string, such that I would be able to create a live timer. enter image description here This is my following Patch editor for this issue. Thanks for your help guys.
0
votes
1 answer

FaceTexture getting distorted in android build. Works fine in spark ar studio simulator

I have painted my face texture using the moustache example as a reference using photoshop. In the simulator, it works fine but the texture seems pixelated and distorted in the spark ar player in android. https://i.stack.imgur.com/4BvVq.jpg I have…
0
votes
2 answers

Spark AR Patches: switching between 3 canvas

I have the following elements: Canvas1 (1 rectangle/material - initial instructions), Canvas2 (1 rectangle/material - core image & 1 audio with its Playback controller), Canvas3 (1 rectangle/material - trivia image). The effect I want: when…
Rosariobc
  • 3
  • 4
0
votes
2 answers

Can't use Patches.get value, to script spark AR

I'm trying to change the score from Patch editor, but when I use the Patches.Get(data)value, always get an error. [Spark AR editor] (http://prntscr.com/p9b77g) Still getting this error JavaScript error: Exception in native code while calling a…
0
votes
1 answer

SparkAR set position with screen tap and screen pan?

Ok I have a plane tracker where I manipulate the position via screen pan but also want to set the position of the plane with screen tap. You cant have multiple nodes set the position of an object, so I have a null object as the child of the plane…
blue
  • 7,175
  • 16
  • 81
  • 179
0
votes
1 answer

SparkAR How to change the lips size with code?

Im creating a new filter effect but i wanted to change the size of the lips. I thought that the faceDistortionPack will solve the problem but it only widens it. I need to expand the upper lip and the lower. So i think it's necessary to script the…
0
votes
1 answer

Spark AR How to rotate a target tracker

Is it possible to rotate a target tracker in Spark AR? I have tried transforming it but the options are greyed out. Also, I'm currently new to Spark AR but where can I get simple fbx models to play around with?
JianYA
  • 2,750
  • 8
  • 60
  • 136
0
votes
1 answer

How to parse number to text

Let's say i have an X value representing the Runtime patch output, it is a number which is the time elapsed since the start of the effect. How can i show that X value into a 2d text? I tried to use Unpack patch and sending the value to a script and…
0
votes
1 answer

How to make video Black and white without effecting other elements and deformations in Spark Ar

I have my filter ready, with some face paint materials added and some deformations to increase the eye size. Everything is looking good, but now I want to turn the users video black and white. I have tried doing it with camera textures as explain…
Finglish
  • 9,692
  • 14
  • 70
  • 114
0
votes
1 answer

How to test the livestreaming with spark AR studio

I noticed Spark AR has a live streaming module Is there a way to simulate or test live reactions and comments without having to go live on facebook? I would like to test if the following code actually works but I don't want to test it live on my…
Harry
  • 1,021
  • 4
  • 21
  • 41
0
votes
2 answers

Javascript: How to toggle hide between 2 objects?

i basically have the script done but i might be overlooking something super simple. I'm toggling between hiding ObjectA and ObjectB. the script is like this: var click = false; TouchGestures.onTap(facemesh0).subscribe(function(){ if(click) { …
user2395639
0
votes
1 answer

How to prevent the z coordinates of a plane from changing when the plane is controlled by the hand tracker

I am trying to make a plane move according to the hand movement of the user, but I do not want the z position to change. I only want the x and y positions of the plane to change according to the position of the users' hand. Is that possible? const…
yara raffoul
  • 93
  • 1
  • 11
0
votes
1 answer

Is it possible to import SVG assets as a sequence for UI animation?

I'm trying to import a sequence of assets(svg) to create an interactive UI. I'm able to do that with a png file but not with svg as you can see from the image attached. Click here to see the image
Michele
  • 15
  • 5
0
votes
1 answer

How can I add rotation to the object in SparkAR?

How can I add endless rotation to the object in SparkAR in code? I tried something like this, but it doesn't work: while(true) { myObject.transform.X += 30; }
Rumata
  • 1,027
  • 3
  • 16
  • 47