Search Forums

(Advanced Search)

Latest Threads
Broken scripts with updat...
Forum: Obi Rope
Last Post: hariedo
Yesterday, 05:44 PM
» Replies: 2
» Views: 91
Garment explodes on Andro...
Forum: Obi Cloth
Last Post: CptnFabulous
19-12-2024, 07:16 AM
» Replies: 4
» Views: 684
Calculating and Reproduci...
Forum: Obi Fluid
Last Post: ZacharyP
18-12-2024, 05:49 PM
» Replies: 2
» Views: 786
Null Reference, actor not...
Forum: Obi Rope
Last Post: josemendez
13-12-2024, 12:39 PM
» Replies: 1
» Views: 175
Issue with Grasping ObiRo...
Forum: Obi Rope
Last Post: josemendez
12-12-2024, 12:00 PM
» Replies: 5
» Views: 489
Changing extruded rendere...
Forum: Obi Rope
Last Post: aderae
10-12-2024, 07:35 PM
» Replies: 2
» Views: 258
Baking a rope is causing ...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 11:06 AM
» Replies: 6
» Views: 676
Barrier belt - changing l...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 10:42 AM
» Replies: 1
» Views: 230
Path editor gizmo's appea...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 09:50 AM
» Replies: 1
» Views: 225
Problems when using multi...
Forum: Obi Cloth
Last Post: Cat3Man
09-12-2024, 03:17 AM
» Replies: 2
» Views: 304

 
  Tips for improving performance?
Posted by: CageyKG - 17-03-2018, 03:05 AM - Forum: Obi Rope - Replies (2)

Are there any general guidlines or tips to follow in order to reduce Obi Rope’s CPU footprint? Obi currently more than halves my framerate when simulating and I’m looking to get it back down to acceptable VR speed. It seems like most of it comes from updating obi colliders (ObiSolver.FixedUpdate.UpdateColliders is around 30% of frame’s total time.) I’ve been pretty fast and loose with adding obi colliders around since a lot of the game is very up close to the ObiRope cables and I wanted them to interact well with things inside the VR space. Do I need to be more sparing with these?

The other large chunk comes from rendering with ObiSolver.LateUpdate…ObiRopeThichRenderMode.Update being another 25% of my frame’s time. Smoothing seems like the main culprit (drops to aroung 7% when changing smoothing from max 3 down to 0), but decreasing it doesn’t have pleasing results. Should I be using higher cable resolution or some other method to achieve less angular cables instead?

It’s also a huge multiplier on the physics update, increasing it by at least 2 times when the solver is enabled, sometimes more (running on a timestep of .01 with the default 6 solver iterations). Is this just part of the deal when it comes to running this solver, or does it seem like that should be reducable somehow as well?

The scene in question has around 20 cables with an average of around 15 particles each, 4 pins constraints each, hierarchical tethers, and full smoothing/rendering. The solver is set to skip skin, volume, stitch, and density, but does everything else on Sequential settings with 5 iterations. Solver reports that it’s only using 466 particles total, which seems well within a reasonable range, hence my looking elsewhere for spots to improve performance.

Print this item

  Advice on how to make a fine powder
Posted by: corbinyo`` - 16-03-2018, 03:35 PM - Forum: Obi Fluid - Replies (1)

Has anyone used obi fluid to make something similar to a fine powder, like baking soda or flour?

Print this item

  Adding ObiEmmitor gameObject in code
Posted by: shtolyan - 16-03-2018, 02:16 PM - Forum: Obi Fluid - Replies (10)

Hello! Thank you for the wonderful asset
Can you help me with the problem of creating an emitter in the code? The object is created on the scene, all obi objects are configured, but the render does not work.


[Image: -o3QSG2tnohlkRdAU6fe4bzLjCN7hFBsL7ufMg94...=2048x2048]

Here is my code:



public void Init()

        {

            GameObject emitterObject = new GameObject("emitter",

                typeof(ObiEmitter),

                typeof(ObiParticleRenderer));



            emitterObject.transform.position = gameObject.transform.position;

            emitterObject.transform.parent = gameObject.transform;



            _emitter = emitterObject.GetComponent<ObiEmitter>();

            _emitter.Solver = GameControllerObjects.Instance.ObiSolver;

            _emitter.NumParticles = 1000;

            _emitter.emissionMethod = ObiEmitter.EmissionMethod.STREAM;

            _emitter.speed = ((Liquid)VRAObject.Type).Speed;

            _emitter.lifespan = ((Liquid)VRAObject.Type).Lifespan;

            _emitter.randomVelocity = ((Liquid)VRAObject.Type).RandomVeloncity;

            _emitter.EmitterMaterial = GameControllerObjects.Instance.ObiEmitterMaterial;



            Color newCol = new Color();

            string htmlValue = "#" + ((Liquid)VRAObject.Type).ParticleColor;

            ObiParticleRenderer particleRenderer = emitterObject.GetComponent<ObiParticleRenderer>();

            if (ColorUtility.TryParseHtmlString(htmlValue, out newCol))

                particleRenderer.particleColor = newCol;

            particleRenderer.radiusScale = ((Liquid) VRAObject.Type).RadiusScale;

            GameControllerObjects.Instance.ObiFluidRenderer.particleRenderers.Add(particleRenderer);



            StartCoroutine(OnFinish());


        }

IEnumerator OnFinish()

        {

            yield return _emitter.StartCoroutine(_emitter.GeneratePhysicRepresentationForMesh());

            _emitter.AddToSolver(null);
        }


Also I have Exeption!
NullReferenceException: Object reference not set to an instance of an object
Obi.ObiActor.PushDataToSolver (ParticleData data) (at Assets/Obi/Scripts/Actors/ObiActor.cs:369)
Obi.ObiActor.AddToSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiActor.cs:276)
Obi.ObiEmitter.AddToSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiEmitter.cs:137)
Obi.ObiActor.Start () (at Assets/Obi/Scripts/Actors/ObiActor.cs:148)

Thank you!

Print this item

  holes on clothes
Posted by: AnriCZ - 15-03-2018, 06:46 PM - Forum: Obi Cloth - Replies (7)

Hi!
I saw video on the youtube https://www.youtube.com/watch?v=sc6kq1TV8Ek. I am doing everything the same, but have a problem. When I activated animation in Unity, shorts are torn.
The same problem I see in DAZ when turn animation on.
When I change poses in DAZ also appear holes on clothes, but in 1 sec everything goes to normal and clothes puts on correctly.
I spent many hours in solving of this problem, but nothing.
Daz 4.10
Unity 201.3.1f1
Genesis 8

So, i was  searching for alternative way for clothing and found your asset.
Questions:
1. Does it works with Daz3d genesis 8 models and clothing?
2. Will it solve my problems with holes?

Print this item

  Oculus support
Posted by: mikechui - 15-03-2018, 12:17 PM - Forum: Obi Fluid - Replies (3)

Dear sir,

May I know if the plugin will work with Oculus rift and an imported 3D model with interaction like pouring water?

Best,

Mike

Print this item

  Error with the latest version of Obi Cloth
Posted by: matchalover - 13-03-2018, 03:51 PM - Forum: Obi Cloth - Replies (2)

My project got crashed when i update the latest Obi Cloth version. Please help me fix this problem! Indeciso Indeciso Indeciso
https://imgur.com/a/Nc1H9

Print this item

  Help with Obi Cloth Tearable
Posted by: matchalover - 12-03-2018, 09:33 AM - Forum: Obi Cloth - Replies (1)

I just want to make the black line of this object to be teared only. I have tried to set the per-particle tear resistance but when the cut region was pretty bad. Are there any solution?
https://imgur.com/a/h7NLP

Print this item

  Link two Obi objects with Rope
Posted by: matchalover - 10-03-2018, 03:35 PM - Forum: Obi Cloth - Replies (3)

I want to make a link between two Obi objects with rope but when i pull the rope to the left, the rope seems to jump out of the Obi Cloth. I need some help !
Here is an example: https://www.youtube.com/watch?v=hlK-j3rf...e=youtu.be

Print this item

  Thicker cloth
Posted by: PawleyBoboli - 09-03-2018, 07:48 PM - Forum: Obi Cloth - Replies (2)

Hi Folks,

I am enjoying getting to know obi Cloth.  The behaviours I would like for my game are working out great, but I would like to give my cloth more thickness - similar to a tapestry or carpet.  Right now the stiffness and bendability are good, but the fabric looks as thin as a piece of paper (a single plane).  Can anyone tell me how I might be able to get more thickness?

Thanks for any help,
PB

Print this item

  Set Up HTC VIVE for Obi Liquid
Posted by: corbinyo`` - 09-03-2018, 05:00 PM - Forum: General - Replies (2)

if anyone has done this I would love to know how to achieve this.

Print this item