PDL::Graphics::TriD::VRML -- TriD VRML backend
Contents
Bugs
Probably incomplete/buggy implementation of some TriD features.
Description
This module implements the VRML for PDL::Graphics::TriD (the generic 3D plotting interface for PDL). You
can use this backend either (a) for generating 3D graphics on your machine which can be directly viewed
with a VRML browser or (b) generate dynamic VRML worlds to distribute over the web.
With VRML, you can generate objects for everyone to see with e.g. Silicon Graphics' Cosmo Player. You
can find out more about VRML at "http://vrml.sgi.com/" or "http://www.vrml.org/"
Name
PDL::Graphics::TriD::VRML -- TriD VRML backend
Synopsis
BEGIN { $PDL::Graphics::TriD::device = "VRML"; }
use PDL::Graphics::TriD;
use PDL::LiteF;
# set some vrml parameters
my $set = tridsettings(); # get the defaults
$set->browser_com('netscape/unix');
$set->compress();
$set->file('/www-serv/vrml/dynamic_scene.wrl.gz');
line3d([$x,$y,$z]); # plot some lines and view the scene with a browser
