Author Topic: Interesting Matedit and Viewport performance behaviour - please test  (Read 2791 times)

2015-08-06, 13:54:35

pokoy

  • Active Users
  • **
  • Posts: 1862
    • View Profile
A small interesting thing I just came across.

I have a camera animation in a static scene. The material editor (classic) is filled with some of the scene's materials, Corona is set as main and Matedit renderer.
I am getting interesting results on how the playback in the viewport performs based on the Matedit renderer:

- Matedit opened, Corona set as matedit renderer: playback crawls
- Matedit closed: playback is perfect

Now change the matedit renderer to Scanline.

- Matedit opened, Scanline set as matedit renderer: playback is perfect

Now change the matedit renderer back to Corona.

- Matedit opened, Corona set as matedit renderer: playback is perfect

So, I need to set the Matedit renderer to Scanline and back to Corona again to make sure viewport performance has no hit. If I don't, viewport playback will be very slow.

Any idea why?

2015-08-06, 14:21:16
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8850
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I had similar instance about a week ago (post 1.1 build). Single sphere has CoronaMtl applied with gradient ramp in diffuse slot. I turned on show in viewport for that gradient ramp and viewport performance dropped to 1-5 fps. Then assigned standart material to that sphere, plugged in that same gradient ramp, turned show in viewport on and fps was in range of hundreds. After scene reset i wasn't able to reproduce it, hence didn't reported.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-08-06, 14:50:04
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
I could not reproduce any of these, fps perfectly fine with mateditor with Corona/Scanline, also checked that one with gradient ramp. Can you provide some more details?
-are there some very hi-poly objects in your scene?
-large bitmaps? max bitmap or corona bitmap?
-what system specs?
-do you have "improve quality progressively" checked or not? (viewport settings)
-what is your max displayed texture resolution? (viewport settings)
-what display mode? shaded? realistic?

by the way, thanks to you I discovered a really nice bug, logging to mantis right away:
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-08-06, 15:36:12
Reply #3

pokoy

  • Active Users
  • **
  • Posts: 1862
    • View Profile
My specs:

- approx 1 mio faces displayed
- background image applied (but has no effect, tested)
- improve quality progressively checked (how would this work fine with Scanline but not with Corona?)
- max res 2048 everywhere
- realistic, skylight as scene light (realistic or shaded doesn't matter for me, happens in both modes)
- matedit sits on second monitor

Nvidia GeForce GTX 770, Dual Intel E5-2650 v2

Glad you found another bug, kill it!! :)

EDIT
I had this UI thing happen too but couldn't figure out what triggered it. Good catch!
« Last Edit: 2015-08-06, 15:44:21 by pokoy »

2015-10-22, 20:10:30
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Hi,
can you check if this is happening in the latest daily? There were some performance fixes related to material editor.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-10-27, 18:36:39
Reply #5

pokoy

  • Active Users
  • **
  • Posts: 1862
    • View Profile

2015-10-28, 14:48:07
Reply #6

pokoy

  • Active Users
  • **
  • Posts: 1862
    • View Profile
Tested and can't reproduce anymore, playback is same for both Scanline and Corona.