... вот файл с добавленным полигоном и натянутой на него текстурой panel_preview.png (название текстурного файла panel_preview.png или Panel_Preview.png?) ...... текстуры должны лежать рядом с файлом в одном каталоге (или нет?) ...https://yadi.sk/d/6q9y1fqLLfYtZw
... если потребуется, то попробую поставить x-plane демо для этих экспериментов ...
so these are the steps: first, make sure your desired aircraft has free space on its panel.png load the aircraft, press ctrl+alt+shift+space, it will generate a panel_preview.png in aircraft's cockpit_3d\-PANELS-\ folder if it has at least 800x600 free space, then you are ok, if not, ask the devs to resize it or do it for yourself - you will need to remap the panel elements! make the AviTab.json file in the aircraft's root directory - this will tell AviTab to position itself on panel.png with the given settings use an existing AviTab.json file set AviTab's position with left and bottom options, left means how far it will be positioned from the left side, bottom means how far it will be positioned from the bottom set AviTab's resolution with width and height reload the aircraft, press ctrl+alt+shift+space again to take a snapshot of your panel, AviTab now visible on your panel.png, now we need to add the ipad object, position it and add AviTab on its display load up a 3D editor (ac3d/blender), open/import the aircraft's _cockpit.obj file, BUT DO NOT SAVE THIS FILE LATER, DO NOT OVERWRITE IT! import the ipad.obj (you can use NHAdrian's iPad.obj from his C152 mod, or from my other AviTab integratations, NHAdrian licensed it under Creative Commons License v3) position the ipad in the cockpit (you may still need to import other cokcpit/interior objects from the aircrat's object folder to position the ipad easily!) delete everything except the ipad, save the ipad as a project (for later editing etc) and export the ipad as an xplane obj now run planemaker, add the ipad.obj at misc objects (watch out for positioning in planemaker) reload the aircraft, you will see how the ipad is positioned, if its not in the right position, reposition it in your 3d editor, export to xplane obj in your 3d editor make a polygon on the ipad as display for AviTab, set panel_preview.png for the polygons texture with realtime update option enabled export the polygon without the ipad itself as an xplane obj file if the ipad and the display are in the desired position, open the aircraft's _cockpit.obj file in a text editor (notepad++ recommended) open the exported polygon obj file in _cockpit.obj at poly_counts add the values from the poly.ojb's poly_count, eg. if its POINT_COUNTS 11000 0 0 30000 in the _cockpit.obj and its 4 0 0 6 in the poly.obj then simply rewrite it to 11004 0 0 30006 in _cockpit.obj copy the VT lines from poly.obj, paste it in _cockpit.obj, just below its VT lines copy the IDX lines from poly.obj, paste it in _cockpit.obj, just below its IDX lines, but !!! keep the original sequence !!! at the end of _cockpit.obj, paste the ATTR lines copy/paste TRIS, but change its values to 11000 6
... давай чекать шаги, указанные на их форуме ...... что из этой последовательности выполнено и как? ...Цитировать so these are the steps: first, make sure your desired aircraft has free space on its panel.png load the aircraft, press ctrl+alt+shift+space, it will generate a panel_preview.png in aircraft's cockpit_3d\-PANELS-\ folder if it has at least 800x600 free space, then you are ok, if not, ask the devs to resize it or do it for yourself - you will need to remap the panel elements! make the AviTab.json file in the aircraft's root directory - this will tell AviTab to position itself on panel.png with the given settings use an existing AviTab.json file set AviTab's position with left and bottom options, left means how far it will be positioned from the left side, bottom means how far it will be positioned from the bottom set AviTab's resolution with width and height reload the aircraft, press ctrl+alt+shift+space again to take a snapshot of your panel, AviTab now visible on your panel.png, now we need to add the ipad object, position it and add AviTab on its display load up a 3D editor (ac3d/blender), open/import the aircraft's _cockpit.obj file, BUT DO NOT SAVE THIS FILE LATER, DO NOT OVERWRITE IT! import the ipad.obj (you can use NHAdrian's iPad.obj from his C152 mod, or from my other AviTab integratations, NHAdrian licensed it under Creative Commons License v3) position the ipad in the cockpit (you may still need to import other cokcpit/interior objects from the aircrat's object folder to position the ipad easily!) delete everything except the ipad, save the ipad as a project (for later editing etc) and export the ipad as an xplane obj now run planemaker, add the ipad.obj at misc objects (watch out for positioning in planemaker) reload the aircraft, you will see how the ipad is positioned, if its not in the right position, reposition it in your 3d editor, export to xplane obj in your 3d editor make a polygon on the ipad as display for AviTab, set panel_preview.png for the polygons texture with realtime update option enabled export the polygon without the ipad itself as an xplane obj file if the ipad and the display are in the desired position, open the aircraft's _cockpit.obj file in a text editor (notepad++ recommended) open the exported polygon obj file in _cockpit.obj at poly_counts add the values from the poly.ojb's poly_count, eg. if its POINT_COUNTS 11000 0 0 30000 in the _cockpit.obj and its 4 0 0 6 in the poly.obj then simply rewrite it to 11004 0 0 30006 in _cockpit.obj copy the VT lines from poly.obj, paste it in _cockpit.obj, just below its VT lines copy the IDX lines from poly.obj, paste it in _cockpit.obj, just below its IDX lines, but !!! keep the original sequence !!! at the end of _cockpit.obj, paste the ATTR lines copy/paste TRIS, but change its values to 11000 6