My goal to make a URL to a .osg file directly viewable by clicking on
the link in a browser.

I want to automatically run osgviewer if given a URL eg
http://mew.cx/testing/spot_gold_cylinder.osg
But so far I haven't managed to coax firefox to do that, still investigating.

kitco was just a convenient public server for a constantly updating
dynamic image.

cheers
-- mew


-- 
Mike Weiblen -- Austin Texas USA -- http://mew.cx/



On Wed, May 14, 2008 at 3:18 AM, Robert Osfield
<[EMAIL PROTECTED]> wrote:
> Hi Mike,
>
> On Wed, May 14, 2008 at 3:44 AM, Mike Weiblen <[EMAIL PROTECTED]> wrote:
>> (ab)using the curl plugin for up-to-the-minute gold quotes, see attached :-)
>
> I download the file and loaded it, and couldn't work out where the
> image came from as you
> just provided the .osg, then... it dawned on me what you meant :-)
>
> For those who don't have a clue what we are on this morning, here's an
> extra from Mike's
> spot_gold_cylinder.osg :
>
>        Texture2D {
>          DataVariance STATIC
>          file "http://www.kitconet.com/images/live/s_gold.gif";
>          ...
>        }
>
> Which trigger osgDB to load the curl (or .net if the curl plugin isn't
> built) plugin to load the image,
> then it just uses this as the texture for the cylinder
>
> So I guess the next step is to write a little osg example that polls
> the above an similar files every twenty seconds to
> give you a virtual stock market room...
>
> Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to