Problem exporting an image


I have some problems when I try to create an image (jpg) in OCC 6.5.1. The image is always created, but when the width / heigth specified are quite high, the image is extended on the top / right with a black area. It seems like the buffer is limited and the program adds a black area to complete the requested width / heigth. If the values are not too high, then the image is created properly.

I'm using the following graphic card, not the Geforce requested by OCC.

Renderer: Intel(R) HD Graphics
Vendor: Intel
Memory: 1024 MB
Version: 2.1.0 - Build
Shading language version: 1.20 - Intel Build

The OpenGL version is 2.1

Can someone check if this can be reproduced ?

pload ALL
box b 40 40 40 10 10 10
psphere s 20
vdisplay s b
vdump c:/3.jpg depth 5000 5000 'Wrong
vdump c:/3.jpg depth 1500 1500 'OK


Pawel's picture

Hi Carlos,

no problem on my machine.

NVIDIA Quadro FX 1700
driver version from 17.02.2011


jelle's picture

> NVIDIA Quadro FX 1700
Pawel you show off ;)

Pawel's picture

In the evening I'll test it on an intel onboard card ... at home :(


Pawel's picture

I've checked on a Mobile Intel 965 card but with OCC 6.3.0.

vdump c:/3.bmp depth 5000 5000

acts very weird... it dumps the below / on top of the viewer but not the viewer window itself.


Carlos's picture

In the same labtop in 6.5.1 if very high values are used, an exception is raised.

Draw[8]> vdump c:/3.jpg depth 50000 50000
An exception was caught 004F514C : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLAT
ION at address 0xFEFD0000 during 'READ' operation
** Exception ** 004F514C : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at a
ddress 0xFEFD0000 during 'READ' operation

Forum supervisor's picture

Dear Carlos,
The initial problem (black area) is not reproduced on our graphic cards.
Some details. The main limits appear from OpenGL driver. Technically it should be MAX_TEXTURE_SIZE and MAX_VIEWPORT_DIMS values provided by driver, but in some cases (limit of memory or errors) they might be lesser.
Most modern GPU hardware limited to 8192x8192 and topmost hardware currently limited to 16384x16384. Nevertheless many old cards have limits 4096x4096 and even 2048x2048.

The exception is reproduced on NVIDIA GeForce8600 GT (256 Mb). The corresponding issue with ID = OCC22696 has been registered. Later you can know if the issue is resolved by checking references to the specified ID in OCCT Release Notes. The analysis of the issue will take some time depending on our technical capability and availability of resources.
If you can't wait and the problem is urgent for you, you may contact us via Contact Form
We will try to find a solution/workaround acceptable for you.

Forum supervisor's picture

Some additional information on the Internet: (there is a limited list).