Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Main Character Cape


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 iwoplaza   Members   -  Reputation: 132

Like
0Likes
Like

Posted 29 May 2012 - 09:57 AM

I would like to add in my game cape, which will be attached to the back of the main character. Can you give me some tutorials? Thanks in advance and I ask for a fairly simple language.
P.S. Im using OpenGL and C++

#2 slicer4ever   Crossbones+   -  Reputation: 1446

Like
0Likes
Like

Posted 29 May 2012 - 02:00 PM

this really depends on the complexity of the cape, do you want full cloth simulation of the cape?, or just a simple static one.

my recommendation is to tell your modeler to simply attach the cape to the model, and to create both a caped/capeless model's which you can switch between as you need(unless you plan to permanently have a capped model, but this is really up to you.), a better approach is to simply "pair" the character/cape model, by offsetting the cape behind the character, or if done correctly in modeling, you should only have to draw the cape at the same spot of the model, and the vertices should already be offset to your model's dimensions.

a more advance system would to be to give your model "Attachment points", where items such as a cape/weapons should be attached, for example an attachment point for a cape would be at the back of your characters neck, but this would depend on how the cape is modeled compared to the character.

from their, if your fine with a static cape(or one that's potentially animated with the characters), you should be good to go. if you want full cloth simulation effects, well you'll have to start googling for some tutorials on doing real-time cloth simulation.
Check out https://www.facebook.com/LiquidGames for some great games made by me on the Playstation Mobile market.

#3 trotlinebeercan   Members   -  Reputation: 186

Like
0Likes
Like

Posted 01 June 2012 - 11:24 PM

http://nehe.gamedev.net/tutorial/flag_effect_(waving_texture)/16002/

Just play around with the math and u/v/a points.

Edited by trotlinebeercan, 01 June 2012 - 11:25 PM.

hopper.dustin@gmail.com




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS