[Fluxus] 2 fluxus-0.14rc1 no colour only white
gabor papp
gabor.lists at mndl.hu
Sun Feb 22 13:03:16 PST 2009
> (build-cube)
> (start-audio "alsa_pcm:capture_1" 1024 44100)
> (define (render)
> (colour (vector (gh 1) (gh 2) (gh 3)))
> (draw-cube))
> (every-frame (render))
> (gain 1)
>
>
> I think my problem might be (build-cube)? It builds a white cube but seems
> unaffected by the rest of the code.
yes, the problem is with (build-cube). you build a cube, which places a
cube in the scene. then you draw a cube, which is placed on the same
spot, but because of the z-buffer it does not get drawn. delete the
(build-cube) and it should work.
best,
gabor
More information about the Fluxus
mailing list