PDA

View Full Version : Bug - RPS 3D PDF adds a triangle and causes u3d lib to crash


vnaumov
07-12-2007, 07:21 AM
Hello,

I created a sketch-up file with just a cube, then converted it to a pdf using RPS 3D PDF. It added a 3-point face to the u3d model, a face that did not exist in my sketch-up model.

This new face is added to all pdf files created by RPS 3D PDF. See the information on the screenshot from Acrobat 3D Toolkit. The unwanted face is always named with ' ', i.e. single space.

See the attached cube.zip:
1 cube.skp - the sketch-up file
2 cube.pdf - the pdf created by RPS 3D PDF
3 cube.u3d - the u3d extracted from the pdf above
4 cube.jpg - the screenshot from Acrobat 3D Tools, showing the 3-point face, added by RPS 3D

The added face causes crashes in the u3d lib.

Best regards,
Valentin

Al
07-12-2007, 11:08 AM
We haven't experienced any problems using the PDF files we create and the PDF file in your attachment seems to load and display properly.

Which U3d.lib are you trying to use it with?

vnaumov
07-13-2007, 02:02 AM
Hi Al,

I use Intel U3D library from sourceforge,
http://sourceforge.net/project/showfiles.php?group_id=133107&package_id=156688&release_id=478893

The u3d player is part of the same library.

I see you use the same u3d library, but probably you have modified it somehow. If yes, can you provider me information about the modifications you did?

The pdf does load and display in Adobe Reader, but it crashes U3D player by Intel. But, once the u3d is saved with Acrobat 3D tools it gets valid - no more crashes, and plays well in the u3d player.

The problem is somehow related to the additional 3d-face. If I change u3d code to handle it in specific way (to skip a function for the object named ' ') it does not crash.

Ofcourse, the bug itself might be in the u3d library itself, but probably you know more about this additional triangle, that may help me finding the root cause for the bug.

Best regards,
Valentin

Al
07-13-2007, 08:46 AM
We add the additional triangle to fix a problem we were having where textures on the last face processed were not appearing properly.

We will download the Intel player and see if it is working properly.