prerender:XTMRENDERCB   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/external/xtmrender4.xtm

Implementation

;; for lights and cameras
(bind-func prerender:XTMRENDERCB
  (lambda (frame shader m v p data)
    (xtm_light_pos 1 0.0 5.0 25.0)
    (xtm_light_tgt 1 0.0 0.0 0.0) ;; was 2
    (xtm_light_up 1 0.0 1.0 0.0)
    (xtm_light_diffuse 1 1.0 0.9 0.7 1.0)
    (xtm_light_ambient 1 0.0 0.0 0.0 1.0)
    (xtm_light_specular 1 1.0 1.0 1.0 1.0)
    (xtm_light_power 1 30.0)
    (xtm_light_angle 1 60.0)


Back to Index

Similar Entries

  • post:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/slideshow.xtm
  • post:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_vg.xtm
  • post:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • post:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/qr-code.xtm
  • postrender:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender5.xtm
  • prerender:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender3.xtm
  • prerender:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender2.xtm
  • prerender:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender5.xtm
  • prerender:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender6.xtm
  • render:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender3.xtm
  • render:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender2.xtm
  • render:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender1.xtm
  • render:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender5.xtm
  • render:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender4.xtm
  • render:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender6.xtm
  • trans:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/fluids_2d.xtm
  • trans:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender4.xtm
  • vector_gfx:XTMRENDERCB    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender5.xtm