Menu

#315 Error rendering or exporting a DSP

open
nobody
None
5
2012-06-04
2012-01-21
Alan Cox
No

This was done as a test to try and get it to work - stl export and render produce errors of them

> ERROR: NULL vertex_g pointer,
> file /home/jordi/Escriptori/brlcad-7.20.4/src/librt/primitives/nmg/nmg_mod.c,
> line 1404

the block itself does contain holes, it's just random bits as a 50x50 grid (attached)

Discussion

  • Alan Cox

    Alan Cox - 2012-01-21

    Map data used

     
  • Tom Browder

    Tom Browder - 2012-06-04

    Alan, can you attach the TGM that uses the dsp map?

     
  • Sean Morrison

    Sean Morrison - 2012-06-04
    • status: open --> pending
     
  • Sean Morrison

    Sean Morrison - 2012-06-04

    The problem is almost certainly related to the holes. If you make sure the input values are all any non-zero value, it should work just fine. If you need the holes, you can subtract an intensity level with an arb8/rpp afterwards though that might still lead to export problems (but should render fine).

     
  • Sean Morrison

    Sean Morrison - 2012-06-04

    Note you shouldn't *have* to do add the low-pass offset. It obviously should just work to have holes and does work for some hole configurations. Our tessellation library is even intentionally built around supporting n-manifold geometry with arbitrary holes.

    The DSP implementation, however, was originally written without holes in mind so it's taken (and will continue to take) some time to find all the generalizations that are needed for arbitrary inputs. We need a regression test that covers all configurations of a 5x5 (or larger) and then make sure they're all handled correctly (raytrace and conversion).

     
  • Alan Cox

    Alan Cox - 2012-06-04

    I attached the original data block with the report when I made it. Beyond that I don't have anything saved as having played with brlcad and hit a few bugs like this I used OpenSCAD instead (which has different bugs but not where I cared)

     
  • Alan Cox

    Alan Cox - 2012-06-04
    • status: pending --> open
     
  • Sean Morrison

    Sean Morrison - 2012-06-04

    Sorry to hear you ran into difficulties, but thank you for the report and data file regardless. We'll update this tracker when it's fixed.

     
  • Sean Morrison

    Sean Morrison - 2013-01-24

    Alan, I heard that you're going to have a little free time on your hands. ;-)
    You'd be a welcome addition to our dev team.

     

Log in to post a comment.