Author Topic: Corona 1.01.00 CoronaBitmap slower than Max's Bitmap  (Read 8069 times)

2015-06-17, 21:57:48

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Hi,
Today I installed Corona 1.01.00 and tried it on scene I'm currently working on. Unfortunately I've noticed that Corona 1.00.02 DB 2015-06-16 1.01 RC2 rendered my scene a bit faster. I read that using CoronaBitmap should speed up rendering process and I converted all Bitmaps to CoronaBitmaps using Corona Material Converter. Render time grown up for 26%.
Statistics are in attachments.
Also I've done the same with another scene and I've got 12% longer render time with CoronaBitmap instead of Max's Bitmap.
DUAL Intel(R) Xeon(R) CPU E5-2660 @ 2.20GHz, 32GB of RAM

2015-06-17, 22:44:14
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
hi, can you try the comparison without those trees?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-06-18, 00:03:57
Reply #2

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Sure.
Forest (600 trees), bushes and grass (about 800K tufts of grass (not visible from this point of view)) are made using Multiscatter, plus some trees are corona proxies manualy placed. Stones are scattered by CoronaScatter.
Here are the statistics without trees, bushes and grass. Pass limit raised to 40. When I first time redered after conversion parsing took 10sec, here is statistic about 2nd render.
Some strange thing happened with the bottom of the roof with CoronaBitmap version. You can see this place closer on attachments with Bitmap and CoronaBitmap. BerconTiles+MultiTexture used here to texture this surface.

2015-06-18, 11:44:22
Reply #3

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
is it possible there is duplicated geometry (2 coplanar faces) under the roof?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-06-18, 11:53:53
Reply #4

hubrobin

  • Active Users
  • **
  • Posts: 61
  • Light transport ninja
    • View Profile
Hey Bormax,

this doesn't look too good indeed, but I would need the data to make some sense out of it. Would it be possible to get your scene? You could upload it privately through 'https://corona-renderer.com/upload/'.

Thanks!

Robin

2015-06-18, 13:24:39
Reply #5

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Hi guys!
Ondra, I've checked geometry - there are no coplanar faces in that place.
Robin, this scene is quite big and it includes xrefs (buildings on background). Do you need whole scene or I can save some part of this scene, if you have any ideas what objects can cause these problems?

2015-06-18, 14:41:33
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13741
  • Marcin
    • View Profile
I would guess it's bercon/multitexture problem.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-18, 16:12:02
Reply #7

hubrobin

  • Active Users
  • **
  • Posts: 61
  • Light transport ninja
    • View Profile
Hey,

we could just start with that roof problem. Maybe it will give some ideas about the slow down. So if you could just send me the roof.

Thanks,
Robin

2015-06-18, 16:43:52
Reply #8

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Yes, Maru is right - texture problem caused by combination of BreconTile+MultiTexture.
Here is small test.
But what about render time? I made some test with MultiScatter today - simple scene with 50 copies of one tree scattered
1. by Multiscatter using Bitmap and CoronaBitmap.
2. by CoronaScatter using Bitmap and CoronaBitmap.
3. scattered manually using Bitmap and CoronaBitmap.
All these variants gave much longer render time with CoronaBitmap.
Last thing I've done I've replaced CoronaBitmap in opacity slot by regular Bitmap - render time is the same as in case of use only regular Bitmap everywhere.

All those renders are PT+UHD Cache. Tried PT+PT - the same results

BTW, how to put an image in between the rows, not only on the bottom of the post? :)

2015-06-18, 17:25:31
Reply #9

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9282
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Just to rule obvious out - what interpolation did you use in CoronaBitmap?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-06-18, 17:34:05
Reply #10

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
I used default Bilinear interpolation

2015-06-20, 12:04:55
Reply #11

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
From my tests it's clear that using CoronaBitmap in opacity slot slow down rendering process. Using CoronaBitmap in all other slots doesn't speed up rendering. Now it's interesting for me - am I the only one who have this issue?

2015-06-20, 12:16:04
Reply #12

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9282
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I didn't notice slowdown with opacity maps, but i haven't made much testing with it. As for general speed, i tend to agree, most of my scenes shows virtually no improvement with CoronaBitmap and few renders even slower. Although there was some cases where CoronaBitmap advatage was clear. And there's recently discovered bump issue... Well, i still undecided if i want to go fully with CoronaBitmap yet.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-07-01, 14:51:12
Reply #13

hubrobin

  • Active Users
  • **
  • Posts: 61
  • Light transport ninja
    • View Profile
Hey,

We have made a change in CoronaBitmap that should fix this. Once the next build is out you can give it a go.

Cheers, Robin