Quick Question here
perhaps Ive grossly missed something (very possible), but the only
lighting control ive seen is with the jit.gl.render lighting
attributes, which seems to only apply to the 'world light'.
how does one create other lights, beside explicitly sending openGL
commands to jit.gl.sketch?
small feature request (?) - perhaps a jit.gl.light with some options
for spotlights (radius, direction, intensity, spread, etc?) Ive just
gotten into getting heavy with lighting on jit.gl.render, and man it
adds so much flavor to a scene when lighting is dynamic. it would be
great to have a jitter object to mix it up some more.
Just a thought.
Also, small note re lighting in general, in the tutorial patch,
mat_ambient, mat_diffuse and mat_specular to the jit.gl.gridshape and
light_ambient, light_diffuse and light_specular to jit.gl.render are
all being sent as a list of 3 floats, (RGB), however when control-
option clicking jit.gl.gridshape & jit.gl.render, it lists their
input as float array. Ive tried playing with the alpha component
to these messages in my own patches, but it only seems to effect
mat_specular, but that could be my imagination.
v a d e //
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I
LIVE! I LIVE! I LIVE! I LIVE!
You will not be saved by the Holy Ghost. You will not be saved by the
In fact, YOU WILL NOT BE SAVED!