Phoenix for MaYa. iPhone 12 normal size - simulation problem.

The “Use Color From the Particle Channel” is kind of confusing and not intuitive.
What I mean by that sis that the “Use Color From the Particle Channel” it is not at all intuitive.

You document says:

Source:
https://docs.chaosgroup.com/display/…articleTexture

Color From Particle Channel


[/HR]
Use Color From Particle Channel | colorFromPartChan– When enabled, the particle areas are colored using a specified particle channel of the connected particle system

Even if I delete and recalculate the Sim the Use Color From Particle Channel doesnt allow me to change to velocity.

Im sorry to disturb you, but for me it is weird.

EDIT !!! :

MY BAD !!!
I found the way ! Since I copied all in your video I totally forgot, that I turn off the Velocity.

Hope this will help others.
To get the Velocity under the pop-up for the Use Color From Particle Channel → MAKE SURE that you have turn on the Velocity in the “PhoenixFDSource(#)” rollout Fluid Discharge / Lifespan Variation / Output Drag Velocity.

That is the part I was missing.
Sorry my fault !

Ah, glad you figured it out.

Cheers and happy simming!

Hi Georgi,
Hi Svetlin,

Unfortunately I need to reopen this case.
I know it is tedious and Im so sorry about this, but unfortunately I cant understand what is going on here.

There is no logic this time and it is difficult for me to understand.

I will appreciate your Help !

This is the exact same Sim. Nothing at all change.
The only thing I did is turn on and off the " GPU Preview " and as you can see I get with the GPU turned ON 5 Sim Sources.
If I turn the GPU OFF then I see only 2 sources.

How this comes ?
GPU turned OFF
https://www.class-a-strak.com/XBO/C…001___sent.jpg

GPU turned ON
https://www.class-a-strak.com/XBO/C…002___sent.jpg

And now I tried to render the master Render Passes Layer and wrote MaYa:
Fatal Error

After the Fatal Error I render the Image again.

https://www.class-a-strak.com/XBO/C…003___sent.jpg

And this is what I mean.
As you can see clearly turning the GPU Preview OFF the Source Boxes 1,2 and 3 are not visible as a Particles in the viewport.
The Source 4 and 5 appears in the viewport as a particles.

But then in the render appears the Source 1,2 and 3 as a Smoke and not as a “Particle Color (RGB)” as chosen.

This doesnt make any sense for me.
How this happens ? :face_with_spiral_eyes:
How can Im available to render Particles in RGB mode and the same time Smoke ?

Hey,

Let’s move a few steps back. The simulator produces 3 kinds of data:
- Voxels,
- Particles
- Meshes

We are not talking about the meshes in this case, so it’s important to focus on voxels and particles.

Drawing the viewport:
- Voxels (Temperature/Liquid, Smoke/Special, Velocity, etc) get shown from the Voxel Preview rollout.
- Particles are shown from the Particle Preview rollout below it.

Rendering:
- Voxels are rendered as Fire/Smoke by the Simulator node. Their shading is controlled by the settings in the Rendering → Fire, Fire Lights, Smoke Color, Smoke Opacity rollout.
- Particles are rendered via Particle Shader nodes, connected to the Simulator.

The GPU shade preview shows the Simulator voxels, in a similar way to what will be rendered. It does not show the particles.

When turning on the GPU preview, it draws over the voxel and the particle preview, so you will not be able to see the voxel preview or the particle preview.

So from the screens you showed, I would guess that you have 5 emitters, all of them are emitting smoke voxels, all 5 are shown in the voxel and GPU previews, but only 2 of them emit Drag particles and only they are shown in the particle preview.

Is this what is happening in your setup?

Cheers!

Hey,

From what I remember (please correct me if I’m wrong) in your scene you are using Discharge modifiers in the Sources for the Drag particle emission. If you remove them or if you change the settings - all of the sources should be emitting drag particles.

Hi Georgi,

I will contact you as soon.

This is not the same Sim or animation.
This is from another scene.

Any issue from the iPhone 12 it is already solved.
Tis one is from a new scene.
I didnt want to open another Thread since is more or less the same thing.

Yup, if you are using our docs wind tunnel scene as a base - it uses discharge modifiers because there is just one emitter. If you have separate emitter geometries, you don’t need the discharge modifier, so you can remove it and the source will produce particles from all geometries :slight_smile:

Let me check that because the Dischargers are only in the Z direction. (MaYa Z Direction)
Along the Depth/Length of the Sources.

At least is what I understand is: The Dischargers runs in the MaYa Z Direction / length of the Sources and not in the MaYa y Direction.

I use the standard MaYa axis system. There is no changes to this.

But
Strange is that the sources 123 deliver smoke instead of particles.
That means. If I have the Dischargers why they are apply to the Particles and not to the smoke.

=

123 No Dischargers detected and their for Smoke.
45 Dischargers detected and their for Particles.

Is the same Phoenix container and same Sim.

Got it !
But I work differently and I use the Dischargers to give a bit of random Air Pressure. Kind of.

So I thought - by using dischargers, this will give me that effect of different Air Pressure.

I know I can create a lot of Geometry and Phoenix Forces and sources connected tot the Geometry, but this will a mess and I love the idea of the Dischargers !

Hi Gerogi,
Hi Svetlin,

Here are my results which I dont understand completely, but I found a complex and costly solution.
Im not soooo sure if this is the way to do it, but will work. Hope so :wink:

With “Discharger” on Position Z.
https://www.class-a-strak.com/XBO/CH…004___sent.jpg

Some tries and never got the result I look for.
After many tries I decided to make everything separately. If this is the solution I dont know, but it is a lot of work doing in this way for only 1 Container that has 5 “Sources”
https://www.class-a-strak.com/XBO/CH…005___sent.jpg

BTW!
Why the simulation works ONLY in the Master layer ?
I have one “Render Pass” that has the correct geometry “the exterior of the car” and then when I run the simulation the geometry is COMPLETELY ignore.
So I need to which always to the master layer.

This is not good, because if I need to make a test with an specific shader (“Render Layer”) then I need to run the simulation first in the Master Layer and after the simulation is finish, then I can switch to the “Render Layer” that I need for the “Test Render”

Hey, please check this page for info on the Grid space and Z axis: Phoenix for Maya

You setup emits particles only from the bottom two boxes.

This is because the discharge modifier controls how many particles are emitted vertically.

You have 5 boxes in different positions vertically.

You have 6 (SIX) spikes in the discharge modifier diagram.

If a spike is not where a box is vertically, you will not get any particles emitted:

Ok. I see your point.

BUT NOW
Even if I dont have any dischargers - Discharger/Source = NONE why I just get 1, only one RBG particle showing ?
The other 4 Sources shows as a smoke.

Do you get my point ?
1 Sim
5 SOurces
1 Discharger with many points
____________________________
Result:

Result 1: With 1 Discharger particles shows from 2 sources.
Result 2: With 0 Discharger particles shows from 1 source.

Why is this ?[quote=“Svetlin.Nikolov, post:32, topic:103214, username:Svetlin.Nikolov”]
This is because the discharge modifier controls how many particles are emitted vertically.

If a spike is not where a box is vertically, you will not get any particles emitted:

[/quote]

I already got this.
My point here is:

Why if I dont have any Discharger at all - why I need to create:
4 times more - “Particles Shader” so I can see 5 Times Particles coming out from the 5 sources.
and
4 times more - “Fire (Icon)” so I can see 5 Times Particles coming out from the 5 sources.

So I need to add more icons in my scene and all for every single Source (Cube).
But by using the Discharger and if Im lucky and the Point I added it is close to my Source (Box) then with only 1 Phoenix icon I will have Particles coming from my sources.

So if I use the discharger and my added points are close to my Sources then I have colored Particles.
BUT
If I dont have any Discharger then I need to create a Icon jungle and every single icon needs to be added to a Source. So 5 Particles Shader Icon + 5 Fire Icon need to be connected to 5 Sources and when every single Icon is connected to the Sources (Cubes) then I can see my Particles. All this for 1 Sim Box.

About Dischargers:
For me Position Z is MaYa Axis Z.
What means Position Y in the Dischargers ?
What means Position X in the Dischargers ?

If I select my Sim Box shows me exactly the same axis as the MaYa Axis System.
So … In my Brain when I read Z is Object Z Direction.
If the Sim has the same exact Z Axis Direction then why Vertically ?

Now I need to test what means Position X and Position Y for the Dischargers.

I need to make again a Video so you see what happens.

Hey,

Multiple emitters in one Source is supported and working.

Multiple particle systems in one Particle Shader are also supported and working.

When you have trouble understanding your scene, break it down into smaller parts and study them separately. This will help you not only with Phoenix, but with anything else as well :slight_smile:

I suggest:

(1) Create a new scene.
(2) Add 1 Simulator, 1 Source, 5 geometries.
(3) Add the 5 geometries in the Source and see that they are all emitting smoke and temperature.
(4) Enable Particles in the Source and simulate - see that all emitters create particles as well.
(5) Then add a Particle Shader. Add all 5 particle systems to the shader’s set. Render and verify that all 5 particle systems are being rendered.

Please try this and then we will continue :slight_smile:

:wink:
I do always a clean scene when I have a huge trouble that I can understand what is going on :sunglasses:
This is the way I work all the time.
As an example are the dischargers in the iPhone case. This is exactly how I understood that every pick needs to be exactly in the source position so the particles or will be emitted from the sources :sunglasses:
This is the way I learn and understand things :stuck_out_tongue:
And that is the way I solve any problem and still not clear why is not RENDERING properly.

I will make a Video so you can see that Im having issues while I render.
But thank for your support !

P.S.: I never ask for help if I didnt make my research and tries at least 3 to 5 days. After that then there is something that I can understand properly or there is a Bug.
This is always my method to try and learn alone :wink:
I scape always to ask for help exactly because this …

After this I will need to do my own test what is exactly Discharger Position X, Position Y and Position Z because still not clear for me. XYZ is among the Object direction and MaYa system axis.
Since 3ds work with the Z Up I guess you are using the same Z Up Axis in MaYa when MaYa has a Y Axis Up.

Can be that is EXACTLY the reason why Position Z for a discharger is getting affected in the Y Axis in MaYa ? Becuase the Z Axis in MaYa is not vertical. It is parallel Axis.

Alrighty then, if possible, please record a video or send the scene over.

Thanks!

Hi Svetlin,
I know you are mad and angry at me that I respond to this again and I suppose to not understand how things work in Phoenix.
You are totally right. Im new with Phoenix !

I already repeat this many times and I started a new scene and actually you can make the test yourself.

As I already said - I did already create this issue 3 Times and any time is the same result. So I cant tell you what is wrong.

You can have a look into the video under the link below - “All file sources under” .

The file contain also the files which I use to create the last test for the video. The fourth test.
For the discharger file please understand what I mean with XYZ Axis System in MaYa
and not
XYZ Axis System from 3ds max.
The YZ Axis for the “Position Discharger” in the Phoenix Sources are exactly the 3ds max Axis System.
I didnt tried the other ones, but I guess is exactly the same !

All file sources under:
https://www.class-a-strak.com//XBO/C…OBLEMS_BUG.zip

Side Note:
I understand as a developer that get enough of a new Guys, but even if Im new before I post something anywhere I do a EXTREME research.
I dont spam or open threads just like that.

The other test with 5 Emmiters and 5 Sources I didnt make it.
It is a lot of testing and Im not a beta tester or Chaos certificated tester.
I just share the problems I have in my situations.

As you can see I did a lot of tests. (Simulation test, applying test, rendering test, etc…)

OH BTW!
Why if I change the name of my Sources (Boxes) will just add new “Particles of Particles” instead of deleting them.
It can be a huge unused library of “Particles of Particles” (You will see a situation in my example where I change the name from Box_01 to Box_01___NAME_CHANGED).

Wile I change the name to my sources then I need to reconnect them again, because the “Particles of Particles” are connected to the name before.
Ah… you will see in the video.
It becomes really complex and understandable.

Is there a way to delete via script in a Window where I can see all the “Particles of Particles” in my scene so I can delete all the unnecessary “Particles of Particles” ?

Doooon’t worry, it’s not easy for me to get mad :smile:

So I am first checking your scene:
2021_04_10___Sion_2016___PHFD_TEST___WIND_TUNNEL__ _001___SIM_FAILED_sent_.ma

Your Source emits from all 5 boxed, this is correct.

However, your Particle Shader is connected to just 2 of the 5 particle systems the Source creates from the 5 boxes.

So when I turned off rendering of the Simulator and rendered only the Particle Shader, here is what I get:

This is one mistake you made - you need to plug all five particle systems into the Particle Shader’s phxParticle_set1.

Here is how this looks when I added all 5 systems:


Then, I am checking the second scene:
2021_04_10___Sion_2016___PHFD_TEST___WIND_TUNNEL___001___SIM_FAILED_sent___DISCHARGER.ma

Here you are using the Discharge Modifier in Grid space. I will link again the docs on the discharge modifiers because maybe you did not read carefully when I send them to you before:

This time I will point your attention to the part you are missing:

I hope it makes more sense now.

Please ping me if you have any other questions :slight_smile:

Cheers!