SDL::Tutorial::3DWorld::Actor::Model - An actor loaded from a RWX file
# Define the model location my $model = SDL::Tutorial::3DWorld::Actor::Model->new( file => 'torus.rwx', ); # Load and compile the model into memory $model->init; # Render the model into the current scene $model->display;
This is an experimental module for loading large or complex shapes from RWX model files on disk.
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SDL-Tutorial-3DWorld
Adam Kennedy <adamk@cpan.org>
SDL, OpenGL
Copyright 2010 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install SDL::Tutorial::3DWorld, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDL::Tutorial::3DWorld
CPAN shell
perl -MCPAN -e shell install SDL::Tutorial::3DWorld
For more information on module installation, please visit the detailed CPAN module installation guide.