PDL::G...D::VRML(3pm)

πŸ’– NAME πŸ’–

okay so bestie, this is PDL::Graphics::TriD::VRML β€” the TriD VRML backend. that's it, that's the whole name. it lives on your system as the manual page PDL::G...D::VRML(3pm) and it's the lil glow-up that lets TriD spit out VRML instead of, like, pixels on a screen. πŸ¦‹


✨ SYNOPSIS ✨

fr fr, here's the whole vibe in code:

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

so yeah β€” flip the device to "VRML" in a BEGIN block, pull in PDL::Graphics::TriD and PDL::LiteF, grab the defaults with tridsettings(), poke at the settings, then just line3d([$x,$y,$z]) and go look at it in a browser. iconic behavior, honestly. πŸ’…


🌸 DESCRIPTION 🌸

this module is the VRML implementation for PDL::Graphics::TriD β€” which is the generic 3D plotting interface for PDL, in case you didn't know. πŸ‘‘

and here's the tea: you get to use this backend in two whole ways:

  1. for generating 3D graphics right there on your machine, which you can view directly with a VRML browser β€” no middleman, no cap
  2. for generating dynamic VRML worlds to distribute over the web 🌈

with VRML you can generate objects for everyone to see, using stuff like Silicon Graphics' Cosmo Player. and if you wanna learn more about VRML (valid, love that for you), the original page points you at "http://vrml.sgi.com/" or "http://www.vrml.org/". go read, bestie πŸ“šβœ¨


πŸ’€ BUGS πŸ’€

not me having to say this but… it's probably an incomplete/buggy implementation of some TriD features. 😭

yeah. it said what it said. lowkey expected, highkey worth knowing before you build your whole personality around it.

πŸŽ€ AUTHOR πŸŽ€

Copyright (C) 1997, 1998 Christian Soeller (c.soeller@auckland.ac.nz). All rights reserved.

there is no warranty. 🫢

you are allowed to redistribute this software / documentation under certain conditions. for details, see the file COPYING in the PDL distribution. and listen β€” if this file gets separated from the PDL distribution, the copyright notice should be included in the file. that part is not optional, bestie, that's the rule. πŸ’œ


okay that's the whole page!! this one's from the User Contributed Perl Documentation, shipped as perl v5.40.1, dated 2025-04-11 β€” so like, shoutout to that exact snapshot of the manual. slay, go plot some 3D stuff. πŸ’–βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from