sghr / iGeo

iGeo: Computational Design and 3D Modeling Library for Processing
http://igeo.jp
GNU Lesser General Public License v3.0
147 stars 34 forks source link

Hot to put Processing primitives 3D into iGeo #11

Open agodemar opened 10 years ago

agodemar commented 10 years ago

Hi Satoru, my compliments for this cool library iGeo. I'm using it for developing an Aircraft Design tool that soon will go open source. Is there a way to show some Processing primitives into an iGeo IPanel? For instance, the box primitive shown here: http://processing.org/examples/primitives3d.html

Thanks, Agostino De Marco University of Naples Federico II, Italy

sghr commented 10 years ago

Thank you. If you just want to display the primitives, there is a possibility by tweaking JOGL's drawing sequence, although they wouldn't be shown on multi-views. If you want to perform modeling operations on the primitives and save via iGeo's exporters, not possible currently.

agodemar commented 10 years ago

I don't need multiviews, acting on a single view at the time is ok. Not interested in exporting stuff, just in representing things. Primitives are just an example of what I'd like to handle. My idea is to have all sorts of things you can do with P3D represented in iGeo view. How can Jogl be tweaked?

agodemar commented 9 years ago

Could you please elaborate more on "tweaking JOGL's drawing sequence"? Thanks

sghr commented 9 years ago

Sorry that I didn't respond it. I think it'd be equivalent to rewriting a custom version of p/PIGraphicsGL2 or p/PIGraphics3D and something in the codes needs to be changed but not quite sure what exactly now yet.