Beetle Posted September 14, 2005 Share Posted September 14, 2005 (edited) Hi I was curently trying to do something with that great Laser pistol mesh, but as always have problems . My card (GeForce 4 mx) is not supprting multitextures: 16:27:28: Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_render_texture WGL_EXT_extensions_string WGL_EXT_swap_control WGL_NV_render_texture_rectangleAs you see there is no GL_ARB_multitexture here Since i'm going to change my GF4 soon, it's not big problem to me, but are we going to support this card in our final product?? I'm think that we should. So maybe i will just add that meesh with only one texture (Diffuse) attached to it?? One more, i already added techniques(quite dirty in fact ) to support cards that don't have vertex shaders in billboards and icons objects. They was used to hide icons from the globe, currently i have just added new technique wich is just ignoring that, but i think it should be done programmly from CPU side (they will be not so many icons on the globe ) Greetings,Beetle Edited September 14, 2005 by Beetle Link to comment Share on other sites More sharing options...
rincewind Posted September 14, 2005 Share Posted September 14, 2005 As you can see, I'm not dead, yet... Beginning of October, I'll be back for good. Now jsut two short comments: Geforce 4 MX supports multitexture (everything since TNT does). What you pasted are WGL-extensions not GL-extensions. You should find it there. As to the vertex shader issue: Recent drivers just implement the vertex shaders on the CPU which for the couple of vertexes we use for the billboards doesn't have an impact at all. And they should be heavily optimised using SSE, etc. So no need for a different path. Rincewind Link to comment Share on other sites More sharing options...
Beetle Posted September 14, 2005 Author Share Posted September 14, 2005 (edited) Great to know that you are here If my card support multitextures then why they are not working ??? I can download newest drivers maybe something changed edit: Ok i have newest drivers now It seems that it helped with that vertex shader (still not working under directX, but i don't using directX ) Going back to multitextures. From ogre logs everything looks ok, but no effects. I will take a closer look how to use that material scripts Edited September 14, 2005 by Beetle Link to comment Share on other sites More sharing options...
Beetle Posted September 15, 2005 Author Share Posted September 15, 2005 Ok it's working now Link to comment Share on other sites More sharing options...
red knight Posted September 15, 2005 Share Posted September 15, 2005 Out of curiosity, how did you handled it? BTW if it was something regarding the material script or some code pattern using Ogre, document it in the Wiki. GreetingsRed Knight Link to comment Share on other sites More sharing options...
Beetle Posted September 15, 2005 Author Share Posted September 15, 2005 Hmm my errors first of all old drivers (something strange becouse they wasn't so old , but was older then Ogre and that was enough (without them ogre was telling (in log file) that he can't find methods to draw objects, ore soemthing like that) Second material scirpt (i was trying to multiply 2 textures and didn't even recoginzed that one of them is almost everywhere zero ) Next time i will try to think more before posting here btw: i'm still fighting with bump mapping, but already uploaded textures and model to SVN (and created simple material file) look at screen shot. Now i'm see that ogre material script is very powerfull tool, only have to know how to use it Link to comment Share on other sites More sharing options...
Beetle Posted September 15, 2005 Author Share Posted September 15, 2005 (edited) Hmm my errors first of all old drivers (something strange becouse they wasn't so old , but was older then Ogre and that was enough (without them ogre was telling (in log file) that he can't find methods to draw objects, ore soemthing like that) Second material scirpt (i was trying to multiply 2 textures and didn't even recoginzed that one of them is almost everywhere zero ) Next time i will try to think more before posting here btw: i'm still fighting with bump mapping, but already uploaded textures and model to SVN (and created simple material file) look at screen shot. Now i'm see that ogre material script is very powerfull tool, only have to know how to use it edit: What happened? suddenly second image apeard ?? Edited September 15, 2005 by Beetle Link to comment Share on other sites More sharing options...
Recommended Posts