|
From: Lloyd W. <l....@ei...> - 2005-02-01 23:10:34
|
Aha, enlightenment dawns.
I modified SaVi to update an appearance by sending the cached
appearance from a buffer:
fprintf(gv_out, "(read geometry { define earth_h {\n %s \n} } )",
dynamic_description);
so that Geomview wouldn't have to do any work with reading .oogl files
on each animation iteration. (We're still stuck with writing and
reading compressed texturemaps, alas. Haven't figured out how to pipe
those to Geomview via telling Geomview to open a named pipe or
something.)
Once I started sending appearances that way in the pipe, going back
to the old way of telling Geomview the appearance from this line in a
file that was copyfile'd to gv_out:
(read geometry { define earth_h < "$SAVI/oogl/earth.oogl" })
to read the appearance from a file, asynchronously and initiated from
SaVi's Tcl interpreter in a tk_update() to boot, seemed to result in
setting up some sort of race condition Geomview couldn't handle.
Going to doing everything via the first, new, method, fixed that. New,
improved, and very fast and responsive SaVi in the 1 February snapshot
at:
http://www.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/src/unreleased/
savi -dynamic-texture is really getting smooth.
L.
http://savi.sourceforge.net/
On Tue, 1 Feb 2005, Lloyd Wood wrote:
> Date: Tue, 1 Feb 2005 17:47:58 +0000 (GMT)
> From: Lloyd Wood <l....@ei...>
> To: geo...@li...
> Subject: [Geomview-devel] Re: TxDelete warnings?
>
> Stripping out a few wrapping (progn ) statements to see what's going
> on in Geomview gets me:
>
> $ ./savi-dev -dynamic-texture &
> [8] 2788
> $ /bin/csh: not found
> SaVi: texturemaps will be uncompressed. Compile SaVi with zlib for
> compressed.
> SaVi: dynamic texture mapping will benefit from large coverage map
> (-large-map).
> SaVi: temporary texturemap scratchfile is /tmp/te1c.0-savi.ppm
> Internal warning: TxDelete on non-Texture 102e9f90 (1cf40001 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (1cf40001 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (610e9040 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (10192378 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (10192378 !=
> 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Internal warning: TxDelete on non-Texture 102e9f90 (0 != 9cf40001)
> Geomview: internal error: Segmentation violation; dump core now (y/n)
> [n] ? SaVi: cleaned up temporary scratchfile /tmp/te1c.0-savi.ppm
>
> That looks like a misset null pointer inside Geomview...
>
> L.
>
> On Thu, 27 Jan 2005, Lloyd Wood wrote:
>
> > Date: Thu, 27 Jan 2005 23:46:00 +0000 (GMT)
> > From: Lloyd Wood <ee...@ei...>
> > To: geo...@li...
> > Subject: TxDelete warnings?
> >
> > I've managed to upset Geomview by switching from a textured to a
> > non-textured Earth very quickly in SaVi and recreating my Earth
> > geometry. I've even managed to make Geomview dump core -- I can't
> > recall the last time, if ever, Geomview did that. Most unusual, hence
> > this email.
> >
> > Can anyone shed any light on the cause of this TxDelete error
> > message?:
> >
> > Internal warning: TxDelete on non-Texture 102ea018 (102ea140 !=
> > 9cf40001)
> > Internal warning: TxDelete on non-Texture 102ea018 (102ea140 !=
> > 9cf40001)
> > Geomview: internal error: Segmentation violation; dump core now (y/n)
> > [n] ?
> >
> > thanks! To duplicate if you're that interested, today's SaVi
> > snapshot, launched with: geomview -run savi-dev/savi -dynamic-texture
> > and then turn on texturemapping in Rendering menu, open coverage
> > window from Views menu, run animation with >>, then change SaVi's
> > Earth projection from sinusoidal so SaVi has to stop texturemapping to
> > the Geomview sphere.
> >
> > I've committed a workaround to CVS that avoids, but does not solve,
> > this problem by simply turning off texturemapping when SaVi's earth
> > projection changes; SaVi's driving Geomview pretty hard and fast
> > texturewise now, and other than this new twist it's pretty slick. I
> > guess the code in savi-dev/src/earth.c needs a complete rethink...
> >
> > http://www.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/src/unreleased/
|