Feature request : Multithreaded 3D Preview...

Started by nixx, April 01, 2011, 10:36:49 AM

Previous topic - Next topic

nixx

...if possible :)

I find that when working in any CG software, previewing is where the power is needed most. You know how it is - you tweak, preview, tweak some more, preview, etc. So a fast 3D preview would be a huge time saver while working on a scene.

In one extreme case, I even had the preview finish slower than the actual 720p render !

So if the current architecture allows for it, getting the 3D preview multithreaded would be an amazing advantage. Perhaps the number of threads used by the preview could be user-defined as well; this way it could be set to less than the max system cores/threads, so that the GUI remains fully responsive at all times.

Would that be possible or would it require major code changes ?

thanks,
nick
I 'm child, and man, then child again; the boy never gets older

Tangled-Universe

This has been discussed by the testers a lot in the testers'  forum and as far as I have understood it isn't very easy to fix.
So I think it's an issue they are definitely aware of, but I don't know what will happen and when if.

cyphyr

Agreed with both of you :)

It would be a great feature but as TU says there are some fairly significant problems to overcome.

For now your best option is to drop your sample settings in the atmosphere and cloud, switch off the water layer, disable soft shadows and disable object previews unless necessary. Basically the simpler you make your scene the quicker it will preview, so there are plenty of optimisations that can be made by the user. Not ideal but you'll at least get faster previews than the render!

Also I always wondered if the "Crop Region" feature could be leveraged to only preview the crop area.

Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

nixx

Thanks for the replies guys.

Good to know that it's been brought up before and that the PS team know about it. I thought it might be hard to implement, I wasn't joking when I said "if possible" :) I know that sometimes even the most (seemingly) simple change or addition may need major recoding (which in turn could break other things, etc).

Cyphyr, thanks for the suggestions, I 'll keep them in mind. However, my current workaround is to make a separate "preview" render node, set detail to 0.1 (or even lower), AA to 1, GI detail & quality to 1, etc. Then I keep its render window open and just manually hit "Render" after every tweak. The result is very similar to that of the 3D preview, and at a tiny fraction of the time ! The only drawback is that it doesn't auto-refresh, and that I have to remember not to keep tweaking while it's rendering. But it's so fast, that's easy to do :)

I hope the 3D preview does get improved in the future, but until then, the workaround works well enough. Oh, and of course it works with Crop Region, too ;)

nick
I 'm child, and man, then child again; the boy never gets older

goldfarb

why not the best of both methods...

a 3D Preview Settings area where things like cloud samples etc etc can be set just for the 3D Preview window...that way you can leave everything turned on but at very low (or high) settings as needed...
--
Michael Goldfarb | Senior Technical Director | SideFX | Toronto | Canada