Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Fluid Creation help
#1
Hi people, hope you all are well.

I am going to pay for the OBI unity asset, and i have checked the documentation.

I have a question about creating a cup filled with liquid to be used for VR game, i couldn't figure out how to do that in the documentation.

All what i found is to create emitter to provide liquid flow.

If i have the cup and liquid as mesh objects (as attached image), how can i turn the liquid mesh to be a liquid, so when the scene starts 
the liquid simulated stable in the cup, so i can interacting with VR controllers to simulate liquid moving.

I really need to know if i can do that with obi before pay for it.

Thanks in Advance

Ref Image:
https://drive.google.com/file/d/1e9BGLjp...sp=sharing
Reply
#2
Hi there,

Quote:If i have the cup and liquid as mesh objects (as attached image), how can i turn the liquid mesh to be a liquid, so when the scene starts 
the liquid simulated stable in the cup

Just add a ObiEmitterShapeMesh to your emitter, set emission mode to "burst" so that all particles are emitted instantly, and you're done. See: http://obi.virtualmethodstudio.com/manua...tters.html

Quote:Emission method

Emitters can use one of two emission methods:

Stream:
Particles will be constantly emitted, as long as there's at least Min pool size particles in the pool.

Burst: <--- this is the one you want to be using.
One particle for each of the emitter shape's distribution points will be generated in a single burst.
Reply
#3
(20-09-2022, 08:49 AM)josemendez Wrote: Hi there,


Just add a ObiEmitterShapeMesh to your emitter, set emission mode to "burst" so that all particles are emitted instantly, and you're done. See: http://obi.virtualmethodstudio.com/manua...tters.html
Thank you very much josemendez, 
Last thing i have to ask about how to add obi fluid renderer to oculus VR camera
Reply
#4
(20-09-2022, 12:58 PM)m.mokhtar89 Wrote: Thank you very much josemendez, 
Last thing i have to ask about how to add obi fluid renderer to oculus VR camera

You need to use separate cameras for each eye, as the renderer does not support stereo rendering. See our FAQ:

http://obi.virtualmethodstudio.com/faq.html

Quote:Does it support VR (Virtual Reality)?

Cloth, Rope and Softbodies support VR. For Obi Fluid, you will have to use separate cameras for each eye since the renderer does not support single-pass stereo rendering.
Reply
#5
(20-09-2022, 01:09 PM)josemendez Wrote: You need to use separate cameras for each eye, as the renderer does not support stereo rendering. See our FAQ:

http://obi.virtualmethodstudio.com/faq.html
Very Good
I think that when XR plugin enabled for oculus, something went round with fluid color, it's become transparent
Reply