Jan Barglowski (jan++at++euryale.chinalake.navy.mil)
Thu, 10 Apr 1997 08:51:50 -0700 (PDT)
I subclass pfChannel and it works fine on my iR. Here's my stuff
for comparison:
---
class otwChannel : public pfChannel {
private:
int on;
Camera *camera, *alt_cam;
int alt_set;
public:
otwChannel(pfPipe *);
void setCamera(pfCoord *, CAM_TYPE, pfCoord *);
void setAltCam(pfCoord *, CAM_TYPE, pfCoord *);
void update(void);
};
---
-> All pfChannel methods work fine, so I won't bother listing them...
---
Link line:
CC -O2 -o otw main.o otw.o scene.o part.o io.o ump_otw.o ump_hud.o ump_nawc.o ump_alt.o file.o camera.o channel.o hud.o rungs.o filter.o trail.o -L/usr/lib -L/usr/lib/Performer/Static -L/usr/lib/libpfdb -L/usr/local/MultiGen/Performer_Loader_2.X -L/lib -lpf_ogl -lpfdu_ogl -lpfui -lpfutil_ogl -lpfflt_ogl -limage -lGLU -lGL -lXext -lfpe -lXmu -lX11 -lm -lbsdump -lC
---
Development environment:
- IRIX 6.2
- Performer 2.1
- C++ compiler 6.2
- old 32-bit compile for same reason as you :-(
---
There are a few differences, such as the compiler version and some
C++ style diffs. Since I have no experience with the newer compiler
I don't have anything I can add. Hope this gives you some more ideas!
jan
--
Jan Anthony Barglowski jan++at++chinalake.navy.mil
Real-time Computer Graphics http://www1.ridgecrest.ca.us/~jan
Naval Air Warfare Center, China Lake (619) 927-1057
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:02 PDT