Author Topic: Corona Bitmap + Forest Pack  (Read 4750 times)

2015-08-25, 15:37:46

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile
Hello again guys :)

I found a terrible performance bug in Corona bitmap. I'm not sure if this is caused also by my configuration or not, so I'll list my specs:

i7 3930K@4.2GHz
2x gtx680(non_SLI)
64GB DDR3
3d connexion spacemouse PRO
Wacom Intousos pro
all the maps I use are located on Network mapped drives

The problem exists when I use multiple Forest Pack PRO objects with high poly geometry (Trees, cars with 7 million polygons +) and they have corona bitmap in their materials. When I navigate with my 3D mouse or with normal orbit mode, I have a one second lag every 1-3 seconds. It is really annoying because it slows my performance drastically. What is really weird it doesn't matter if I actually show those maps in viewport or not.

At first I wrote to IToo Software and we have tested all the possibilities. They couldn't reproduce my problem, but they didn't have the 3dconnexion mouse. They directed me to their forum where they explained that there was some problem between Forest Pack and 3d mouse (http://forum.itoosoft.com/index.php?topic=1534.0). They told me to disable auto assign to active view in camera option option and it helped for a while. But with the next project, which uses more bitmaps, I got the same issue. And their solution didn't work. It was really weird because 10 million polygons on my hardware should't be a problem at all. Especially If most of the polygons are hidden. I had this lag even on isolation mode with only one box and no material assigned to it. It just had to be in this problematic scene.

So I started testing everything, turning all the options on and off (took me about almost a week... Like totally not working and trying to fix it... I actually reinstalled whole windows and software from scratch). Finally I tried to convert all corona bitmaps to normal bitmaps with the converter, and restarting the scene. Suddenly I got full performance with no lag. So I reverted all materials to Corona bitmap again to confirm that I found a bug, and this caused my vieport to lag again. I tested it 3 times in a row- converting/reverting and now I'm 100% sure of it: Corona bitmap kills my viewport performance when using heavy Forest Pack PRO objects. The FPS shows constant 50-60Fps but there is a lag. During the lag FPS doesn't drop so it look like max isn't even aware of the lag itself :)

I'll provide the problematic scene and some videos of how it lags when I upload them on dropbox.

Best regards.

2015-08-25, 15:57:27
Reply #1

atelieryork

  • Active Users
  • **
  • Posts: 283
    • View Profile
    • Atelier York
I also have very bad viewport lag when several coronabitmaps are visible in the viewport.

max 2016 sp1. corona 1.2

this is independent of use of FPP.
Alex York
Atelier York
www.atelieryork.co.uk
max 2016 sp1, corona 1.3 final, win 8.1. pro

2015-08-25, 16:01:23
Reply #2

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile
good to know I'm not the only one :)

2015-08-25, 16:18:42
Reply #3

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile
It is probably both: overall performance and FPP related because my scene was going really smooth till I added about 3-4 FPP objects

2015-08-25, 17:12:49
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13698
  • Marcin
    • View Profile
This is known and already reported on mantis. Seems to happen only to a small part of users. Unfortunately WE were not able to reproduce it, even when opening scenes from customers on different machines. Temporary fix is to use standard bitmap. You can automate the conversion process by using the Converter Script: https://coronarenderer.freshdesk.com/support/solutions/articles/5000549705 (CoronaBitmap > Bitmap)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-08-26, 00:11:02
Reply #5

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile
Maru this small group of customers probably use 3dconnexion mouses. Have You got one to test the provided scenes on it?

2015-08-26, 00:57:31
Reply #6

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi. I'm having problems with Corona Bitmap as well, and I'm not using a 3Dconnexion mouse. Problems does also occur in files without ForestPack. Problems are mainly prolonged render-times. I'm using 3dsMaxDesign 2014.

2015-08-26, 10:45:43
Reply #7

mtanasiewicz

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

2015-08-26, 11:14:45
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13698
  • Marcin
    • View Profile
Maru this small group of customers probably use 3dconnexion mouses. Have You got one to test the provided scenes on it?
I don't think so. You could easily check that by connecting a normal mouse. :)
This is definitely some problem with CBitmap and it will have to be fixed. I will take a look at the scene.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-09-07, 15:43:51
Reply #9

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Have you tried it with the latest daily? There was a bugfix in bitmap viewport performance
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-09-08, 13:35:31
Reply #10

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile
Right now I'm in a real rush with many projects so I don't really have time for it. I'll be more availalble at the end of october... Sorry

2015-09-08, 15:26:22
Reply #11

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
no problem, I will move to resolved, but feel free to report any further problems you might have with this
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)