texGenAttrib.cxx hardcoded texture corrected

This commit is contained in:
Shalin Shodhan 2004-07-02 17:02:27 +00:00
parent 836cc8224d
commit e0245577d8
4 changed files with 308 additions and 297 deletions

View File

@ -1,297 +1,300 @@
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \ #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolutil:c dtoolbase:c dtool:m dtoolutil:c dtoolbase:c dtool:m
#define LOCAL_LIBS \ #define LOCAL_LIBS \
lerp event gsgbase gobj putil linmath \ lerp event gsgbase gobj putil linmath \
downloader express pandabase pstatclient downloader express pandabase pstatclient
#begin lib_target #begin lib_target
#define TARGET pgraph #define TARGET pgraph
#define SOURCES \ #define SOURCES \
accumulatedAttribs.I accumulatedAttribs.h \ accumulatedAttribs.I accumulatedAttribs.h \
alphaTestAttrib.I alphaTestAttrib.h \ alphaTestAttrib.I alphaTestAttrib.h \
ambientLight.I ambientLight.h \ ambientLight.I ambientLight.h \
bamFile.I bamFile.h \ bamFile.I bamFile.h \
billboardEffect.I billboardEffect.h \ billboardEffect.I billboardEffect.h \
binCullHandler.I binCullHandler.h \ binCullHandler.I binCullHandler.h \
camera.I camera.h \ camera.I camera.h \
clipPlaneAttrib.I clipPlaneAttrib.h \ clipPlaneAttrib.I clipPlaneAttrib.h \
colorAttrib.I colorAttrib.h \ colorAttrib.I colorAttrib.h \
colorBlendAttrib.I colorBlendAttrib.h \ colorBlendAttrib.I colorBlendAttrib.h \
colorScaleAttrib.I colorScaleAttrib.h \ colorScaleAttrib.I colorScaleAttrib.h \
colorWriteAttrib.I colorWriteAttrib.h \ colorWriteAttrib.I colorWriteAttrib.h \
compassEffect.I compassEffect.h \ compassEffect.I compassEffect.h \
config_pgraph.h \ config_pgraph.h \
cullBin.I cullBin.h \ cullBin.I cullBin.h \
cullBinAttrib.I cullBinAttrib.h \ cullBinAttrib.I cullBinAttrib.h \
cullBinBackToFront.I cullBinBackToFront.h \ cullBinBackToFront.I cullBinBackToFront.h \
cullBinFixed.I cullBinFixed.h \ cullBinFixed.I cullBinFixed.h \
cullBinFrontToBack.I cullBinFrontToBack.h \ cullBinFrontToBack.I cullBinFrontToBack.h \
cullBinManager.I cullBinManager.h \ cullBinManager.I cullBinManager.h \
cullBinUnsorted.I cullBinUnsorted.h \ cullBinUnsorted.I cullBinUnsorted.h \
cullFaceAttrib.I cullFaceAttrib.h \ cullFaceAttrib.I cullFaceAttrib.h \
cullHandler.I cullHandler.h \ cullHandler.I cullHandler.h \
cullResult.I cullResult.h \ cullResult.I cullResult.h \
cullTraverser.I cullTraverser.h \ cullTraverser.I cullTraverser.h \
cullTraverserData.I cullTraverserData.h \ cullTraverserData.I cullTraverserData.h \
cullableObject.I cullableObject.h \ cullableObject.I cullableObject.h \
decalEffect.I decalEffect.h \ decalEffect.I decalEffect.h \
depthOffsetAttrib.I depthOffsetAttrib.h \ depthOffsetAttrib.I depthOffsetAttrib.h \
depthTestAttrib.I depthTestAttrib.h \ depthTestAttrib.I depthTestAttrib.h \
depthWriteAttrib.I depthWriteAttrib.h \ depthWriteAttrib.I depthWriteAttrib.h \
directionalLight.I directionalLight.h \ directionalLight.I directionalLight.h \
drawCullHandler.I drawCullHandler.h \ drawCullHandler.I drawCullHandler.h \
fadeLodNode.I fadeLodNode.h \ fadeLodNode.I fadeLodNode.h \
findApproxLevelEntry.I findApproxLevelEntry.h \ findApproxLevelEntry.I findApproxLevelEntry.h \
findApproxPath.I findApproxPath.h \ findApproxPath.I findApproxPath.h \
fog.I fog.h \ fog.I fog.h \
fogAttrib.I fogAttrib.h \ fogAttrib.I fogAttrib.h \
geomNode.I geomNode.h \ geomNode.I geomNode.h \
geomTransformer.I geomTransformer.h \ geomTransformer.I geomTransformer.h \
lensNode.I lensNode.h \ lensNode.I lensNode.h \
light.I light.h \ light.I light.h \
lightAttrib.I lightAttrib.h \ lightAttrib.I lightAttrib.h \
lightLensNode.I lightLensNode.h \ lightLensNode.I lightLensNode.h \
lightNode.I lightNode.h \ lightNode.I lightNode.h \
loader.I loader.h \ loader.I loader.h \
loaderFileType.h \ loaderFileType.h \
loaderFileTypeBam.h \ loaderFileTypeBam.h \
loaderFileTypeRegistry.h \ loaderFileTypeRegistry.h \
lodNode.I lodNode.h \ lodNode.I lodNode.h \
materialAttrib.I materialAttrib.h \ materialAttrib.I materialAttrib.h \
modelNode.I modelNode.h \ modelNode.I modelNode.h \
modelPool.I modelPool.h \ modelPool.I modelPool.h \
modelRoot.I modelRoot.h \ modelRoot.I modelRoot.h \
nodePath.I nodePath.h nodePath.cxx \ nodePath.I nodePath.h nodePath.cxx \
nodePathCollection.I nodePathCollection.h \ nodePathCollection.I nodePathCollection.h \
nodePathComponent.I nodePathComponent.h \ nodePathComponent.I nodePathComponent.h \
nodePathLerps.h \ nodePathLerps.h \
pandaNode.I pandaNode.h \ pandaNode.I pandaNode.h \
planeNode.I planeNode.h \ planeNode.I planeNode.h \
pointLight.I pointLight.h \ pointLight.I pointLight.h \
polylightNode.I polylightNode.h \ polylightNode.I polylightNode.h \
polylightEffect.I polylightEffect.h \ polylightEffect.I polylightEffect.h \
portalNode.I portalNode.h \ portalNode.I portalNode.h \
portalClipper.I portalClipper.h \ portalClipper.I portalClipper.h \
renderAttrib.I renderAttrib.h \ renderAttrib.I renderAttrib.h \
renderEffect.I renderEffect.h \ renderEffect.I renderEffect.h \
renderEffects.I renderEffects.h \ renderEffects.I renderEffects.h \
renderModeAttrib.I renderModeAttrib.h \ renderModeAttrib.I renderModeAttrib.h \
renderState.I renderState.h \ renderState.I renderState.h \
sceneGraphAnalyzer.h \ seaPatchNode.I seaPatchNode.h \
sceneGraphReducer.I sceneGraphReducer.h \ sceneGraphAnalyzer.h \
sceneSetup.I sceneSetup.h \ sceneGraphReducer.I sceneGraphReducer.h \
selectiveChildNode.I selectiveChildNode.h \ sceneSetup.I sceneSetup.h \
sequenceNode.I sequenceNode.h \ selectiveChildNode.I selectiveChildNode.h \
showBoundsEffect.I showBoundsEffect.h \ sequenceNode.I sequenceNode.h \
spotlight.I spotlight.h \ showBoundsEffect.I showBoundsEffect.h \
switchNode.I switchNode.h \ spotlight.I spotlight.h \
texMatrixAttrib.I texMatrixAttrib.h \ switchNode.I switchNode.h \
textureApplyAttrib.I textureApplyAttrib.h \ texMatrixAttrib.I texMatrixAttrib.h \
textureAttrib.I textureAttrib.h \ textureApplyAttrib.I textureApplyAttrib.h \
texGenAttrib.I texGenAttrib.h \ textureAttrib.I textureAttrib.h \
textureCollection.I textureCollection.h \ texGenAttrib.I texGenAttrib.h \
transformState.I transformState.h \ textureCollection.I textureCollection.h \
transparencyAttrib.I transparencyAttrib.h \ transformState.I transformState.h \
workingNodePath.I workingNodePath.h transparencyAttrib.I transparencyAttrib.h \
workingNodePath.I workingNodePath.h
#define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx
#define INCLUDED_SOURCES \ #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx
accumulatedAttribs.cxx \ #define INCLUDED_SOURCES \
alphaTestAttrib.cxx \ accumulatedAttribs.cxx \
ambientLight.cxx \ alphaTestAttrib.cxx \
bamFile.cxx \ ambientLight.cxx \
billboardEffect.cxx \ bamFile.cxx \
binCullHandler.cxx \ billboardEffect.cxx \
camera.cxx \ binCullHandler.cxx \
clipPlaneAttrib.cxx \ camera.cxx \
colorAttrib.cxx \ clipPlaneAttrib.cxx \
colorBlendAttrib.cxx \ colorAttrib.cxx \
colorScaleAttrib.cxx \ colorBlendAttrib.cxx \
colorWriteAttrib.cxx \ colorScaleAttrib.cxx \
compassEffect.cxx \ colorWriteAttrib.cxx \
config_pgraph.cxx \ compassEffect.cxx \
cullBin.cxx \ config_pgraph.cxx \
cullBinAttrib.cxx \ cullBin.cxx \
cullBinBackToFront.cxx \ cullBinAttrib.cxx \
cullBinFixed.cxx \ cullBinBackToFront.cxx \
cullBinFrontToBack.cxx \ cullBinFixed.cxx \
cullBinManager.cxx \ cullBinFrontToBack.cxx \
cullBinUnsorted.cxx \ cullBinManager.cxx \
cullFaceAttrib.cxx \ cullBinUnsorted.cxx \
cullHandler.cxx \ cullFaceAttrib.cxx \
cullResult.cxx \ cullHandler.cxx \
cullTraverser.cxx \ cullResult.cxx \
cullTraverserData.cxx \ cullTraverser.cxx \
cullableObject.cxx \ cullTraverserData.cxx \
decalEffect.cxx \ cullableObject.cxx \
depthOffsetAttrib.cxx \ decalEffect.cxx \
depthTestAttrib.cxx \ depthOffsetAttrib.cxx \
depthWriteAttrib.cxx \ depthTestAttrib.cxx \
directionalLight.cxx \ depthWriteAttrib.cxx \
drawCullHandler.cxx \ directionalLight.cxx \
fadeLodNode.cxx \ drawCullHandler.cxx \
findApproxLevelEntry.cxx \ fadeLodNode.cxx \
findApproxPath.cxx \ findApproxLevelEntry.cxx \
fog.cxx \ findApproxPath.cxx \
fogAttrib.cxx \ fog.cxx \
geomNode.cxx \ fogAttrib.cxx \
geomTransformer.cxx \ geomNode.cxx \
lensNode.cxx \ geomTransformer.cxx \
light.cxx \ lensNode.cxx \
lightAttrib.cxx \ light.cxx \
lightLensNode.cxx \ lightAttrib.cxx \
lightNode.cxx \ lightLensNode.cxx \
loader.cxx \ lightNode.cxx \
loaderFileType.cxx \ loader.cxx \
loaderFileTypeBam.cxx \ loaderFileType.cxx \
loaderFileTypeRegistry.cxx \ loaderFileTypeBam.cxx \
lodNode.cxx \ loaderFileTypeRegistry.cxx \
materialAttrib.cxx \ lodNode.cxx \
modelNode.cxx \ materialAttrib.cxx \
modelPool.cxx \ modelNode.cxx \
modelRoot.cxx \ modelPool.cxx \
nodePath.cxx \ modelRoot.cxx \
nodePathCollection.cxx \ nodePath.cxx \
nodePathComponent.cxx \ nodePathCollection.cxx \
nodePathLerps.cxx \ nodePathComponent.cxx \
pandaNode.cxx \ nodePathLerps.cxx \
planeNode.cxx \ pandaNode.cxx \
pointLight.cxx \ planeNode.cxx \
polylightNode.cxx \ pointLight.cxx \
polylightEffect.cxx \ polylightNode.cxx \
portalNode.cxx \ polylightEffect.cxx \
portalClipper.cxx \ portalNode.cxx \
renderAttrib.cxx \ portalClipper.cxx \
renderEffect.cxx \ renderAttrib.cxx \
renderEffects.cxx \ renderEffect.cxx \
renderModeAttrib.cxx \ renderEffects.cxx \
renderState.cxx \ renderModeAttrib.cxx \
sceneGraphAnalyzer.cxx \ renderState.cxx \
sceneGraphReducer.cxx \ seaPatchNode.cxx \
sceneSetup.cxx \ sceneGraphAnalyzer.cxx \
selectiveChildNode.cxx \ sceneGraphReducer.cxx \
sequenceNode.cxx \ sceneSetup.cxx \
showBoundsEffect.cxx \ selectiveChildNode.cxx \
spotlight.cxx \ sequenceNode.cxx \
switchNode.cxx \ showBoundsEffect.cxx \
texMatrixAttrib.cxx \ spotlight.cxx \
textureApplyAttrib.cxx \ switchNode.cxx \
textureAttrib.cxx \ texMatrixAttrib.cxx \
texGenAttrib.cxx \ textureApplyAttrib.cxx \
textureCollection.cxx \ textureAttrib.cxx \
transformState.cxx \ texGenAttrib.cxx \
transparencyAttrib.cxx \ textureCollection.cxx \
workingNodePath.cxx transformState.cxx \
transparencyAttrib.cxx \
#define INSTALL_HEADERS \ workingNodePath.cxx
accumulatedAttribs.I accumulatedAttribs.h \
alphaTestAttrib.I alphaTestAttrib.h \ #define INSTALL_HEADERS \
ambientLight.I ambientLight.h \ accumulatedAttribs.I accumulatedAttribs.h \
bamFile.I bamFile.h \ alphaTestAttrib.I alphaTestAttrib.h \
billboardEffect.I billboardEffect.h \ ambientLight.I ambientLight.h \
binCullHandler.I binCullHandler.h \ bamFile.I bamFile.h \
camera.I camera.h \ billboardEffect.I billboardEffect.h \
clipPlaneAttrib.I clipPlaneAttrib.h \ binCullHandler.I binCullHandler.h \
colorAttrib.I colorAttrib.h \ camera.I camera.h \
colorBlendAttrib.I colorBlendAttrib.h \ clipPlaneAttrib.I clipPlaneAttrib.h \
colorScaleAttrib.I colorScaleAttrib.h \ colorAttrib.I colorAttrib.h \
colorWriteAttrib.I colorWriteAttrib.h \ colorBlendAttrib.I colorBlendAttrib.h \
compassEffect.I compassEffect.h \ colorScaleAttrib.I colorScaleAttrib.h \
config_pgraph.h \ colorWriteAttrib.I colorWriteAttrib.h \
cullBin.I cullBin.h \ compassEffect.I compassEffect.h \
cullBinAttrib.I cullBinAttrib.h \ config_pgraph.h \
cullBinBackToFront.I cullBinBackToFront.h \ cullBin.I cullBin.h \
cullBinFixed.I cullBinFixed.h \ cullBinAttrib.I cullBinAttrib.h \
cullBinFrontToBack.I cullBinFrontToBack.h \ cullBinBackToFront.I cullBinBackToFront.h \
cullBinManager.I cullBinManager.h \ cullBinFixed.I cullBinFixed.h \
cullBinUnsorted.I cullBinUnsorted.h \ cullBinFrontToBack.I cullBinFrontToBack.h \
cullFaceAttrib.I cullFaceAttrib.h \ cullBinManager.I cullBinManager.h \
cullHandler.I cullHandler.h \ cullBinUnsorted.I cullBinUnsorted.h \
cullResult.I cullResult.h \ cullFaceAttrib.I cullFaceAttrib.h \
cullTraverser.I cullTraverser.h \ cullHandler.I cullHandler.h \
cullTraverserData.I cullTraverserData.h \ cullResult.I cullResult.h \
cullableObject.I cullableObject.h \ cullTraverser.I cullTraverser.h \
decalEffect.I decalEffect.h \ cullTraverserData.I cullTraverserData.h \
depthOffsetAttrib.I depthOffsetAttrib.h \ cullableObject.I cullableObject.h \
depthTestAttrib.I depthTestAttrib.h \ decalEffect.I decalEffect.h \
depthWriteAttrib.I depthWriteAttrib.h \ depthOffsetAttrib.I depthOffsetAttrib.h \
directionalLight.I directionalLight.h \ depthTestAttrib.I depthTestAttrib.h \
drawCullHandler.I drawCullHandler.h \ depthWriteAttrib.I depthWriteAttrib.h \
fadeLodNode.I fadeLodNode.h \ directionalLight.I directionalLight.h \
fog.I fog.h \ drawCullHandler.I drawCullHandler.h \
fogAttrib.I fogAttrib.h \ fadeLodNode.I fadeLodNode.h \
geomNode.I geomNode.h \ fog.I fog.h \
geomTransformer.I geomTransformer.h \ fogAttrib.I fogAttrib.h \
lensNode.I lensNode.h \ geomNode.I geomNode.h \
light.I light.h \ geomTransformer.I geomTransformer.h \
lightAttrib.I lightAttrib.h \ lensNode.I lensNode.h \
lightLensNode.I lightLensNode.h \ light.I light.h \
lightNode.I lightNode.h \ lightAttrib.I lightAttrib.h \
loader.I loader.h \ lightLensNode.I lightLensNode.h \
loaderFileType.h \ lightNode.I lightNode.h \
loaderFileTypeBam.h \ loader.I loader.h \
loaderFileTypeRegistry.h \ loaderFileType.h \
lodNode.I lodNode.h \ loaderFileTypeBam.h \
materialAttrib.I materialAttrib.h \ loaderFileTypeRegistry.h \
modelNode.I modelNode.h \ lodNode.I lodNode.h \
modelPool.I modelPool.h \ materialAttrib.I materialAttrib.h \
modelRoot.I modelRoot.h \ modelNode.I modelNode.h \
nodePath.I nodePath.h \ modelPool.I modelPool.h \
nodePathCollection.I nodePathCollection.h \ modelRoot.I modelRoot.h \
nodePathComponent.I nodePathComponent.h \ nodePath.I nodePath.h \
nodePathLerps.h \ nodePathCollection.I nodePathCollection.h \
pandaNode.I pandaNode.h \ nodePathComponent.I nodePathComponent.h \
planeNode.I planeNode.h \ nodePathLerps.h \
pointLight.I pointLight.h \ pandaNode.I pandaNode.h \
polylightNode.I polylightNode.h \ planeNode.I planeNode.h \
polylightEffect.I polylightEffect.h \ pointLight.I pointLight.h \
portalNode.I portalNode.h \ polylightNode.I polylightNode.h \
portalClipper.I portalClipper.h \ polylightEffect.I polylightEffect.h \
renderAttrib.I renderAttrib.h \ portalNode.I portalNode.h \
renderEffect.I renderEffect.h \ portalClipper.I portalClipper.h \
renderEffects.I renderEffects.h \ renderAttrib.I renderAttrib.h \
renderModeAttrib.I renderModeAttrib.h \ renderEffect.I renderEffect.h \
renderState.I renderState.h \ renderEffects.I renderEffects.h \
sceneGraphAnalyzer.h \ renderModeAttrib.I renderModeAttrib.h \
sceneGraphReducer.I sceneGraphReducer.h \ renderState.I renderState.h \
sceneSetup.I sceneSetup.h \ seaPatchNode.I seaPatchNode.h \
selectiveChildNode.I selectiveChildNode.h \ sceneGraphAnalyzer.h \
sequenceNode.I sequenceNode.h \ sceneGraphReducer.I sceneGraphReducer.h \
showBoundsEffect.I showBoundsEffect.h \ sceneSetup.I sceneSetup.h \
spotlight.I spotlight.h \ selectiveChildNode.I selectiveChildNode.h \
switchNode.I switchNode.h \ sequenceNode.I sequenceNode.h \
texMatrixAttrib.I texMatrixAttrib.h \ showBoundsEffect.I showBoundsEffect.h \
textureApplyAttrib.I textureApplyAttrib.h \ spotlight.I spotlight.h \
textureAttrib.I textureAttrib.h \ switchNode.I switchNode.h \
texGenAttrib.I texGenAttrib.h \ texMatrixAttrib.I texMatrixAttrib.h \
textureCollection.I textureCollection.h \ textureApplyAttrib.I textureApplyAttrib.h \
transformState.I transformState.h \ textureAttrib.I textureAttrib.h \
transparencyAttrib.I transparencyAttrib.h \ texGenAttrib.I texGenAttrib.h \
workingNodePath.I workingNodePath.h textureCollection.I textureCollection.h \
transformState.I transformState.h \
// No need to install these. transparencyAttrib.I transparencyAttrib.h \
// findApproxLevelEntry.I findApproxLevelEntry.h \ workingNodePath.I workingNodePath.h
// findApproxPath.I findApproxPath.h \
// No need to install these.
#define IGATESCAN all // findApproxLevelEntry.I findApproxLevelEntry.h \
// findApproxPath.I findApproxPath.h \
// Uncomment these lines to compile everything individually instead of
// combining into pgraph_composite*.cxx. #define IGATESCAN all
// #define COMBINED_SOURCES // Uncomment these lines to compile everything individually instead of
// #define SOURCES $[SOURCES] $[INCLUDED_SOURCES] // combining into pgraph_composite*.cxx.
#end lib_target // #define COMBINED_SOURCES
// #define SOURCES $[SOURCES] $[INCLUDED_SOURCES]
#begin test_bin_target #end lib_target
#define TARGET test_pgraph
#define SOURCES \ #begin test_bin_target
test_pgraph.cxx #define TARGET test_pgraph
#define LOCAL_LIBS $[LOCAL_LIBS] pgraph #define SOURCES \
#define OTHER_LIBS $[OTHER_LIBS] pystub test_pgraph.cxx
#end test_bin_target #define LOCAL_LIBS $[LOCAL_LIBS] pgraph
#define OTHER_LIBS $[OTHER_LIBS] pystub
#end test_bin_target

View File

@ -72,8 +72,10 @@
#include "renderEffects.h" #include "renderEffects.h"
#include "renderModeAttrib.h" #include "renderModeAttrib.h"
#include "renderState.h" #include "renderState.h"
#include "seaPatchNode.h"
#include "selectiveChildNode.h" #include "selectiveChildNode.h"
#include "sequenceNode.h" #include "sequenceNode.h"
//#include "shaderNode.h"
#include "showBoundsEffect.h" #include "showBoundsEffect.h"
#include "spotlight.h" #include "spotlight.h"
#include "switchNode.h" #include "switchNode.h"
@ -224,8 +226,10 @@ init_libpgraph() {
RenderEffects::init_type(); RenderEffects::init_type();
RenderModeAttrib::init_type(); RenderModeAttrib::init_type();
RenderState::init_type(); RenderState::init_type();
SeaPatchNode::init_type();
SelectiveChildNode::init_type(); SelectiveChildNode::init_type();
SequenceNode::init_type(); SequenceNode::init_type();
// ShaderNode::init_type();
ShowBoundsEffect::init_type(); ShowBoundsEffect::init_type();
Spotlight::init_type(); Spotlight::init_type();
SwitchNode::init_type(); SwitchNode::init_type();

View File

@ -27,10 +27,12 @@
#include "renderEffects.cxx" #include "renderEffects.cxx"
#include "renderModeAttrib.cxx" #include "renderModeAttrib.cxx"
#include "renderState.cxx" #include "renderState.cxx"
#include "seaPatchNode.cxx"
#include "sceneGraphAnalyzer.cxx" #include "sceneGraphAnalyzer.cxx"
#include "sceneGraphReducer.cxx" #include "sceneGraphReducer.cxx"
#include "selectiveChildNode.cxx" #include "selectiveChildNode.cxx"
#include "sequenceNode.cxx" #include "sequenceNode.cxx"
//#include "shaderNode.cxx"
#include "showBoundsEffect.cxx" #include "showBoundsEffect.cxx"
#include "spotlight.cxx" #include "spotlight.cxx"
#include "switchNode.cxx" #include "switchNode.cxx"

View File

@ -35,11 +35,13 @@ TypeHandle TexGenAttrib::_type_handle;
CPT(RenderAttrib) TexGenAttrib:: CPT(RenderAttrib) TexGenAttrib::
make(Mode mode) { make(Mode mode) {
TexGenAttrib *attrib = new TexGenAttrib(mode); TexGenAttrib *attrib = new TexGenAttrib(mode);
#if 0
attrib->_texture = TexturePool::load_texture("/usr/masad/player/pmockup/maps/moon-card.rgb", 1); attrib->_texture = TexturePool::load_texture("/usr/masad/player/pmockup/maps/moon-card.rgb", 1);
if (attrib->_texture) if (attrib->_texture)
pgraph_cat.debug() << *(attrib->_texture) << endl; pgraph_cat.debug() << *(attrib->_texture) << endl;
else else
return (TexGenAttrib *)NULL; return (TexGenAttrib *)NULL;
#endif
return return_new(attrib); return return_new(attrib);
} }