[fluxus] assertion failed when trying to set particle colours

Claude Heiland-Allen claudiusmaximus at goto10.org
Sun Feb 4 22:27:40 PST 2007


(define (ifsnow-init n)
   (if (< n (pdata-size)) (begin
     (pdata-set "s" n (vector 0.01 0.01 0.01)) ; works fine
;    (pdata-set "c" n (vector 1 1 1)) ; this line fails an assert
     (ifsnow-init (+ n 1))
   ))
)

Welcome to fluxus
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
freeglut (fluxus-0.12): Unable to create direct context rendering for 
window 'fluxus 0.12'
This may hurt performance.
fluxus-0.12: modules/fluxus-engine/src/SchemeHelper.cpp:42: void 
SchemeHelper::FloatsFromScheme(Scheme_Object*, float*, unsigned int): 
Assertion `size==(unsigned int)(((Scheme_Vector *)(src))->size)' failed.
/home/claude/scripts/fluxus.sh: line 3:  2663 Aborted 
PLTCOLLECTS="/home/claude/lib/drscheme/collects/:/usr/lib/drscheme/collects" 
fluxus-0.12 $@

Full script attached, does iterated function system stuff on particle 
pdata positions...


Claude
-- 
http://claudiusmaximus.goto10.org

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ifsnow.scm
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20070205/c863896c/attachment-0001.txt>


More information about the Fluxus mailing list