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 › Newbie: 3D collapsing/buffers/mapping/morphing
Page Index Toggle Pages: 1
Newbie: 3D collapsing/buffers/mapping/morphing (Read 1239 times)
Newbie: 3D collapsing/buffers/mapping/morphing
Sep 14th, 2005, 10:48am
 
Hi, as I haven't used processing in more than some
demo checking, please forgive me these questions.
I just need to know if Processing would be a good
solution for one of my ideas...

1) Is it possible to "collapse" the visual information
of an 3D object on the screen, for creating paint
strokes out of them or applying 2D image operations
over them?

2) Is it possible to copy a part of the screen to a buffer,
map this on a 3d object, distort it and put it back on
the visible part of the screen? (with Alpha channel)

3) Is it possible to work in big buffer and only
expose a part of it to the screen in a easy way?

4) I there a kind of morph construct to blend between
3D shapes?

Thanks a lot, RS
Re: Newbie: 3D collapsing/buffers/mapping/morphing
Reply #1 - Sep 14th, 2005, 2:41pm
 
1) yes, but use P3D, because OPENGL currently has some issues with pixel grabbing. this is what the get() method is for, which will give you a PImage object from a subsection of the screen that can be manipulated.

2) see #1

3) eventually yes, right now it's not working particularly well. look at the notes about "PGraphics" (this is also relevant to question #1) in the "changes between releases" section of the faq.

4) has to be done by hand. we don't have a concept of a shape object currently as part of the api, so there's nothing really to facilitate that.
Re: Newbie: 3D collapsing/buffers/mapping/morphing
Reply #2 - Sep 16th, 2005, 11:26am
 
Thanks Ben, so I got my answers from you directly,
sounds like I found my development tool ... Robert Smiley

Re: Newbie: 3D collapsing/buffers/mapping/morphing
Reply #3 - Sep 16th, 2005, 2:04pm
 
rs3d wrote on Sep 16th, 2005, 11:26am:
Thanks Ben, so I got my answers from you directly,

yeah, i just make people post to the board since then it's searchable for everyone else too, since often these questions come up more than once. Wink
Page Index Toggle Pages: 1