1st December 2022, 01:12 AM | #1 |
Member
Expert member
Join Date: Feb 2019
Posts: 57
|
Xplane .obj headers
Still trying to get a full header at the top of an export object file.
My typical is: GLOBAL_cockpit_lit TEXTURE aircraft.png TEXTURE_LIT aircraft_LIT.png TEXTURE_NORMAL aircraft_NML.png GLOBAL_specular 1.0 NORMAL_METALNESS I've used the markup in the plugin option with: GLOBAL_cockpit_lit\nTEXTURE_NORMAL %b_NML.png\nGLOBAL_specular 1.0\n That gives me: GLOBAL_cockpit_lit TEXTURE_NORMAL aircraft_NML.png GLOBALspeccular 1.0 TEXTURE aircraft.png TEXTURE_LIT aircraft_LIT.png NORMAL_METALNESS Is there any way to turn off the last 3 lines so I can add the full markup myself... ta |
1st December 2022, 07:05 AM | #2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: Xplane .obj headers
Is TEXTURE_LIT added by your custom header or by the exporter?
Am I correct i saying that you would like options to switch off these lines: TEXTURE aircraft.png NORMAL_METALNESS ? There's no way to do it at the moment but it could be added. |
1st December 2022, 07:55 PM | #3 |
Member
Expert member
Join Date: Feb 2019
Posts: 57
|
Re: Xplane .obj headers
Andy
The last 3 lines are all generated by the exporter.... TEXTURE aircraft.png TEXTURE_LIT aircraft_LIT.png NORMAL_METALNESS Ta (and the new Xplane plugin lights function is excellent - ta) |
|
|