Page 1 of 1

BufferUnderflowException by loading a file

Posted: Thu 19. Apr 2012, 15:58
by capri333
Hello,

i use jreality and jtViewer to load .jt files with startupLocal().
After loading, i use the offscreenRendering method to get the image as 2D.
It works in most cases, but sometimes a BufferUnderflowException occurs, the offscreenRendering still works,
but the 2d image is only a grey square, when the Exception occured.

When i load the jt-file where the exceptions occurs in my code in JT-Viewer, the exception is thrown but the image is complete.

Can anyone help?

Thanks,
Anke

Re: BufferUnderflowException by loading a file

Posted: Fri 20. Apr 2012, 14:59
by steffen
what is a jt file?

Re: BufferUnderflowException by loading a file

Posted: Mon 23. Apr 2012, 08:56
by capri333
The explanation from wikipedia:

JT is a 3D data format developed by Siemens PLM Software (formerly UGS Corp.) and is used for product visualization, collaboration, and CAD data exchange.
It can contain any combination of approximate (faceted) data, exact boundary representation surfaces (NURBS), Product and Manufacturing Information (PMI),
and Metadata (textual attributes) either exported from the native CAD system or inserted by a product data management (PDM) system.
It is probably the most widely used 3D visualization format for discrete manufacturing with over 4,000,100 JT-enabled licenses of software in use. On 2009 September 18
the ISO stated officially that the JT specification has been accepted for publication as an ISO Publicly Available Specification (PAS).

Anke