Fixes to osgProducer for IRIX build.

This commit is contained in:
Don BURNS
2003-01-27 20:40:08 +00:00
parent 4ad36f0212
commit cf1ff34d38
6 changed files with 18 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ CXXFILES =\
osgproducer_viewer.cpp\
# osgproducer_cameragroup.cpp\
LIBS += -losgProducer $(OSG_LIBS) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
LIBS += -losgProducer -lProducer $(OSG_LIBS) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
INSTFILES = \
$(CXXFILES)\
@@ -13,5 +13,8 @@ INSTFILES = \
EXEC = osgproducer
CXXFLAGS += $(OSG_INCLUDE_DIR)
LDFLAGS += $(OSG_LIB_DIR)
include $(TOPDIR)/Make/makerules

View File

@@ -1,4 +1,4 @@
#define SINGLE_PIPE
//#define SINGLE_PIPE
#define ASSYMETRICAL_FRUSTUM
Camera "Camera 1"
@@ -19,7 +19,7 @@ Camera "Camera 1"
};
Offset {
#ifdef ASSYMETRICAL_FRUSTUM
Shear 2.0 0.0;
Shear 1.5 0.0;
#else
Rotate -90.0 1 0 0;
Rotate -45.0 0 0 1;
@@ -62,7 +62,7 @@ Camera "Camera 3"
};
Offset {
#ifdef ASSYMETRICAL_FRUSTUM
Shear -2.0 0.0;
Shear -1.5 0.0;
#else
Rotate -90.0 1 0 0;
Rotate 45.0 0 0 1;
@@ -74,9 +74,9 @@ Camera "Camera 3"
InputArea
{
RenderSurface "Window 1" : -1.0 0.0 0.0 1.0;
RenderSurface "Window 2" : 0.0 1.0 0.0 1.0;
RenderSurface "Window 3" : 1.0 2.0 0.0 1.0;
RenderSurface "Window 1" : -2.5 -0.5 -1.0 1.0;
RenderSurface "Window 2" : -1.0 1.0 -1.0 1.0;
RenderSurface "Window 3" : 0.5 2.5 -1.0 1.0;
}