JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 609 forks source link

Add Interactive Cloth Simulation #291

Open Archangel35757 opened 11 years ago

Archangel35757 commented 11 years ago

Request addition of interactive cloth simulation for things like capes/cloaks and environment objects. To avoid breaking legacy compatibility... interactive cloth could be accomplished using a "cloth Shader" for characters and a similar "cloth brush shader" for environment objects to identify cloth objects for cloth physics. Could also use LOD's on characters and NPCs to reduce computations and even turn off cloth physics for a certain level of detail.

Cloth physics should be handled on the client side so the LODs would reduce computations based on distance away from player. This would work for both SP and MP.

Maybe look into the SoF2 character hit map Shader or a lower LOD mesh for Ghoul2 collision detection to aid in cloth collision detection. Lots of code and detailed papers exist for coding interactive/tearable cloth.

eezstreet commented 11 years ago

I think we're quite far away from this. If someone wants to mark this as "Long Shot Requests", feel free.

Sent from my Windows Phone


From: Archangel35757mailto:notifications@github.com Sent: ‎6/‎20/‎2013 8:11 AM To: Razish/OpenJKmailto:OpenJK@noreply.github.com Subject: [OpenJK] Add Interactive Cloth Simulation (#291)

Request addition of interactive cloth simulation for things like capes/cloaks and environment objects. To avoid breaking legacy compatibility... interactive cloth could be accomplished using a "cloth Shader" for characters and a similar "cloth brush shader" for environment objects to identify cloth objects for cloth physics. Could also use LOD's on characters and NPCs to reduce computations and even turn off cloth physics for a certain level of detail.

Cloth physics should be handled on the client side so the LODs would reduce computations based on distance away from player.

Maybe look into the SoF2 character hit map Shader to aid in cloth collision detection.


Reply to this email directly or view it on GitHub: https://github.com/Razish/OpenJK/issues/291

Archangel35757 commented 11 years ago

Interactive Real Time Cloth Simulation with Adaptive Level of Detail

http://dice.se/publications/interactive-real-time-cloth-simulation-with-adaptive-level-of-detail/

Archangel35757 commented 11 years ago

Stable but Responsive Cloth:

http://graphics.snu.ac.kr/~kjchoi/publication/cloth.pdf

Archangel35757 commented 11 years ago

Stable but Responsive Cloth (Simulation Video Clip Results)

http://graphics.snu.ac.kr/~kjchoi/cloth.htm

Awesome!

eezstreet commented 11 years ago

ffs, stop posting stuff, we get the point.

Sent from my Windows Phone


From: Archangel35757mailto:notifications@github.com Sent: ‎6/‎21/‎2013 9:24 AM To: Razish/OpenJKmailto:OpenJK@noreply.github.com Cc: eezstreetmailto:eezstreet@live.com Subject: Re: [OpenJK] Add Interactive Cloth Simulation (#291)

Stable but Responsive Cloth (Simulation Video Clip Results)

http://graphics.snu.ac.kr/~kjchoi/cloth.htm

Awesome!


Reply to this email directly or view it on GitHub: https://github.com/Razish/OpenJK/issues/291#issuecomment-19818792

Archangel35757 commented 11 years ago

@Eezstreet: last post... just want to upload their paper where they extend their bucking model to triangle meshes.

http://nguyendangbinh.org/Proceedings/Eurographics/2003/dl/conf/eg2003/short/short148/short148.pdf

shinyquagsire23 commented 11 years ago

If you want this feature to be implemented sooner, you could always implement it yourself. I highly doubt ezzstreet or anyone on the OpenJK team would consider fancy graphical additions to be a priority, since it seems that they're more focused on cross-platform and 64 bit support at the moment.

Archangel35757 commented 11 years ago

If I had the programming skill/knowledge to implement it myself, then you'd be experiencing it in-game already...

...rather than reading this request.