Author Topic: Interective render slowing max when run in invisible viewport  (Read 5106 times)

2016-05-06, 16:32:10

sprayer

  • Active Users
  • **
  • Posts: 803
    • View Profile
Do not know how to search at mantis, so post here.

3ds max viewport is slowing down badly with interective render then maximize viewport toggle, like it rendering at background but CPU is idle, sometimes lags very very bad

Here steps to reproduce:

Interpretive render on.
isolate selected object.
maximaze viewport toggle
rotate view will lagy

also if you hit new scene with IR on, IR window will flickering, if open last open scene it will ok
« Last Edit: 2016-05-08, 19:48:33 by Ondra »

2016-05-06, 16:36:17
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13722
  • Marcin
    • View Profile
When IR is on, the CPU cannot be idle. What's your CPU and GPU?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-05-06, 16:43:52
Reply #2

sprayer

  • Active Users
  • **
  • Posts: 803
    • View Profile
Cpu go idle then i maximize viewport with isolated object

i5 4670k gtx 960
« Last Edit: 2016-05-06, 16:50:38 by sprayer »

2016-05-06, 22:25:33
Reply #3

sprayer

  • Active Users
  • **
  • Posts: 803
    • View Profile
it's me again ))
Can you tell me behaviour of image usage at IR? As usual my work pipeline 3ds max is open with ready scene for render, i drawing in photoshop texture, replace texture for max, go to max it update in viewport and ready to render, but in corona with IR on having troubles, photoshop can't replace file, says it already using or start to save file create .tmp and hang process, if i l save in another folder and replace after going to 3ds max it can crush

2016-05-06, 23:06:34
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
If you do any changes to texture file, 3ds max will crash if active renderer is set to Corona and that texture is loaded into material editor through native bitmap loader. That is a known issue. Use CoronaBitmap loader instead - it shouldn't crash.
 
If you have questions about workflow, please create separate topic in I Need Help board. Do not litter Bug Reporting topics with unrelated messages as this increases chances that your report will be overlooked.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-05-07, 15:43:48
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
The whole scene gets reparsed in the resolution changes. This is a limitation on corona side that has some justification (resolution does not change often, some of the very basic components of the renderer such as pixel samplers and frame buffer need to be recreated, 3dsmax does not allow changing resolution after render started, displacement might need reparsing, ...). Is this your case? If yes, the CPU will go to full utilisation after a moment and the render will start again
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-05-07, 17:33:09
Reply #6

sprayer

  • Active Users
  • **
  • Posts: 803
    • View Profile
The whole scene gets reparsed in the resolution changes. This is a limitation on corona side that has some justification (resolution does not change often, some of the very basic components of the renderer such as pixel samplers and frame buffer need to be recreated, 3dsmax does not allow changing resolution after render started, displacement might need reparsing, ...). Is this your case? If yes, the CPU will go to full utilisation after a moment and the render will start again
I wrote what at maximize viewport has lags worse than then IR working, in veiwport 300fps and cpu is idle but it lags, sometimes veiwport freezing for 30 second, if it's normal with IR at background then ok

I think it's depends of isolate just at maximaze it more laggy

i will try to capture video if you want

here video https://www.dropbox.com/s/xa8jpe8eeh1ino2/bandicam%202016-05-07%2018-52-10-256.mp4?dl=0
at the end more lags, as i told CPU at idle in that moment fps 300+
« Last Edit: 2016-05-07, 18:00:01 by sprayer »

2016-05-07, 22:38:10
Reply #7

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
oh, I see it now. This is because the 3dsmax tells the interactive window it has size of 12*16px, so extremely small render runs. We will look into it after 1.4
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-05-07, 22:50:21
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Man, gotta love that 3ds max and its logic :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures