Author Topic: Hold displaced geometry in memory  (Read 3626 times)

2015-12-04, 00:18:22

Ricky Johnson

  • Active Users
  • **
  • Posts: 108
    • View Profile
I think it would be useful to have an option to hold displaced geometry in memory after a render if possible - say, something like a checkbox in the Corona Displacement Mod to enable.
For running repetitive tests on displaced objects I find the calculation time for the displacement can really build up.

If the object were held in memory it would also be great if it could be imported into the scene as a mesh. Again as an option. A bit like with a proxy. It would be nice to evaluate exactly what the displacement is up to now and again.

2015-12-04, 13:29:45
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
You can use IR for this, but it can easily lead to something like this [attached].

The preferred solution would be to use max's "displace" modifier to see the displacement in real time at lower quality.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-12-04, 15:30:43
Reply #2

Ricky Johnson

  • Active Users
  • **
  • Posts: 108
    • View Profile
You can use IR, yes. I might be in the minority here, in fact I'm sure I am, but I don't like using the IR very much.
I feel as though it's slower to resolve once it gets going, more trouble to set up the precise area from a specific angle that I want to see and is prone to crashing more often - I'm not intending to start any debate about IR, it's just my personal preference to use the standard render. It's likely that 2 of the 3 points I just made about it aren't even warranted! It's technically the same in quality as the standard render isn't it? I suppose I should adapt and get used to it.

I've considered temporarily substituting with a Displace modifier but with the lower possible mesh size, Corona displacement being dependent on it's own size settings and also the workings of the adaptive displacement I wouldn't be sure of matching the result.

There are existing ways of achieving this, as you say. It's far from essential. I just thought it would be a neat option within Corona's own modifier.

2015-12-04, 17:16:23
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13655
  • Marcin
    • View Profile
I feel as though it's slower to resolve once it gets going, more trouble to set up the precise area from a specific angle that I want to see and is prone to crashing more often
To make it render faster, check out "# threads override" in performance tab. But generally it shouldn't be slower than final rendering, especially i it's ran in lower resolution.

If you are experiencing crashes with IR, you should report them in our bug tracking system:
https://corona-renderer.com/bugs/
IR should be stable in the official releases.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-12-04, 18:23:05
Reply #4

Ricky Johnson

  • Active Users
  • **
  • Posts: 108
    • View Profile
IR should be stable in the official releases.

Yeah, to be fair I was using a daily build for a long while between 1.2 & 1.3. I should try IR again.


2016-04-12, 14:30:00
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
yep, the solution here is IR. We might also do some caching of translated geometry in the future.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)