playMaker

Author Topic: Get Set Vertex Colors  (Read 4805 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15594
  • Official Playmaker Support
Get Set Vertex Colors
« on: April 24, 2013, 02:27:26 AM »
Hi,

 Following a thread ( http://hutonggames.com/playmakerforum/index.php?topic=3656.msg16864#msg16864), please find some new arrayMaker actions to get and set vertex colors. The set action can be performed every frame so you can actually adjust colors at will.

I will add these into the arrayMaker packages, but I need to do some more examples on other aspect of arrayMaker too, but I did not wanted to post pon this.

It could be made slightly more efficient, but I will also need to improve arrayMaker underlying framework to accept Color32, not just Colors, I guess it will be fine for now.
 
bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Get Set Vertex Colors
« Reply #1 on: April 24, 2013, 04:52:49 AM »
Thank you so much!

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Get Set Vertex Colors
« Reply #2 on: April 24, 2013, 05:41:54 PM »
Hi Jean,

This is great!
It would be AMAZING to be able to store all the current values of an array so there wont need to be a get action processed at runtime or a mesh with the vertex data held in the game. This would mean we could import a model with existing vertex color, store the colors in an array and then delete the model from our game (leaving one version for the game)

Thoughts?
« Last Edit: April 24, 2013, 08:32:46 PM by LampRabbit »