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.
Pages: 1 2 
3d arcs? (Read 4870 times)
Re: 3d arcs?
Reply #15 - Sep 19th, 2009, 4:49am
 
http://www.pixelnerve.com/v/2009/09/19/hmm-arcs/

you will need Vitamin library to compile and run the project.
get it from: http://www.pixelnerve.com/processing/libraries/vitamin

have fun.
Re: 3d arcs?
Reply #16 - Sep 19th, 2009, 6:38am
 
your updated version is even better, i really need to take a deeper look at the code. There is a lot to learn
Re: 3d arcs?
Reply #17 - Sep 21st, 2009, 1:17pm
 
V,

I've been looking through the code and a good portion of the awesome comes from the subsurface.cgfx effect.  Did you write this yourself?  I am new to all of this and some poking around on the internet (and the fact that I had to install the nvidia Cg toolkit to run th eprogeam) led me to this: http://http.developer.nvidia.com/CgTutorial/cg_tutorial_chapter01.html  Did you write the subsurface.cgfx using this language?  Is there a better way to get sweet glossy effects or should I keep on researching/learning about the programming language Cg?  Thanks a whoooole bunch.  I am learning so much from this thread.

Update:  Whoa, I just realized the cgfx file is not a compiled file, but it actually contains CgFX code and a link to a discussion about the effect.  Awesome!
Re: 3d arcs?
Reply #18 - Jan 25th, 2010, 12:48pm
 
This is some great code! I'm having a little trouble figuring out how a line arc might be designated to end at a specific x,y,z coordinate though. Right now, I'm translating the arc's initial position within the draw function to start it at a specific point.  In order to specify where a specific arc's ending coordinates would be,  is there a specific calculation that I would have to make to convert the x,y,z so that it would arc in that specific direction/length?
Pages: 1 2