Another Flag Scene Node
Another Flag Scene Node
my version of a flag scene node, enjoy.
the source is for a windows visual studio opengl build and the demo exe is a debug build so don't expect too many fireworks.
http://www.mediafire.com/?dn3d2pi5avo2bl9
the weight map will pin the flag where ever the map is black (remember its mapped to verts so the rez is pretty coarse) setting the "pinned" areas with
any kind of precision is a trial and error affair. I think this kind of approach could be used for a generic cloth scene obj.
an additional flag texture
the source is for a windows visual studio opengl build and the demo exe is a debug build so don't expect too many fireworks.
http://www.mediafire.com/?dn3d2pi5avo2bl9
the weight map will pin the flag where ever the map is black (remember its mapped to verts so the rez is pretty coarse) setting the "pinned" areas with
any kind of precision is a trial and error affair. I think this kind of approach could be used for a generic cloth scene obj.
an additional flag texture
Last edited by Klunk on Sun Oct 30, 2011 6:01 pm, edited 1 time in total.
Re: Another Flag Scene Node
Very nice! I see its even shader based. But cant run the exe directly, says my side by side configuration is incorret.
Re: Another Flag Scene Node
I'm sorry to say I've no idea what a side by side configuation is the shader part is for lighting only as irrlicht doesn't support the kind of material needed for this kind of thing.
Re: Another Flag Scene Node
I neither have a clue what the side-by-side config is
Also nice litte perlin Wind generator and lighting shader is definetly reusable for all kinds of cloth objects and obviously if you rotate this you can make towels on a line!
Also nice litte perlin Wind generator and lighting shader is definetly reusable for all kinds of cloth objects and obviously if you rotate this you can make towels on a line!
Re: Another Flag Scene Node
http://buffered.io/2008/05/17/resolving ... on-issues/
There you go first google result.
There you go first google result.
Re: Another Flag Scene Node
i think you confused me with someone who gives a crap
another jolly roger
another jolly roger
Re: Another Flag Scene Node
This is very impressive. The flag animation looks great and quite fluid.
Well done.
Well done.
Re: Another Flag Scene Node
thank you, I wish could take the credit
Re: Another Flag Scene Node
Awesome! Thank for sharing this.
Re: Another Flag Scene Node
That is a problem, unless user has same debug runtimes as you installed they can't run it. Build as "Release" so everybody can try executable.Klunk wrote:...is a debug build...
Re: Another Flag Scene Node
That's what "side-by-side configuration" refers to, as in the earlier post. No one seemed to be interested then.
Re: Another Flag Scene Node
for those who can't be bothered with compiling the source here is a release build (source is still in the original file)
http://www.mediafire.com/?ic1f2lq3il94dpa
http://www.mediafire.com/?ic1f2lq3il94dpa