[sldev] libprimrender

John Hurliman jhurliman at wsu.edu
Tue Dec 18 17:54:54 PST 2007


http://www.jhurliman.org/index.php/2007/libprimrender-preview/
--------------------------------------------------------------

"Just finished committing an early preview of libprimrender to the 
libsecondlife source tree. libprimrender takes libsecondlife primitive 
objects and creates 3D mesh data. The library only uses basic math and 
libsecondlife data types, so there is no platform or rendering library 
dependency. The code is released as a GPL v2 library written in C#, 
based on the official Second Life viewer source code (llvolume.cpp). The 
screenshot above shows sceneviewer (an old Second Life client written in 
C# using libsecondlife and XNA) using libprimrender to draw a twisted 
and sheared cube. The noise in the background is wireframe water left 
over from the original codebase.

The source code can be browsed at:
http://openmetaverse.org/svn/index.cgi/libsl/libprimrender/

Or checked out through SVN at:
svn://openmetaverse.org/libsl/libprimrender/

This is an early preview, it does not calculate 
tangents/normals/binormals and there are likely still some bugs. If you 
spot any please use the libsecondlife Issue Tracker or post a comment here."


John Hurliman


More information about the SLDev mailing list