2

Has ARCore a particle system (without using Unity)?

I'm already using ViroCoreAR but now, I want to use ARCore but I don't know if ARCore has a particle system just like ViroCoreAR or even ARKit for (iOS).

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220

2 Answers2

1

ARCore doesn't have a particle system. A particle system is a graphic feature that may be in the game engine you're using, it isn't related in any way to what ArCore is set to do.

Oren Bengigi
  • 994
  • 9
  • 17
  • I'm new at AR develop, but I know that ARKit has something called emitter node which renders particle sprites and configure the direction, the velocity, number of particles to emmit and other things. My question is... Has ARCore something like that? – user3610997 Feb 25 '19 at 18:23
  • No. but you can use a game engine (Unity, Cocos2d-x, other) that has this feature. What are you using for your OpenGL Rendering? – Oren Bengigi Feb 26 '19 at 15:25
  • As I told you, I'm actually using ViroCore, is a platform that doesn't require to know OpenGL, it allows to you render objects, (I don't know what render engine it uses), but I have been considering change to ARCore, in Android you can use a SDK, Sceneform, which helps to render 3d content so... I don't know if that is what you refer... – user3610997 Feb 26 '19 at 18:06
  • You engine has particle system feature: https://virocore.viromedia.com/docs/particle-effects You can use it, they claim they support ArCore so they are using ArCore. – Oren Bengigi Feb 27 '19 at 11:47
1

There's no official Google's particle engine at the moment (early March 2019). But you can use easily-configurable particle system library like Confetti by Jinyan Cao.

The simplest ConfettoGenerator might look like this:

final List<Bitmap> allPossibleConfetti = constructBitmapsForConfetti();
Utils.generateConfettiBitmaps(new int[] { Color.BLACK }, 20);
final int numConfetti = allPossibleConfetti.size();

final ConfettoGenerator confettoGenerator = new ConfettoGenerator() {
    @Override
    public Confetto generateConfetto(Random random) {
        final Bitmap bitmap = allPossibleConfetti.get(random.nextInt(numConfetti));
        return new BitmapConfetto(bitmap);
    }
}

Hope this helps.

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220