v0.8 no textures in opengl also in Linux!
latest available via portage: 66.29
they're not so old, are they? perhaps it's the card? (FX5200). Gonna try it on the other cards (5900 ultra, 6800GT) to see if it makes any difference. Anyway, I'm glad I can finally see the power of Irrlicht running in linux!!!
thnx for the interest bal!!! Any tip that comes from you Linux expertise would be nice.
they're not so old, are they? perhaps it's the card? (FX5200). Gonna try it on the other cards (5900 ultra, 6800GT) to see if it makes any difference. Anyway, I'm glad I can finally see the power of Irrlicht running in linux!!!
thnx for the interest bal!!! Any tip that comes from you Linux expertise would be nice.
yup, with my other cards the examples run smooth as butter. I decided to use the lowest-en of my pcs to use Linux to see its true power in action.
so far it hasn't disappointed me, and if I need any stuff that requires better hardarwe specs I develop it on the other boxes. But it feels great to be able to do so much already in Linux. Nothing like the first time I tried linuz some 3 years ago!!!
thnx anyway bal.
so far it hasn't disappointed me, and if I need any stuff that requires better hardarwe specs I develop it on the other boxes. But it feels great to be able to do so much already in Linux. Nothing like the first time I tried linuz some 3 years ago!!!
thnx anyway bal.
hehehehe yup! my bad! peeking, huh? peek_a_boo!
but I thought it was also a similar prob to the one I'm having with lightmapped files (other thread), where some of my Q3 bsps and My3d levels are only showing the lightmap info but not the difuse maps.
heheheh, so linux definitely stays for lower-end stuff!!!
but I think it's always great to have a system with lower specs for testing purposes; remember guys that when developing we must think more in an average user with an average pc
thnx MikeR!
but I thought it was also a similar prob to the one I'm having with lightmapped files (other thread), where some of my Q3 bsps and My3d levels are only showing the lightmap info but not the difuse maps.
heheheh, so linux definitely stays for lower-end stuff!!!
but I think it's always great to have a system with lower specs for testing purposes; remember guys that when developing we must think more in an average user with an average pc
thnx MikeR!
-
- Posts: 61
- Joined: Mon Oct 25, 2004 12:11 am
It seems that part of your problem is that multitexturing still isn't available in Linux with Irrlicht. Luckily, the problem isn't hard to fix. Also, when I tried out 0.8, I saw that the shadows and some materials were still broken when using OpenGL. There are fixes for most of the problems in the forums. I used a gl extension loader lib to get around the trouble I had using them under linux, and now it seems that Irrlicht's OpenGL support for Linux works as well as the Windows one, and since fixing the materials with code from the forums, the graphics seem to behave in the same way as DirectX (from screenshots I've seen).
Do anyone have a How-To summary to get the OpenGL support in Linux to correctly?
I know you can uncomment the bellow in CVideoOpenGL.cpp to get multitexturing support.
CVideoOpenGL.cpp
But still textures and materials are not correct in example 02 the quake3map.
I know you can uncomment the bellow in CVideoOpenGL.cpp to get multitexturing support.
CVideoOpenGL.cpp
Code: Select all
// This works.
// But I am not able to test it out on my machine, because it doesnot have
// any 3d acceleration in Linux, even with new drivers. Uncomment this and set MultiTextureExtension to true if
// you want to use it.
//pGlActiveTextureARB = (PFNGLACTIVETEXTUREPROC)glXGetProcAddressARB(reinterpret_cast<const GLubyte*>("glActiveTextureARB"));
//pGlClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREPROC)glXGetProcAddressARB(reinterpret_cast<constGLubyte*>("glClientActiveTextureARB"));
MultiTextureExtension = true;
Interesting ErMurazor. But I gave it a try and got these compile errors:
let's see if we can fix it.
but I think that's the way to go!CVideoOpenGL.cpp:344: error: `pGlActiveTextureARB' undeclared (first use this
function)
CVideoOpenGL.cpp:344: error: (Each undeclared identifier is reported only once
for each function it appears in.)
CVideoOpenGL.cpp:345: error: `pGlClientActiveTextureARB' undeclared (first use
this function)
make: *** [CVideoOpenGL.o] Error 1
let's see if we can fix it.
Sorry you need uncomment these lines also in CVideoOpenGL.cpp
Code: Select all
// extensions
//PFNGLACTIVETEXTUREPROC pGlActiveTextureARB = 0;
//PFNGLCLIENTACTIVETEXTUREPROC pGlClientActiveTextureARB = 0;
//PFNGLGENPROGRAMSARBPROC pGlGenProgramsARB = 0;
//PFNGLBINDPROGRAMARBPROC pGlBindProgramARB = 0;
GETTING CLOSE!!!
Hey ErMurazor!
I started by simply switching it to "true"and this is what I got:
http://www.danielpatton.com/afecelis/sc ... /close.jpg
btw: this is how I'm getting things in OpenGl in windows as well.
now I'm gonna try the other thing you tell me.
thnx man!
I started by simply switching it to "true"and this is what I got:
http://www.danielpatton.com/afecelis/sc ... /close.jpg
btw: this is how I'm getting things in OpenGl in windows as well.
now I'm gonna try the other thing you tell me.
thnx man!
ok, uncommented the other lines (extensions) and now the source compiles fine. But the result I got was the same; only lightmaps are loading, still missing the difuse maps mixed.
but I'm sure we're getting close!!!
anybody? perhaps the NX ppl can give us a hand here?
ps. Oh yes! forgot, another screenie. This was one of Goretek's wallpapers; check it w/lightmaps only:
http://www.danielpatton.com/afecelis/sc ... close1.jpg
but I'm sure we're getting close!!!
anybody? perhaps the NX ppl can give us a hand here?
ps. Oh yes! forgot, another screenie. This was one of Goretek's wallpapers; check it w/lightmaps only:
http://www.danielpatton.com/afecelis/sc ... close1.jpg
Going through CVideoOpenGL this morning, I noticed something else which I didn't see mentioned here, which I think should be.
The bodies of extGlActiveTextureARB() and extGlClientActiveTextureARB() are empty when compiling under Linux because they're "#ifdef WIN32"ed. If you haven't yet removed those #ifdefs, do so.
The bodies of extGlActiveTextureARB() and extGlClientActiveTextureARB() are empty when compiling under Linux because they're "#ifdef WIN32"ed. If you haven't yet removed those #ifdefs, do so.