Announcement

Collapse
No announcement yet.

Render crashes with displacement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Render crashes with displacement

    Hi guys!

    I'm facing an annoying error.

    I'm rendering some archvis at the moment, couple of tree proxies, vraysun+sky, physcam and grass with displacement.

    When I try yo render the scene with all the bells and whistles enabled - it crashes. When I disable displacement - all is OK. When I hide the proxies - all is OK.

    Memory usage without displacement - about 650 megs.
    With displ - ....2,4 gigs

    I think this can be a memory issue, but I'm not sure....

    vraylog gives me this:

    error: UNHANDLED EXCEPTION: Irradiance map thread
    Last marker is at .\src\displacementfunc.cpp, line 196: Done evaluating displacement function

    ...and then CTD


    also the crash is resolution dependent - below 1024x576 all is fine, above - CTD.

    I'm on 32bit max 9, xp pro 32, 4gigs/3GB switch, vray 1.5sp1


    any thoughts?



    cheers!

    Maciej
    the purpose of a ninja is to flip out and kill people.
    the purpose of an architect is to flip out and design for people.
    ________________________
    www.1050.pl / www.kinetik.pl

  • #2
    Under the Vray:System rollout, change the "dynamic memory limit" from the default 400MB to 3000MB. Even with default geoemtry set to static, displacement and vray proxies use dynamic memory.

    If this doesn't work, are you using 2d or 3d displacement for your grass?

    Comment


    • #3
      What are the settings on your displacement grass?

      Comment


      • #4
        Memory limit is 3000.
        Tried less - no change.

        Geometry type is set to 'auto', tried 'dynamic' - CTD.

        Displacement settings on the grass object are:
        3d mapping / edge length: 1.0 / max subdivs: 16 / tight bounds: no /
        use obj mtl: yes / keep continuity: yes / edges threshold: 0.01

        The object itself is imported from Archicad. Welded, subdivided (subdivision size - 0.2m), textured, mapped, displaced, crashed...

        Displ is from a b/w bitmap.

        As You can see - nothing fancy...
        the purpose of a ninja is to flip out and kill people.
        the purpose of an architect is to flip out and design for people.
        ________________________
        www.1050.pl / www.kinetik.pl

        Comment


        • #5
          ah, it is your edge length. If 2d doesn't work for you, up it to around 8 and then just lower until it starts crashing. Edge length is resolution dependant so it typically starts causing a lot more memory problems at higher resolutions.

          PS. We use 2d displacement for grass typically with great results and less memory overhead.

          Comment


          • #6
            Hrm.. would having such a small mesh subdivision be an issue also? Same here on the 2D displacement for grass.

            Comment


            • #7
              thanks guys!!

              It works with edge length set to 8, will try lowe - guess that was the issue.

              Memory usage is now no more than 1.3 gig!


              Will also try larger subdivision size.


              Thank You again!


              cheers!

              Maciej
              the purpose of a ninja is to flip out and kill people.
              the purpose of an architect is to flip out and design for people.
              ________________________
              www.1050.pl / www.kinetik.pl

              Comment


              • #8
                3000 MB is way to much for a 32-bit machine; you should use a lower value like 1000 or 1500 MB, or even less, depending on how much RAM is used for other things as well.

                Best regards,
                Vlado
                I only act like I know everything, Rogers.

                Comment

                Working...
                X