i'm working in a 3d flash role-playing game with alternativa 3d engine.

My game requires the main character to be customizable, for example, the player must be able to add a mustache, a hat, a tie, change colors of sking, clothing, etc, to the character.

How am i able to do that?.

(I'm using maya for modeling.)

Thanks in advance.


closed as too broad by MichaelHouse Jun 19 '14 at 4:21

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


If your 3d engine supports a scene graph, some scene graphs will have a node called a switch node. This can be used to switch between different types of geometry. So, you could put a switch node above the lip and switch between a mustache and no geometry (an empty node in the switch). For clothing and skin tone, you might be able to do something similar with switch nodes at the texture level. Not sure though.

  • 1
    \$\begingroup\$ I've never heard of a "switch node" and don't see why you need some special node for switching geometry; why can't you do this with any other node? Otherwise, I agree with this answer! \$\endgroup\$ – jhocking Sep 26 '11 at 18:55
  • \$\begingroup\$ You can do the same thing by finding the node in the scene graph that you want to attach the new node to. Switch nodes simply encapsulate that behavior for you. \$\endgroup\$ – zooropa Sep 27 '11 at 15:22
  • \$\begingroup\$ I still dispute that scene graphs "usually will have a node called a switch node." Personally I think this answer would be better reworded to not muddy the waters with this term "switch nodes" and simply explain the underlying concept. Does Alternativa support these switch nodes? \$\endgroup\$ – jhocking Sep 27 '11 at 15:33
  • \$\begingroup\$ i have no idea if alternativa3d support this "switch nodes". Never heard of them before. i've got to make some research. \$\endgroup\$ – OscarVGG Oct 5 '11 at 20:55
  • \$\begingroup\$ Switch nodes are used in the Gamebryo (gamebryo.com) rendering system which is a commercial product. You can download the free version which is called Wild Magic - geometrictools.com. So, there's at least one credible source which uses switch nodes. \$\endgroup\$ – zooropa Oct 6 '11 at 15:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.