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 › 300 images and more...
Page Index Toggle Pages: 1
300 images and more... (Read 661 times)
300 images and more...
Oct 18th, 2007, 9:18pm
 
hello all, thank you for building this great language and making it available to all.
I have built an application using JOGL, it runs smoothly with >300 images and now, I would like to redevelop it in processing, and make it evolve from here.
A necessary condition is to be able to manipulate a large amount of images in 3D. I have started to code it and it works so far with 134 images(320*288px) in P3D and 44 images in OPENGL mode. If I add 1 image, it crashes with a java.lang.OutOfMemoryError.
I think the problem is not coming from the graphic card or the computer. My question :
Is it a bad idea to use processing to manipulate a large amount of images in 3D ?
Any suggestion to make it work ?
Thanks
Antoine
Re: 300 images and more...
Reply #1 - Oct 19th, 2007, 1:24am
 
have you tried to increase the max available memory setting in processing preferences?
Re: 300 images and more...
Reply #2 - Oct 19th, 2007, 11:23am
 
Actually, it took me a while to understand that there is a preference window in Processing Smiley
Once I found it, I changed the max available memory to 1000mb and ... it works Smiley
It now runs smoothly with >300 images both in P3D and OPENGL mode (the latest looks better).
Thank you very much for your help

Antoine
Page Index Toggle Pages: 1