Go Back   AC3D Forums > Meeting places > AC3D and X-Plane
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 1st December 2022, 01:12 AM   #1
domhenry
Member
Expert member
 
Join Date: Feb 2019
Posts: 51
Default 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
domhenry is offline   Reply With Quote
Old 1st December 2022, 07:05 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,500
Default 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.
Andy is offline   Reply With Quote
Old 1st December 2022, 07:55 PM   #3
domhenry
Member
Expert member
 
Join Date: Feb 2019
Posts: 51
Default 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)
domhenry is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 07:17 PM.


AC3D Forum
(C) Inivis Limited 2020