From: Bram Stolk (bram++at++sara.nl)
Date: 01/20/2004 04:08:56
Hello,
I needed to replace pfLODs in a model with one of its children.
I believe there is no existing performer feature that lets you do this,
if that is indeed so, maybe the util I wrote is of interest for others.
The util I wrote is simple and robust.
It takes an input file, output file, and an index.
Use index=0 for the highest LOD.
Use index=1 for the second highest LOD.
Use index=-1 for the lowest LOD.
Use index=-2 for the second lowest LOD, etc....
It works quite well, so if there is not a standard Performer feature already,
maybe it could even be included in the contrib part of Performer?
See attachement for the .cxx file
Bram Stolk
-- ------------------------------------------------------------------------------ Bram Stolk, VR Specialist. SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP AMSTERDAM email: bram++at++nospam.sara.nl Phone +31-20-5923059 Fax +31-20-6683167"For the costs of subsidized agriculture in the EU, we can have all 56 million European cows fly around the world. First Class." - J. Norberg ------------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 20 2004 - 04:17:14 PST