We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Example: PDF export of 3D shapes (0115)
Page Index Toggle Pages: 1
Example: PDF export of 3D shapes (0115) (Read 1324 times)
Example: PDF export of 3D shapes (0115)
May 22nd, 2006, 11:18pm
 
I just posted a code example of outputting 3D shapes with PDF:
pdf_complex.pde

It uses beginRaw() / endRaw(), and should probably be used with revision 0115 or later due to recent bug fixes.
Re: Example: PDF export of 3D shapes (0115)
Reply #1 - May 24th, 2006, 4:09am
 
I saw the results on your blog.

Very beautiful Smiley

Inspiring.
Re: Example: PDF export of 3D shapes (0115)
Reply #2 - Jun 7th, 2006, 4:59am
 
Hello. Thank you for your great sample code.
I tried to run this code, but error has occured:

C:/DOCUME~1/USER/LOCALS~1/Temp/build26380.tmp/Temporary_207_9615.java:79:45:79:4
7: Semantic Error: No accessible field named "PDF" was found in type "Temporary_207_9615".

C:/DOCUME~1/USER/LOCALS~1/Temp/build26380.tmp/Temporary_207_9615.java:127:5:127:
12: Semantic Error: No accessible method with signature "endRaw()" was found in type "Temporary_207_9615".

I expect your great advise.
Thank you.
Re: Example: PDF export of 3D shapes (0115)
Reply #3 - Jun 7th, 2006, 8:34am
 
Do you have import the pdf Library (import processing.pdf.*)?
Re: Example: PDF export of 3D shapes (0115)
Reply #4 - Jun 7th, 2006, 8:46am
 
or the latest version of processing?

-seltar
Re: Example: PDF export of 3D shapes (0115)
Reply #5 - Jun 7th, 2006, 10:38am
 
eskimoblood, seltar
Thank you for your reply and answer.
But problem has not been fixed yet.

Pdf library is imported correctly.
If "import processing.pdf.*;" is removed, [Type "PGraphicsPDF" was not found.] was appeared.

And my Processing is 0115 Beta (most recent).

Thank you.
Page Index Toggle Pages: 1