[fluxus] commits

Alex Norman alex at neisis.net
Sat May 26 09:50:56 PDT 2007


so here is the back trace from simply starting fluxus (with those gdb args you
gave me), i start up fluxus and it opens a window and immediately i get a
segfault (i don't see anything on the window)

Program received signal SIGABRT, Aborted.
[Switching to Thread -1220282672 (LWP 14378)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7563df0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7565641 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7d74bc5 in fault_handler (sn=11, si=0xbfc20dec, ctx=0xbfc20e6c) at ./sighand.c:20
#4  <signal handler called>
#5  fluxus::dMatrix::inverse (this=0x3e4ccd5d) at libfluxus/src/dada.cpp:613
#6  0xb7043fb5 in fluxus::Camera::DoCamera (this=0x80b300c) at libfluxus/src/Camera.cpp:58
#7  0xb70460c1 in fluxus::Renderer::PreRender (this=0x80b2e30, PickMode=false) at libfluxus/src/Renderer.cpp:229
#8  0xb70467f7 in fluxus::Renderer::Render (this=0x80b2e30) at libfluxus/src/Renderer.cpp:91
#9  0xb7006e85 in Engine::Render (this=0x80b11b8) at modules/fluxus-engine/src/Engine.cpp:95
#10 0xb7008370 in render (argc=0, argv=0xb7f14fb4) at modules/fluxus-engine/src/FluxusEngine.cpp:103
#11 0x08270f49 in ?? ()
#12 0x00000000 in ?? ()


-Alex

On  0, Dave Griffiths <dave at pawfal.org> wrote:
> Uh oh :)
> 
> Well, I found some 3D glasses yesterday to give this a test, and fixed the
> editor and clearing problems. The fix is to defer the setting of
> glColorMask to inside the render loop. It's generally a good idea to use
> the Scheme commands to set up some state inside the Renderer class, and
> use this state later on to call OpenGL from the main rendering process.
> This means we can get the ordering right. I'll commit this in a bit.
> 
> I also had to juggle (clear-frame) and (clear-zbuffer) inside
> scratchpad.ss to get the second render pass to overlay the first, rather
> than clearing it - then it seemed to work well. This is exactly the sort
> of thing I'd wanted to extend fluxus to doing - and controlling the passes
> from Scheme, so perfect timing for this stuff :)
> 
> Hopefully we can use a similar technique for multipass rendering shadow
> volumes with the stencil buffer, and orchestrating everything from Scheme
> rather than having preset render modes hardcoded in C++. It will make a
> lot of strange render compositing tricks possible too.
> 
> 
> > the new cvs version segfaults for me on startup (right after it opens the
> > window), I'll get out a backtrace soon.
> >
> > -Alex
> >
> > On  0, dave <dave at pawfal.org> wrote:
> >> I've branched v0_12_maintenance, and incremented the cvs head version to
> >> 0.13 - and named the executable fluxus-0.13 (it's possible to install
> >> and run this version in parallel with 0.12)
> >>
> >> * stereo rendering support by Alex Norman, adding:
> >> 	- (set-stereo-mode ['no-stereo 'crystal-eyes 'colour])
> >> 	- (get-stereo-mode)
> >> 	- (get-eye-separation)
> >> 	- (set-eye-separation)
> >> * (draw-buffer) added by Alex Norman
> >> * libfluxus clean up, removed old cruft, simplified renderer
> >> * removed (begin-scene) and (end-scene), added (render) - you can draw
> >> immediate mode primitives at any time now, they will appear in the next
> >> (render)
> >> * removed feedback for aesthetic reasons
> >> * added (clear-zbuffer)
> >> * added (pixels-load) for loading pngs into pixel prims
> >> * renamed (upload-pixels) to (pixels-upload)
> >>
> >> Alex, please check I haven't trashed anything - and feel free to commit
> >> stuff. (I haven't fixed the editor yet)
> >>
> >> .. off to find some red/green glasses :]
> >>
> >> cheers,
> >>
> >> dave
> >>
> >
> 
> 
> http://www.pawfal.org/dave/
> 



More information about the Fluxus mailing list