I had problems exporting to SVG and PS: NullPointerException.
The problem was RenderingVisitor:616 and I had to change to:
if (pointShader != null && n >0) {
RenderingVisitor
Re: RenderingVisitor
Sorry I can't rebuild your problem. Export to svg and ps works fine for me.
btw the RenderingVisitor is just used for SoftwareRendering. Which Rendering Backend do you use? Even when I export while using the SoftwareRendering-Backend the Error isn't occuring.
btw the RenderingVisitor is just used for SoftwareRendering. Which Rendering Backend do you use? Even when I export while using the SoftwareRendering-Backend the Error isn't occuring.
Re: RenderingVisitor
As far as I can see from the console output I think it is jogl. I am not specifying any renderer, so just using the default that jreality is instantiating. I have opengl hardware support on the machines I tested. Aside from that, I was almost sure that for the svg and ps output only the software renderer is available (am I wrong?). I can try to write a small example to generate the example.
Re: RenderingVisitor
In this article somewhere at the middle is a point with how to check jogl:
http://www3.math.tu-berlin.de/jreality/ ... p_tutorial
And yes you are right the RenderingVisitor is used while exporting too, sorry my fault.
I also could reproduce your error. It just happens for an empty scene, as long as no geometry has been created.
I've updated my code so it will be in the next release.
Thx for reporting that bug.
best
andre
http://www3.math.tu-berlin.de/jreality/ ... p_tutorial
And yes you are right the RenderingVisitor is used while exporting too, sorry my fault.
I also could reproduce your error. It just happens for an empty scene, as long as no geometry has been created.
I've updated my code so it will be in the next release.
Thx for reporting that bug.
best
andre