|
From: Jeff W. B. <bo...@uc...> - 2001-11-30 20:48:56
|
Sorry - I should have used TCL syntax... - no parens, if you use parens you
will get the error. It should be:
vis5d_save_scene $ctx "lamps1.wrl" VIS5D_VRML
I thought the mixkit stuff was pretty verbose... I haven't used it in sometime - let me get back to you on that one.
jeff
Chris Moore wrote:
>
> Hi Jeff/All,
>
> I seem to get an error with vis5d_save_scene:
>
> Tcl_EvalFile result: invalid command name
> "vis5d_save_scene(0,lamps1.wrl,VIS5D_VRML)"
>
> Here's some of my code:
>
> set format VIS5D_VRML
> for {set time 1} {$time <= 5} {set time [expr $time + 1]} {
> set fname lamps$time.wrl
> vis5d_save_scene($ctx,$fname,$format)
> }
>
> Other bits of my Tcl script seem to work fine... turning on/off isosurfaces,
> etc. Using vis5d+-1.2.1 on a Dec Alpha.
>
> Also: how do I tell if mixkit is working? Any way of getting a polygon count
> for an isosurface and compare to a version compiled without mixkit?
>
> Hope things are well in Boulder.
>
> Cheers,
> Chris
>
> ______________________________________________________________
> Christopher Moore tel 206.526.6779
> Research Scientist, Oceanography fax 206.526.6744
> University of Washington/JISAO/NOAA-PMEL
> --------------------------------------------------------------
>
> "Jeff W. Boote" wrote:
> >
> > vis5d_save_scene($ctx,$fname,$format)
> >
> > $fname = filename to save
> > $format = VIS5D_VRML
> >
> > (It is written such that other scene formats can be added by adding new
> > flags for the $format variable.)
> >
> > jeff
--
Jeff W. Boote <bo...@uc...> The more that you read, the more
Software Engineer things you will know. The more
VETS/SCD/NCAR that you learn, the more places
Boulder, Colorado, USA you'll go. Dr. Suess
|