Physics Performance Failures

Uploaded is a screen shot of my scene. Everything in this scene is status with the exception of the glass of wine on the table. It was supposed to be a glass mug of Beer with a head on it, but although entire factories and automobiles can be created in this app… a beer impossible. So white wine is it… the script writers with have to adjust. When the character is added the glass of wine will be the only thing at this point he will pick up and move. Nothing Else!
I was also suppose to be a dark and stormy night, needless to say I gave up on that also.
I turned of the Candle Flame Emitters while working, I mean waiting my time for weeks on the beer, er now wine… and just turned them all back on.

With the Stage Lights on… it took 50 minutes to render the viewport… which by the way, is the longer the app has run with locking up or crashing my computer.

It finished, or I think it did, but my beer, uh sorry, white wine is black, and then is locked up.

So according to Reallusion I am supposed to connect live to this and drop my character in while I capture his animation in IClone 8 and Record it in Onmiverse… I really don’t see that happen unless someone there can help set this so that it will perform better.

Oh yes, I still have a laptop to add to his table, no physx, and an Hour Glass ( I was planning on physx) and the character himself has a halo that will in some sparks… (phyisx)…

Processor: 12th Gen Intel(R) Core™ i9-12900K 3.20 GHz
RAM: 128 GB (128 GB usable)
GPU: Nvidia RTX 3080

If this is not possible… I need it in writing,

Thanks, Tuck

Ok some thoughts.

  1. You want this to be in the RTX Realtime, not RTX Pathtracing. If you want to connect live and do things “live” then you need to be in “realtime”, hence the name. The lighting is not quite exactly the same, but you can achieve this look easily in realtime with some tweaks. Path tracing is our “offline” renderer.
  2. A single 3080 (laptop version) is not a bad gpu, but it is not our highest performance GPU. If you are looking for more performance, you would need a workstation with more gpu power. However a simple scene like this should be rendering in 50 seconds max, not 50 minutes. How many passes? What resolution ? 50 minutes for an 8k rendering at 10000 passes does seem possible. But for 100 passes at 2k, this should be 30 seconds max.
  3. As you have mentioned, this kind of scene and workflow is not our primary focus. We can do creative scenes like this, but I would have to take a look at your file.
  4. You need to separate the static scene performance issues, from the physics and then we can get a clearer understanding. I would remove ALL physics and all animation and focus on getting the scene correctly lit and rendering at 60fps in realtime mode.

If you send me the scene, I am happy to take a look and see what is causing it to render so slowly. The best way to send me the entire scene with everything is to “collect” it. To do that, go to File > Collect and it will make a whole new folder with everything in it. Zip that folder up and post the link here. You can use online file sharing like dropbox, onedrive, wetransfer etc.

The link to the USD file is:
https://www.dropbox.com/scl/fi/6zmu62upaeeve4uz5hnzt/Shepherds_Pi_Attic.usd?rlkey=n7dv1nbevv75fnlgctu3lg0dp&st=312mec0b&dl=0

So, my computer is a desktop and when assembled two years ago, it was with the best intel processor, max 128 of Ram, and an above average RTX OC 3080 12Gig Graphics card… it was built for this project and has worked well with Character Creator 4, iClone 8, Blender, Marvelous Designer, and Substance Painter 3D.

All of these other than the first 2, I was not planning on… but oh well… now just about the time to create physx (fire, beer, hour glass, halo)… Reallusion announces that Omniverse is now their Renderer and no longer supports their Iray renderer. Great! Another application to learn, because the lights don’t pass over, nor do the physx.

So I started with my original tv studio set, that I believe you helped me with the lighting, but decided to simply the set to a small Attic Room. And thus here we are.

My first go was in Real Time, but when I tried to see what RTX would like like… there were a lot of problems… so I stayed in RTX until everything was fixed… back to Blender, pass through iClone, bring in the new USB… and eventually I was ready to put better textures on some of the assets. I tried not to move things simply because I had no idea if this will sync up with the iClone file… but yes some things have moved… when I open your USB I get on material textures.

Anyways that is why I am in RTX. Also I cannot run in Iray because it never completes loading everything.

Okay… I reset all of the Preferences…

When I render in Real Time,… things disappear… and the quality is less. Now with that said It made be that I can record with the viewport in Real Time but the file create in RTX - Interactive? I have not gotten that far.

I Also reset all of the default for the renderers… but turned but on the Common Flow check boxes and increased the bounces just enough to make the wine glass clear and the wine clear yellow.

There is just no way a Character can still in the chair and be animated and drink the wine as he chats with the camera… because iClose 8 also has to run with its motion capture camera and hand sensor running.

Tuck

Thanks for the file, but this is just the basic USD file. I could use the textures, references etc. Go to FILE > COLLECT and it will make a new folder with everything in it. Zip that up and send it

Ok I have managed to open the raw USD file even without materials. Just opening the scene and putting into 1080p resolution in realtime mode, on a single 3090 I am getting 30fps when rendering and 110fps when eco mode kicks in. When I play the animation it drops to 14fps

Scene breakdown:

  1. you have made every flame on the candles a flow emitter with its own flow simulation. That takes a lot of GPU and CPU power. If I turn FLOW off it goes up to 20fps when playing
  2. if I delete the physics sims as well as turning off FLOW, fps jumps to 60fps !
  3. in your environment lighting you have BOTH a domelight on and the skysphere on. You really pick one or the other by default, not both. If you keep the domelight on and turn off the skysphere again the frame rate doubles. I would keep it off.
  4. having reflections on in realtime costs you about 26 fps
  5. having translucency on in realtime costs you about 18fps
  6. materials is costing you about 25fps
  7. you are using a lot of translucent objects. That is really going to slow it down
  8. you are using both illumination from the FLOW objects and also manual normal lights. So you are doubling down there.
  9. you could get away with just ONE light per candle trio, rather than using all three.

There is a lot more to go through but this gives you a start. Like any renderer, you have to know how to tweak and optimize it. More of this, less of this.

The first thing you need to do is decide between the realtime 30fps renderer for realtime animation, or the offline pathtracer which is ideal for single frame high quality rendering or long offline sequence rendering.

If you send me the entire scene with the collect tool, I can take more of a look.

Please remember this is Not a LAPTOP…
Of course if I remove all of the particle physx it will run much better… but that is not the point. The bottles on the shelf are glass and have clear fluid… but since these are static they are not particle physx… but the are translucent.

I will check on the sky vrs dome.

I did go through and merge most of the duplicate meshes, there are a few more to go, and duplicate materials.

I wondered at the time if the 26 candle flame emitters could also be merged? Since they are not Static Meshes I could not find a way to merge them. All of them were created from the WispyFire Preset. Originally, I was hoping to get enough light from the candles without having bonfire over each candle, but I could not figure out the combination of the all those settings to emit more light with lower flame. Without enough light, I had to add an actual light to light the scene, even though demo video said that in RTX-Interactive I would get flame light and glow… I never did.

I believe the illumination you are taking about is the candle wax and the red tip of the wick. the candles could not be seen at all without their illumination. The wick glow was originally limited to the table candles (since most camera shot will be up there on the character sitting) but when I merged meshes, it made them all the same.

So… If you can tell me or direct me to instruction on how to…
(1) merge 26 candle flames into 1 emmitter
(2) how to get more light from the flame without increase it’s size so I can remove 25 light bulbs.

I can to that before sending you the collect USD.

Tuck

Well for 2) You can turn off ALL lights in the scene and then set the AE exposure to about 2000 and you can light the scene really nicely with just the candle flames. It renders slow and needs a lot of render passes but it looks amazing !! Once you send me the usd scene in full, I can show you.

The dome light comes in automatically with the Environment Sky selection it is a part of that preset contruct. I wondered, because in general I hate dome lights.

Collected USD

https://www.dropbox.com/scl/fi/gnmf6ircfx632c5al3gf9/Collected_Shepherds_Pi_Attic.zip?rlkey=r0q172s14wqwacjy1otht5rje&st=ya2nz78a&dl=0

Other than the candles and two back wall lamps… there are 4 special lights… 1 behind the bottles on the lower shelf, one one the last candle in the left corner to light the books on the upper shelf, and one on the opposite side last candle to light the awards on the fireplace, and the last is in wine glass to light the wine.

I merged the remaining duplicate meshes.

Tuck

Richard,

Also when I ran the Scene Optimizer… it listed a variety of errors, most of which seemed to be program related. Still I ran the fix and gave the same reason for not repairing many of the issues it found?
I feel like perhaps I am missing an update somewhere.

What version of Composer are you running ?


You should certainly keep adaptive rendering for this OFF. And for REALTIME mode keep Ray Reconstruction ON

Version is 2023.2.5
I found Ray Reconstruction and turned it on…
I did not find adaptive rendering… did you mean adaptive sampling?

Since I merges all the wall wicks meshes into one… I wondered it I could apply the WispyFire emitter to the merged wick and delete the 24… so I tested the theory.

Sadly, not only did that not work… the table candles did not light, not the fireplace or wine liquify… soooo… learned something there.

yes sorry “adaptive sampling”. I would turn that off.

What GPU card do you have?

I have a 3090 on one machine and dual A6000s on another. Both work fine with your scene

Can you load it into RTX Accurate (Iray) on your 3090… ?
You said something about combining the Whispy Fires?
And checking all the errors on the Scene Optimizer?

Appealing to Nvidia for help with 4090 since they appear to be out performing a A6000. And although still expense for me… a lot better than the A6000. And remember I need to run iClone8, Motion Capture Face and Hands/// live link to Omniverse, render and record.

You wouldn’t happen to have an email for the US Hardware Marketing/Sales Group would you? For a guy disabled in Afghanistan?

Oh and can we please check with any of the Physx Developers for suggestions on how the liquid Beer Foam might float sit naturally on top of the liquid Beer? I can keep them separated, but the foam always sinks to the bottom of the mug regardless of the density. Or using the settings to generate the sea-foam on the liquid beer all the time?
I’m getting push back on the wine, I think they are hoping for a Beer sponsor.

Yes I can load your scene into RTX Accurate on my 3090.