Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi 7 Questions
#1
Hi, I've been heavily using Obi (cloth and rope) for several years now in the development of Following Seas. I'm quite happy with it overall, with really the biggest issue coming down to performance. Typically about 30-50% of total profiler load goes into the system -- which has been acceptable, but definitely reduces the number of runnable systems for users.

I've been looking into Obi 7, as performance seems to be a major focus, and have also split into a separate project branch to test it out -- but have a couple questions if you don't mind.

I'm struggling with the removal of Proxies -- are there any plans for a similar system, or revisions to the decimation? I like the automatic decimation, but I find that there isn't near the control that was available with proxies. For example, my cloth meshes rely on specific groups for attachment points, like the rays of a battened sail, or the corners where ropes would attach. Decimation on my more detailed meshes often causes these points to be far off from where they should be, or causes topology lines to become very wobbly due to merging inconsistently up and down when parallel lines of vertices are present. It would be nice to exclude vertex groups from decimation, or have a method of ensuring the shape of the mesh isn't overly affected.

I didn't see any method for controlling this, do you have any suggestions?

Secondly, it seems that ambient force zones have been removed -- is it preferred to have a wind force zone follow affected objects around, or to set wind directly through the solver?

I've attached a beautifully rendered version of my struggle with blueprints. The left indicates the result gained via the Obi 6 method, with the red dots representing vertices on the simplified mesh. The central black line is a group used for particle attachment, and the red corner is a point were a rope would attach.

On the right is a somewhat dramatized example of what I'm encountering through decimation.

   
Reply
#2
Hi!

Decimation doesn’t replace the old proxies system - it’s more of an addition to it. The replacement for proxies is the new cloth rendering and skinning system, which is a simpler, more performant and streamlined encarnation of proxies: https://obi.virtualmethodstudio.com/manu...modes.html

ObiClothRenderer now takes an ObiCloth as input and will bind that object’s mesh to the cloth, same as proxies did. *Any* mesh can be bound to an ObiCloth actor, it may be the same used to generate the cloth blueprint or may be an entirely different one. The ObiCloth and the ObiClothRenderer do not need to be on the same object, in fact you can have multiple meshes bound to the same cloth.

For the common use case of low-poly mesh for cloth blueprint & high-poly mesh for rendering, you can still use entirely hand-crafted meshes as you used to with proxies. However, decimation comes in handy when you only have a high-poly mesh and want a quick, automatic low-poly version of it to generate the cloth blueprint. This doesn’t stop you from using a custom low-poly mesh with carefully designed topology.

Quote:Secondly, it seems that ambient force zones have been removed -- is it preferred to have a wind force zone follow affected objects around, or to set wind directly through the solver?

Setting global wind in the solver is more efficient, as it skips the need to determine whether object  particles are inside the force zone or not - it simply affects all particles. This is the equivalent of the old ambient force zone.

Let me know if you need further help,

kind regards
Reply
#3
(Yesterday, 09:52 PM)josemendez Wrote: Hi!

Decimation doesn’t replace the old proxies system - it’s more of an addition to it. The replacement for proxies is the new cloth rendering and skinning system, which is a simpler, more performant and streamlined encarnation of proxies: https://obi.virtualmethodstudio.com/manu...modes.html

ObiClothRenderer now takes an ObiCloth as input and will bind that object’s mesh to the cloth, same as proxies did. *Any* mesh can be bound to an ObiCloth actor, it may be the same used to generate the cloth blueprint or may be an entirely different one. The ObiCloth and the ObiClothRenderer do not need to be on the same object, in fact you can have multiple meshes bound to the same cloth.

For the common use case of low-poly mesh for cloth blueprint & high-poly mesh for rendering, you can still use entirely hand-crafted meshes as you used to with proxies. However, decimation comes in handy when you only have a high-poly mesh and want a quick, automatic low-poly version of it to generate the cloth blueprint. This doesn’t stop you from using a custom low-poly mesh with carefully designed topology.


Setting global wind in the solver is more efficient, as it skips the need to determine whether object  particles are inside the force zone or not - it simply affects all particles. This is the equivalent of the old ambient force zone.

Let me know if you need further help,

kind regards

Thank you for the thorough reply -- that answers my question. I saw the triangle skinmaps disappear on upgrade, and missed the functionality in the renderer. Very helpful.
Reply