Compile in XCode. ITriangleRenderer2.cpp is where?
Compile in XCode. ITriangleRenderer2.cpp is where?
Hey!
I just started looking at Irrlicht and I'm trying to get 1.2 to compile in XCode.
I managed to compile the library by changing references from RenderBuffer to Renderbuffer.
However, the demos won't compile, giving me an error of:
reference to undefined irr::video::ITriangleRenderer2::~ITriangleRenderer2()
This makes sense with people saying to add ITriangleRenderer2.cpp to the project, but I can't find this file.
Anyone know what I'm missing?
I also tried compiling from SVN (revision 444), but I get a few undefined symbols in COSOperator.cpp (sysctlbyname, _SC_PHYS_PAGES, and _SC_AVPHYS_PAGES)
Cheers!
I just started looking at Irrlicht and I'm trying to get 1.2 to compile in XCode.
I managed to compile the library by changing references from RenderBuffer to Renderbuffer.
However, the demos won't compile, giving me an error of:
reference to undefined irr::video::ITriangleRenderer2::~ITriangleRenderer2()
This makes sense with people saying to add ITriangleRenderer2.cpp to the project, but I can't find this file.
Anyone know what I'm missing?
I also tried compiling from SVN (revision 444), but I get a few undefined symbols in COSOperator.cpp (sysctlbyname, _SC_PHYS_PAGES, and _SC_AVPHYS_PAGES)
Cheers!
Unfortunately nobody with svn access owns a mac, so the xcode project is usually quite out of date.
ITriangleRenderer2 is no longer part of Irrlicht, so you can remove it from the project. You might be missing some files too, so if you get any linker errors, check to see if your project has the files
regarding svn, we have two new untested functions in there-
for getProcessorSpeedMHz, apparently sysctlbyname needs the following includes, try putting them in the #ifdef MACOSX section at the top of OSOperator.cpp
as for getSystemMemory, unistd.h should have _SC_PHYS_PAGES and _SC_AVPHYS_PAGES, but I couldn't find anything about them in OSX.
Maybe try disabling this for now, remove the "|| defined(MACOSX)" from line 170, and add "return false;" on a new line after the #endif
ITriangleRenderer2 is no longer part of Irrlicht, so you can remove it from the project. You might be missing some files too, so if you get any linker errors, check to see if your project has the files
regarding svn, we have two new untested functions in there-
for getProcessorSpeedMHz, apparently sysctlbyname needs the following includes, try putting them in the #ifdef MACOSX section at the top of OSOperator.cpp
Code: Select all
#include <sys/types.h>
#include <sys/sysctl.h>
Maybe try disabling this for now, remove the "|| defined(MACOSX)" from line 170, and add "return false;" on a new line after the #endif
Great, thanks!
On top of what you mentioned I had to do a few more things to get the library and demos to compile.
Change line 141 to if (!sysctlbyname("kern.clockrate", &CpuClock, &Size, NULL, 0)) (ie. remove the 2)
Change line 378 of CIrrDeviceMacOSX.mm to void CIrrDeviceMacOSX::sleep(u32 timeMs, bool pauseTimer=false) (used to be CIrrDeviceLinux)
Disable CZBuffer2.cpp in XCode
I then had to go through the Irrlicht, jpeglib and pnglib directories and add all the files that weren't in the project. I just blindly added everything, so of course I had to remove platform specific files for it to compile. I'm sure I still have stuff in there I don't need, but at least the library and the demos successfully compile and run.
But now the issues is that the faeries in the demos appear white. If I change the path of the texture file to something invalid, they appear grey, as in no texture.
The dwarf in the mesh viewer looks fine though, but then he's not a .md2.
I recall reading about other people having a similar issue, but I can't seem to find those threads now.
On top of what you mentioned I had to do a few more things to get the library and demos to compile.
Change line 141 to if (!sysctlbyname("kern.clockrate", &CpuClock, &Size, NULL, 0)) (ie. remove the 2)
Change line 378 of CIrrDeviceMacOSX.mm to void CIrrDeviceMacOSX::sleep(u32 timeMs, bool pauseTimer=false) (used to be CIrrDeviceLinux)
Disable CZBuffer2.cpp in XCode
I then had to go through the Irrlicht, jpeglib and pnglib directories and add all the files that weren't in the project. I just blindly added everything, so of course I had to remove platform specific files for it to compile. I'm sure I still have stuff in there I don't need, but at least the library and the demos successfully compile and run.
But now the issues is that the faeries in the demos appear white. If I change the path of the texture file to something invalid, they appear grey, as in no texture.
The dwarf in the mesh viewer looks fine though, but then he's not a .md2.
I recall reading about other people having a similar issue, but I can't seem to find those threads now.
-
- Posts: 66
- Joined: Wed Oct 04, 2006 2:07 pm
yeah sorry about he Mac-Porting.
I personally would like to code for MacOSX but i would need a coding machine.
*grins* Will someone make a gift for a poor Irrlicht coder?. Will somebody make me an (not so ) old G4/G5 with XCode2 as present?.
(i have birthday in a few days;-))
than i could keep the Mac-Port uptodate..
I personally would like to code for MacOSX but i would need a coding machine.
*grins* Will someone make a gift for a poor Irrlicht coder?. Will somebody make me an (not so ) old G4/G5 with XCode2 as present?.
(i have birthday in a few days;-))
than i could keep the Mac-Port uptodate..
burningreggae
-
- Posts: 11
- Joined: Tue Feb 13, 2007 5:36 pm
Is there a topic/thread that mac problems should be posted into besides this one?
I recently tried to build svn 474. The issue with sysctlbyname still exists. Additionally, I have an error in CIrrDeviceMacOSX.mm:272
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:272: error: 'EDT_SOFTWARE2' is not a member of 'irr::video'
I'd love to help but I'm new to both Irrlicht and Macs so I'm not sure how much I'll be able to help out. I guess at the very least I can report bugs.
I recently tried to build svn 474. The issue with sysctlbyname still exists. Additionally, I have an error in CIrrDeviceMacOSX.mm:272
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/../MacOSX/CIrrDeviceMacOSX.mm:272: error: 'EDT_SOFTWARE2' is not a member of 'irr::video'
I'd love to help but I'm new to both Irrlicht and Macs so I'm not sure how much I'll be able to help out. I guess at the very least I can report bugs.
-
- Posts: 11
- Joined: Tue Feb 13, 2007 5:36 pm
478 builds ok, but I get errors when trying to build the demo app. These could be project errors, maybe you can give a hint what to look for?
Code: Select all
/usr/bin/ld: Undefined symbols:
irr::video::createDepthBuffer(irr::core::dimension2d<int> const&)
irr::video::createTRTextureBlend(irr::video::IDepthBuffer*)
irr::video::createTRTextureGouraudAlpha(irr::video::IDepthBuffer*)
irr::video::createTRTextureGouraudAlphaNoZ(irr::video::IDepthBuffer*)
irr::video::createTriangleRendererGTextureLightMap2_M4(irr::video::IDepthBuffer*)
irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
irr::video::IBurningShader::~IBurningShader()
irr::video::IBurningShader::~IBurningShader()
irr::video::IBurningShader::~IBurningShader()
typeinfo for irr::video::IBurningShader
virtual thunk to irr::video::IBurningShader::~IBurningShader()
virtual thunk to irr::video::IBurningShader::~IBurningShader()
irr::gui::CGUISpriteBank::CGUISpriteBank(irr::gui::IGUIEnvironment*)
irr::gui::CGUIColorSelectDialog::CGUIColorSelectDialog(wchar_t const*, irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int)
irr::gui::CDefaultGUIElementFactory::CDefaultGUIElementFactory(irr::gui::IGUIEnvironment*)
_png_create_write_struct
_png_destroy_write_struct
_png_write_png
irr::scene::CMD3MeshFileLoader::CMD3MeshFileLoader(irr::io::IFileSystem*, irr::video::IVideoDriver*)
irr::scene::CQuake3ShaderSceneNode::CQuake3ShaderSceneNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, int, irr::io::IFileSystem*, irr::scene::IMeshBuffer*, irr::scene::quake3::SShader const*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CSoftwareDriver2.o) reference to undefined irr::video::createDepthBuffer(irr::core::dimension2d<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CSoftwareDriver2.o) reference to undefined irr::video::createTRTextureBlend(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CSoftwareDriver2.o) reference to undefined irr::video::createTRTextureGouraudAlpha(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CSoftwareDriver2.o) reference to undefined irr::video::createTRTextureGouraudAlphaNoZ(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CSoftwareDriver2.o) reference to undefined irr::video::createTriangleRendererGTextureLightMap2_M4(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudVertexAlpha2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureWire2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraud2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_Add.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudNoZ2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraud2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlpha2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M1.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M4.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CGUIEnvironment.o) reference to undefined irr::gui::CGUISpriteBank::CGUISpriteBank(irr::gui::IGUIEnvironment*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CGUIEnvironment.o) reference to undefined irr::gui::CGUIColorSelectDialog::CGUIColorSelectDialog(wchar_t const*, irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CGUIEnvironment.o) reference to undefined irr::gui::CDefaultGUIElementFactory::CDefaultGUIElementFactory(irr::gui::IGUIEnvironment*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureLightMap2_M2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CImageWriterPNG.o) reference to undefined _png_create_write_struct
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CImageWriterPNG.o) reference to undefined _png_destroy_write_struct
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CImageWriterPNG.o) reference to undefined _png_write_png
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CSceneManager.o) reference to undefined irr::scene::CMD3MeshFileLoader::CMD3MeshFileLoader(irr::io::IFileSystem*, irr::video::IVideoDriver*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CSceneManager.o) reference to undefined irr::scene::CQuake3ShaderSceneNode::CQuake3ShaderSceneNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, int, irr::io::IFileSystem*, irr::scene::IMeshBuffer*, irr::scene::quake3::SShader const*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAdd2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRGouraudAlphaNoZ2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureDetailMap2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined irr::video::IBurningShader::setTexture(unsigned int, irr::video::CSoftwareTexture2*, int)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined irr::video::IBurningShader::setRenderTarget(irr::video::IImage*, irr::core::rect<int> const&)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined irr::video::IBurningShader::IBurningShader(irr::video::IDepthBuffer*)
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined typeinfo for irr::video::IBurningShader
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
/Users/nakor/Projects/irrlicht-svn/irrlicht/source/Irrlicht/MacOSX/build/Release/libIrrlicht.a(CTRTextureGouraudAddNoZ2.o) reference to undefined virtual thunk to irr::video::IBurningShader::~IBurningShader()
collect2: ld returned 1 exit status
-
- Posts: 11
- Joined: Tue Feb 13, 2007 5:36 pm
-
- Posts: 11
- Joined: Tue Feb 13, 2007 5:36 pm
Okay, I got it built. Unfortunately, the demo doesn't seem to DO anything. Here is the output
A window pops up, but it is blank.
I'm not sure where to go from here. Any advice is greatly appreciated - I'd love to use irrlicht for my mac projects!
Code: Select all
$ ./Demo
Irrlicht Engine version 1.2b
Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386
Loaded mesh: ../../media/faerie.md2
Loaded texture: ../../media/faerie2.bmp
Loaded texture: ../../media/particlered.bmp
Loaded texture: ../../media/portal1.bmp
Loaded texture: ../../media/irrlichtlogo2.png
Loaded texture: ../../media/demoback.jpg
I'm not sure where to go from here. Any advice is greatly appreciated - I'd love to use irrlicht for my mac projects!
-
- Posts: 11
- Joined: Tue Feb 13, 2007 5:36 pm
-
- Posts: 11
- Joined: Tue Feb 13, 2007 5:36 pm
Quake3Map sort-of works. It builds okay (a couple linker warnings about a build/debug directory not being found). But, the rendering seems messed up somewhat. Here is the output:
Some of the surfaces appear white at certain angles, and normal at other angles. Here's what the initial view looks like. If you tilt the camera or move around, you can make the tops of those stairs appear normal.
Similarly, from a different angle, you can see the same effect; sometimes the tops of the stairs are white, other times they render normally.
I guess my question is, is this normal? Or is there some problem?
Code: Select all
$ ./Quake3Map
Please select the driver you want for this example:
(a) Direct3D 9.0c
(b) Direct3D 8.1
(c) OpenGL 1.5
(d) Software Renderer
(e) Burning's Software Renderer
(f) NullDevice
(otherKey) exit
c
Irrlicht Engine version 1.2b
Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386
Using renderer: OpenGL 2.0
ATI Radeon X1600 OpenGL Engine: ATI Technologies Inc.
OpenGL driver version is 1.2 or better.
Loaded shader: scripts/common.shader for scripts/common.shader
Loaded shader: scripts/models.shader for scripts/models.shader
Loaded shader: scripts/e7.shader for textures/e7/e7walldesign01b
Loaded texture: textures/e7/e7walldesign01b.jpg
Loaded texture: textures/e7/e7steptop2.jpg
Loaded texture: textures/e7/e7dimfloor.jpg
Loaded texture: textures/e7/e7brickfloor01.jpg
Loaded texture: textures/e7/e7bmtrim.jpg
Loaded texture: textures/e7/e7sbrickfloor.jpg
Loaded texture: textures/e7/e7brnmetal.jpg
Loaded texture: textures/e7/e7beam02_red.jpg
Loaded texture: textures/e7/e7swindow.jpg
Loaded texture: textures/e7/e7bigwall.jpg
Loaded texture: textures/e7/e7panelwood.jpg
Loaded texture: textures/e7/e7beam01.jpg
Loaded texture: textures/gothic_floor/xstepborder5.jpg
Loaded texture: textures/liquids/lavahell.jpg
Loaded texture: textures/e7/e7steptop.jpg
Loaded texture: textures/gothic_trim/metalblackwave01.jpg
Loaded texture: textures/stone/pjrock1.jpg
Loaded texture: models/mapobjects/timlamp/timlamp.tga
Loaded shader: scripts/sfx.shader for textures/sfx/flame1side
Loaded texture: models/mapobjects/gratelamp/gratetorch2.jpg
Loaded texture: models/mapobjects/gratelamp/gratetorch2b.tga
Loaded mesh: 20kdm2.bsp
Needed 74ms to create OctTree SceneNode.(456 nodes, 10684 polys)
Similarly, from a different angle, you can see the same effect; sometimes the tops of the stairs are white, other times they render normally.
I guess my question is, is this normal? Or is there some problem?
looks like a bug, i'm assuming those triangles are missing rather than rendered as white. try to eliminate the following two pieces of code-
COctTreeSceneNode: add the model as an animated mesh instead of an octTreeSceneNode (it will be slower)
OpenGL lightmap material renderer: try adding node->setMaterialType(video::EMT_SOLID) (it will look bad, but are the triangles still missing?)
also, we'd love a copy of your project files please
COctTreeSceneNode: add the model as an animated mesh instead of an octTreeSceneNode (it will be slower)
OpenGL lightmap material renderer: try adding node->setMaterialType(video::EMT_SOLID) (it will look bad, but are the triangles still missing?)
also, we'd love a copy of your project files please
-
- Posts: 11
- Joined: Tue Feb 13, 2007 5:36 pm
I must not have done it right. Here's what I changed in Quake3Map main.cpp (the "addMeshSceneNode" was already there, I just uncommented it out, and commented out addOctTreeSceneNode):
I don't think the "setMaterialType" worked because it looked the same as before. Here are two more screen shots.. you can see that only the angle is slightly different, but in one, the steps are "mostly" correct.
I guess the project "file" is actually a directory, so I'll zip that up and post it soon.
Code: Select all
if (mesh)
{
//node = smgr->addOctTreeSceneNode(mesh->getMesh(0), 0, -1, 128);
node = smgr->addMeshSceneNode ( mesh->getMesh ( 0 ) );
//((scene::IMeshSceneNode*)node )->setReadOnlyMaterials ( true );
node->setMaterialType(video::EMT_SOLID);
}
I guess the project "file" is actually a directory, so I'll zip that up and post it soon.