[Flightgear-devel] multitex investigation
Guys Have some troubles with multitex maybe you gime me how-tos Ok I can use second texture and second texture coordinates but we load tiles using genleaf function in obj.cxx ok it's done at startup but if we want to have landing lights moves we have generate second texture coordinates in realtime please give me hint where in flightgear it can be done? in tileentry? but we have to regenerate our tiles (second texture coordinates in realtime and genleaf function don't work at all) Thanx in advance Roman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] multitex investigation
Roman Grigoriev wrote: ok it's done at startup but if we want to have landing lights moves we have generate second texture coordinates in realtime please give me hint where in flightgear it can be done? in tileentry? I'm not the right person to answer questions about the scenery tile subsystem, but you are aware of OpenGL's texgen features for doing realtime texture coordinates, right? If you set things up right, texgen will generate the texture coordinates for you dynamically from the vertex coordinates on the GPU, with no significant loss of performance. Andy -- Andrew J. RossNextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com Men go crazy in conflagrations. They only get better one by one. - Sting (misquoted) ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] multitex investigation
- Original Message - From: Andy Ross [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 9:07 PM Subject: Re: [Flightgear-devel] multitex investigation Roman Grigoriev wrote: ok it's done at startup but if we want to have landing lights moves we have generate second texture coordinates in realtime please give me hint where in flightgear it can be done? in tileentry? I'm not the right person to answer questions about the scenery tile subsystem, but you are aware of OpenGL's texgen features for doing realtime texture coordinates, right? If you set things up right, texgen will generate the texture coordinates for you dynamically from the vertex coordinates on the GPU, with no significant loss of performance. Andy texgen don't work here because we need dinamically calculate lightmap texture coordinates using some formulas I'm working now on light lobes of aircraft. Think that it will be really nice But I can't understand why Steve refuse add multitex support code from Marten Stromberg to PLIB It took us ages to wait OpenGL2.0 and shaders. PSL is not suitable for that. Roman Andy -- Andrew J. RossNextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com Men go crazy in conflagrations. They only get better one by one. - Sting (misquoted) ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel