Search Forums

(Advanced Search)

Latest Threads
IdentifyMovingColliders.E...
Forum: Obi Rope
Last Post: Guillaume
7 hours ago
» Replies: 6
» Views: 31
Getting the force acting ...
Forum: Obi Rope
Last Post: josemendez
7 hours ago
» Replies: 4
» Views: 30
Obi Rope snake "collision...
Forum: Obi Rope
Last Post: josemendez
8 hours ago
» Replies: 1
» Views: 21
Question about garment on...
Forum: Obi Cloth
Last Post: onfitpark
11 hours ago
» Replies: 7
» Views: 146
(7.0) New particle shader...
Forum: General
Last Post: kodra
22-04-2024, 07:18 PM
» Replies: 0
» Views: 24
Cloth abnormally twists i...
Forum: Obi Cloth
Last Post: josemendez
22-04-2024, 09:06 AM
» Replies: 5
» Views: 2,518
(7.0) Compute backend see...
Forum: General
Last Post: kodra
21-04-2024, 01:14 PM
» Replies: 7
» Views: 328
NullReferenceException Bl...
Forum: Obi Cloth
Last Post: hgs-interman
20-04-2024, 10:44 AM
» Replies: 7
» Views: 2,366
Problem with softbody and...
Forum: Obi Softbody
Last Post: josemendez
18-04-2024, 01:12 PM
» Replies: 5
» Views: 131
Exclude some particles fr...
Forum: Obi Fluid
Last Post: josemendez
17-04-2024, 11:54 AM
» Replies: 1
» Views: 60

 
  How do I make an Obi Fluid liquid translucent?
Posted by: KBTIT_ - 10-04-2024, 04:20 PM - Forum: Obi Fluid - Replies (2)

This question may not be related to obi.

How do I make an Obi Fluid liquid translucent?

Lowering the alpha of ParticleColor in ObiParticleRenderer will not change the appearance.
For example, if you want to make an appropriate 3D model translucent, create an appropriate material, set REnderingMode to Fade, and change the alpha of Color to translucent.

In the same way, we are seeking to change the Color setting to make it translucent.

Print this item

Lengua need sticky liquid
Posted by: KBTIT_ - 09-04-2024, 05:54 PM - Forum: Obi Fluid - Replies (1)

How can we describe a very sticky liquid, like oil?

For example, something that takes a very long time to fall when it hits a vertical wall.

First, I set Viscosity to 2, using this page as a reference.
http://obi.virtualmethodstudio.com/manua...rials.html

There was indeed a change, but it is still not enough.

Next, I changed the Gravity of the Buoyancy and Obi Solver so that it takes longer to fall.
These are fine if only a little, but changing them significantly can cause undesirable visual effects, such as slower falling speeds.


Therefore, I would like to know if there are any other parameters other than these that would affect the stickiness if changed.

Print this item

  Feature request: API to get the mesh from FluidMesher
Posted by: kodra - 09-04-2024, 02:48 AM - Forum: Obi Fluid - Replies (1)

My use case is that I'm working on my own custom fluid shader. The workflow is tedious: Press Play -> Wait for the simulation until the fluid gets to a certain shape I'd like to inspect the shader for -> Tweak the shader.

I figured that if I dump the mesh from BurstFluidMesherSystem as an Unity asset, it would make iterating on the shader much faster. So I added this API:

Code:
public List<Mesh> DumpMeshes_Editor()
{
        var meshes = new List<Mesh>();
        for (int i = 0; i < batchCount; i++)
        {
            var batch = batchList[i];
            meshes.Add(batch.mesh);
        }

        return meshes;
}
/// then save the mesh with AssetDatabase.CreateAsset...

It works. I kinda hope it's officially supported tho, cause 1. I don't know if it's the correct way to do it 2. It's not that easy for Compute backend as the mesh only lives in GPU (I suppose).

Print this item

  What's the constraint between skeletal particles and bones? And can I disable it?
Posted by: kodra - 08-04-2024, 07:30 PM - Forum: Obi Softbody - Replies (3)

When the "Skeleton Sampling" is enabling when generating particles from the softbody blueprint editor, the generated particles since to move along with the bones. My questions are:

1. What's the constraint taking place here? Distance? Pin? Shape matching?

2. Can I disable it? In other words, I'd like the particles to be generated at the positions of the bones, but I'd like them to work just like volume particles and surface particles: bound to other particles by shape matching constraints, but not bound to the bone.

Print this item

  Obi renderers (particles, fluid, all of them) randomly stop working upon Pause button
Posted by: kodra - 08-04-2024, 07:15 AM - Forum: General - Replies (1)

It seems that Obi renderers randomly stop working when the "Pause" button is pressed in Unity editor.



Please take a look at this video. The fluid just disappears and reappears randomly. Sometimes it works sometimes it doesn't.




It has nothing to do with my custom SRP, since the exact same issue happens with URP as well (see above).

Print this item

  ObiFluid prints a lot of shader warnings
Posted by: kodra - 08-04-2024, 04:42 AM - Forum: Obi Fluid - Replies (1)

   

ObiFluid (7.0 in this case) prints a lot of shader warning to the console upon entering the play mode.

I suppose these can be safely ignored. However it's very inconvenient to develop/debug anything when your console is spammed like this.

Typicial warning is:

Shader warning in 'ParticleGrid(Clone)': signed/unsigned mismatch, unsigned assumed at kernel BuildFluidDispatch at ParticleGrid.compute(359) (on d3d11)

One possible solution seems to be adding this in MathUtils.cginc:

#pragma warning (disable : 3203)
#pragma warning (disable : 3206)

But I don't think it's necessarily a good idea, and even if it is I'd hope to get it officially fixed, otherwise I'll have to manually put these lines every time I upgrade Obi version.

Print this item

  Emitter from mesh vertices?
Posted by: kodra - 08-04-2024, 04:22 AM - Forum: Obi Fluid - Replies (2)

Is it possible to just assign a mesh to ObitEmitter and make it emit one particle per vertex? I don't want to voxelize the mesh or anything. Just emitting from each vertex.

Print this item

Pregunta How can i pin cloth to softbody
Posted by: superbad714 - 07-04-2024, 03:55 AM - Forum: Obi Cloth - Replies (1)

Hi, i plan to simulate gluing cloth to a softbody, and glued cloth also can be pulling off.I try to use obi attachment doing this,but it require rigidbody for dynamic attachment, how can i do this without applying rigidbody to obi softbody?Any help would be much appreciated. 

Print this item

  How can I make Fluid not look like grains?
Posted by: KBTIT_ - 07-04-2024, 03:20 AM - Forum: Obi Fluid - Replies (2)

ObiParticleRenderer Obi Solver and Obi Emitter look like grains, not liquid.
Using a blueprint that looks like a liquid and uses "FluidViscosity" And "FaucetAndBucket" in the Sample did not solve this problem.


This Obi Fluid Renderer description may be relevant.
http://obi.virtualmethodstudio.com/manua...ering.html

However, specifying the Emitters placed in the scene in the Particle Renderers of the Obi Fluid Renderer did not change the appearance.


Also, all the Obi Fluid Renderer values for "FaucetAndBucket" in the sample "FluidViscosity" look default.

Print this item

  What are "fixed particles"?
Posted by: kodra - 06-04-2024, 07:35 PM - Forum: Obi Softbody - Replies (1)

The API document of ObiSoftbody has this description:


Quote:override void Obi.ObiSoftbody.UpdateParticleProperties()
Recalculates shape matching rest state.
Recalculates the shape used as reference for transform position/orientation when there are no fixed particles, as well as the rest shape matching state. Should be called manually when changing the amount of fixed particles and/ or active particles.

I wonder what "fixed particles" and "active particles" are, as I can't find a way to paint a particle fixed or active in the blueprint editor. Does "fixed" just mean the particles attached by ObiParticleAttachment, or are they two different things?

Print this item