Loading...
Logo
Processing Forum
Can any help with converting this java code to processing syntax ?

http://openglut.sourceforge.net/material_8c.html

To achieve these spheres


Replies(3)

the code is gl syntax so i *think* you might be able to translate it *easily*

begin by reading this

>> Can any help with converting this java code to processing syntax ?

> the code is gl syntax

it's C. does nobody recognise C anymore?

and it looks like you don't need GLUT - most of it is setup which processing will do for you. and glutSolidSphere is just sphere() in processing.
By "gl syntax", I think radiodario was meaning that that code was mostly made of OpenGL calls, so easy to translate.