mantra - rendering delay

   2533   2   1
User Avatar
Member
27 posts
Joined: April 2011
Offline
Hello,

I'm trying to render a rather complex scene – but it takes about 30 second every frame until mantra starts rendering (Rendering takes much less time). Using delayed load didn't solve the problem.
I made a screenshot from the scene, as it is probably to big to upload here.

system : win7 x64 (6gb ram)

Attachments:
water_splash.PNG (111.6 KB)

User Avatar
Member
55 posts
Joined: Sept. 2010
Offline
Are you meshing at render-time? That would be my first guess. Other possibilities: If you have written out your mesh, it is high enough density that it could be taking a bit of time for mantra to load the entire thing into memory. If you are using ray-tracing Mantra will have to build an oc-tree of your scene for use by the ray-tracer. There are other possibilities but those are my first guesses.
User Avatar
Member
27 posts
Joined: April 2011
Offline
I'm not meshing at render time, and i don't think the geometry is dense enough to cause such a delay when loading in memory. ( importing the geometry into Houdini just takes about 5 seconds)
However I noticed that the delay only appears if I use the glass shader :?
I'll attach a screenshot from the task manager which shows the different ram workloads (with/without glass shader assigned).

Generating Image: ip (640x480)
Plane: Cf+Af (16-bit float)
SampleFilter: alpha
PixelFilter: gaussian 2 2
VEX Type: vector4
Dither: 0.5
Gamma: 1
Gain: 1
White point: 1
Load Time: 1.560u 0.234s 3.90r
Memory: 884.79 MB. VM Size: 755.14 MB
VEX Shaders Loaded
opshop/glass stdin.vex
opshop/glass stdin.vex
Thread Count: 4
Creating geometry (/obj/geo1)
Building octree (/obj/geo1)
Object /obj/geo1 displaced 9.00957e-006 (bounds set to 0.05)
Render Time: 31.995u 0.608s 36.15r
Memory: 2.64 GB of 2.72 GB arena size. VM Size: 1.82 GB
Peak Geometry Objects: 2

Attachments:
ram.PNG (48.1 KB)

  • Quick Links