Forums Développement Multimédia

Aller au contenu

- - - - -

Sprite (billboard)

CODE Actionscript

2 réponses à ce sujet

#1 AlexandroG

    Ceinture Blanche

  • Members
  • Pip
  • 12 messages

Posté 15 November 2011 - 20:14 PM

Hi, all.
Sorry, but im not french speaker.

My question is what is the best way to create a sprite that always faces to camera (like billboard in OpenGL, DirectX) in MINKO. I want to create a simple particle system.
need i use QuadMesh ?

Thanks.

#2 Logic

  • Honoris
  • PipPipPipPipPipPipPipPip
  • 2733 messages

Posté 17 November 2011 - 16:20 PM

Billboard is a feature I already requested to Jean-Marc.

The solution seems to use the QuadMesh playing with the pointAt() method of the Matrix4x4 class.

#3 Jean-Marc Le Roux

    Ceinture Noire

  • Minko
  • PipPipPipPipPipPipPip
  • 210 messages

Posté 18 November 2011 - 14:43 PM

Voir le messageLogic, le 17 November 2011 - 16:20 PM, dit :

The solution seems to use the QuadMesh playing with the pointAt() method of the Matrix4x4 class.

Actually the best solution is to write... a shader :)

@AlexandroG : The international forum will open very soon. I will post the link here. Please be patient, we will answer all your questions there :)



1 utilisateur(s) li(sen)t ce sujet

0 membre(s), 1 invité(s), 0 utilisateur(s) anonyme(s)

authorised training centre

Centre de Formation Mediabox - Adobe et Apple Authorised Training Center.

Déclaré auprès de la Direction du Travail et de la Formation Professionnelle

Mediabox : SARL au capital de 62.000€ - Numéro d'activité : 11 75 44555 75 - SIRET : 49371646800035

MEDIABOX, 23, rue de Bruxelles, 75009 PARIS

FFP