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.
Page Index Toggle Pages: 1
CONE | CYLINDER (Read 823 times)
CONE | CYLINDER
Dec 24th, 2006, 10:25am
 

This is regarding toxi's CONE|CYLINER applet. I am trying to adapt this code to draw a cylinder for a project and somehow processing 115 gives me an error.
cosLUT and  'SINCOS_LENGTH has default access in processing.core.PGraphics and are not accessible here'
Would anyone know how to resolve this?
Is there alternative code for cone/cylinder that i can use?

CYLINDER APPLET from TOXI
http://www.toxi.co.uk/p5/cylinder/

Many regards,
S
Re: CONE | CYLINDER
Reply #1 - Dec 24th, 2006, 7:49pm
 
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=OpenGL;action=display;num=1159148484
Re: CONE | CYLINDER
Reply #2 - Dec 25th, 2006, 1:36am
 
Either make a copy of the code from PGraphics, or create your own lookup tables, or just call sin()/cos() directly, or borrow code from this:  http://www.davebollinger.com/works/p5/geomfact/
Re: CONE | CYLINDER
Reply #3 - Dec 29th, 2006, 2:18am
 
Thank you so much! I thought no one would reply during Christmas and didnt bother to look but to my surprize there is reply dated 24&25thDec! Absolutely Amazing.

Thank you,
-s
Page Index Toggle Pages: 1