Jump to content
  • Advertisement
Sign in to follow this  
iwoplaza

OpenGL Main Character Cape

This topic is 2386 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]I would like to[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]add[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]in my game[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]cape[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)], which will be[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]attached[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]to the back[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]of the main character[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)].[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]Can you give[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]me some[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]tutorials?[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]Thanks in advance[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]and I ask for[/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)] [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]a fairly [/background][/font][color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]simple language.[/background][/font]
[color=#333333][font=arial, sans-serif]

[background=rgb(245, 245, 245)]P.S. Im using OpenGL and C++[/background][/font]

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!