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

Exit command without waiting to finish

I am trying to export SparkAR files using SparkAR CLI however after script successfully export files it does not exit the process for example: sparkTerminalBinaryWindows.exe export .\Project.arproj -d .\exportDestination When I run this command it…
Kaan Baris Bayrak
  • 3,213
  • 3
  • 16
  • 20
0
votes
2 answers

How to change the default person in the inbuilt simulator in Spark AR Studio?

As seen in F8 developer conference, there was the option to select from 5-6 different person to be used as sample in the inbuilt simulator in Spark AR studio. Where to find the option?
Romit Kumar
  • 2,442
  • 6
  • 21
  • 34
0
votes
1 answer

How to translate gesture pixel location to local X,Y coordinates in Spark AR

I am using Spark AR Studio. When I use gestures like tap or pan, I get the position in pixels on the screen. I want to be able to it the values in local coordinates, to know for example, if a 3D object is tapped. For example, for the "iPhone 8"…
Liron Harel
  • 10,819
  • 26
  • 118
  • 217
0
votes
1 answer

Can I stack multiple effects in one filter on spark-ar?

Is it possible for me to create a single filter with multiple effects or multiple fixed target trackers using a Native UI picker on Spark AR?
0
votes
1 answer

Vertical Plane Tracking in Facebook's Spark AR Studio

I am new to Javascript but I have been experimenting in Spark AR Studio making AR Experiences for Art school. I would like to be able to place images of my art on walls using the plane tracker element included in Spark AR. This requires changing the…
0
votes
1 answer

SparkAR studio - How animation.driver.OnCompleted() should be implemented?

I have a simple plane driven by a scripted animation and what I want to achieve is to loop in a texture array with driver.OnCompleted(), as to switch to another texture when the animation completes, but my implementation doesn't work (throws no…
0
votes
1 answer

Can I create or fake a second camera inside the scene in Spark AR Studio

I'm looking for a way to "mirror" or create an internal 3D camera in the scene, I'm attempting to rebuild a scene I've made using threejs (hollowsights.org/heads) and I'm looking for a way to "render" a texture that is based on the device camera…
nirhere
  • 5
  • 4
0
votes
3 answers

Spark AR Why if-else if construction doesn't work?

I don't understand why if-else construction doesn't work. const Diagnostics = require('Diagnostics'); const Reactive = require('Reactive'); var num = 5; var firstCondition= false; var secondCondition = false; function func(){ firstCondition =…
0
votes
1 answer

Is there a way to change an object's material dynamically using Script / Patch editor? - Spark AR / Reactive Javascript

If it's okay, I'm kind of in need of assistance, This is an AR filter mini game. I would like to replace an object's material when the loop count reaches a certain value. I found it extremely challenging to do it with the Patch Editor so I went and…
Levin
  • 65
  • 1
  • 2
  • 10
0
votes
0 answers

If-Else statement in Reactive Javascript

I'm would say I know only a little bit on Javascript but enough to add simple interactivity to apps / websites. However, recently I came across an app that uses reactive javascript instead of the normal javascript that I'm used to. (not sure what…
Levin
  • 65
  • 1
  • 2
  • 10
0
votes
1 answer

Play multiple animation when user taps on the screen in Spark AR

Recently I tried to play multiple animations in spark ar when the user taps on the screen, but it happens only when the animation state is looped. If I uncheck the loop it will stay the previous state. What want to archive is that, when the user…
Thisara
  • 644
  • 3
  • 11
  • 22
0
votes
1 answer

Rotating 3D object without Plane Tracker in Spark AR

Is there any way of rotating a 3d object without plane tracker? We can rotate an object with the plane tracker, I'm seeking a way of rotating an object without that. Any one know about this? Many thanks for your help
Thisara
  • 644
  • 3
  • 11
  • 22
0
votes
1 answer

'canvas.getContext' undefined, is not a function in AR Spark

I'm new with AR Spark and I saw that you can write scripts. I'm trying to write a script in pure js and I get the error about "'canvas.getContext' undefined" on canvas. Code snippet : var sceneBase =…
Singh
  • 783
  • 1
  • 6
  • 24
0
votes
1 answer

How do I stop an animation loop and reset it after an object turns visible?

I started picking up SparkAR Studio recently and I am not used to node programming. I am making a simple blinking game where the user blinks their eyes to control an object. The issue is that after the 'Game Over' screen is displayed (Checked…
Levin
  • 65
  • 1
  • 2
  • 10
0
votes
1 answer

Spark AR Native UI Picker

In Documentation page of Native UI Picker it says: "The NativeUI Picker is an interface you can add to effects. It allows people using your effect to choose different options within it by selecting icons. For example the user can tap different…