Search found 9 matches

by neothemachine
Wed 28. Mar 2012, 22:14
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

Thanks for your explanations! As for screenshot vs offscreen, I tried setting the window size of the JFrame programmatically to something bigger than my screen but when I exceed my screen limit it just maximizes the window. I tested it independently of jReality with just an empty JFrame and also AWT...
by neothemachine
Mon 26. Mar 2012, 20:01
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

Ok I got it working with Ardor3D and JOGL 1, so it must be a bug in jReality. Let's see how Ardor3D does things... The final image export is done with grabScreenContents() in com.ardor3d.renderer.jogl.JoglRenderer which basically just calls glReadPixels(). But I guess that's too late, as jReality is...
by neothemachine
Mon 26. Mar 2012, 17:18
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

Thanks Andre for pointing me to that. Unfortunately, it still just exits. I'll now try to get JOGL running in Ardor3D, there was just some stupid lib loading thing. And when I got offscreen rendering working there maybe we can together find a fix for jReality. That seems more realistic than figuring...
by neothemachine
Mon 26. Mar 2012, 10:23
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

I just tried it with sun's java but get the same error. I think it's important to mention that Bonzai Engine uses JOGL 2, so I guess whatever is wrong in JOGL 1.1.1 is fixed there.
by neothemachine
Sat 24. Mar 2012, 21:00
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

The screenshot option works, but that's not really what I need in my case. When I set the ANY_DISPLAY_LISTS attribute to false I get those nice lines: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f4b8c486fb4, pid=2942, tid=139962482689792 # # JRE ...
by neothemachine
Thu 22. Mar 2012, 17:20
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

I don't get any debug output with this option and line. I downloaded the JOGL 1.1.1 source and tried to debug. After a bit of JOGL I now got back to jReality to line 377 of de.jreality.jogl.shader.DefaultPointShader: jr.globalGL.glCallList(dListProxy); which exits and for which I don't have source c...
by neothemachine
Thu 22. Mar 2012, 14:46
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

Yes, I get that printout just before the program exits. And yes, it's line 82 of that file. I can't test it on a different machine atm but at least one non-open-source framework (Bonzai Engine) does it without problems in JOGL. With others like xith3d or Ardor3D I always run into some problems with ...
by neothemachine
Thu 22. Mar 2012, 11:08
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Re: Offscreen Rendering exits suddenly

Without alpha it prints the same to stderr. My system is Ubuntu 11.10 64-bit. It's a laptop with integrated Intel HD 3000 graphics. The image size is 800x600. I'm a developer, yes, and already tried to debug it, but I got stuck at canvas.display(); as this goes into jogl.jar where I didn't have the ...
by neothemachine
Tue 20. Mar 2012, 15:32
Forum: Bugs
Topic: Offscreen Rendering exits suddenly
Replies: 16
Views: 4290

Offscreen Rendering exits suddenly

Hi guys, I tried to save an image with alpha without anti-aliasing but as soon as I hit save the viewer exits. I debugged the code and it's the line "canvas.display();" in JOGLOffscreenRenderer where it just exits. It's probably difficult to help remotely, so how can I help to diagnose the fault? Ch...