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 11th April 2010, 12:01 PM   #1
Michael Wilson
Member
Expert member
 
Join Date: Dec 2005
Posts: 78
Default how did ac3d know i was working on a plane?

i added ATTR_shiny_rat 0.8 under the first line in the object file using a text editor, to make the fuselage shiny.

next i added 3 small air intakes to the nose. then i saved that and exported to object file. i noticed the ATTR_shiny_rat 0.8 was gone (which is ok with me if its necessary to re-write it each time) but what i dont understand is that it was replaced with the word "cockpit_region" ...how did ac3d know that i was working on a plane? ...i could have been making a car... i searched in the hierarchy and couldnt find anything with the word "cockpit".


here is the ac3d file and object file:
http://forjets.netfirms.com/z_tristar.zip



and here is the top few lins of what it says:


I
800
OBJ

TEXTURE fuse.png
COCKPIT_REGION 0 0 2048 1024
POINT_COUNTS 33262 0 0 107544
VT -1.888565 -1.435135 4.162186 0.713898 0.687515 0.132965 0.098495 0.581009
VT -1.607742 -1.724289 4.149582 0.713898 0.687515 0.132965 0.098053 0.573395
VT -1.920258 -1.484406 4.587143 0.713898 0.687515 0.132965 0.113251 0.579712
Michael Wilson is offline   Reply With Quote
Old 13th April 2010, 09:30 PM   #2
captainpeter
Senior Member
Professional user
 
captainpeter's Avatar
 
Join Date: May 2004
Location: Vienna / Austria
Posts: 207
Default Re: how did ac3d know i was working on a plane?

My ac3d plugin doesn't....
here's the output when I open your ac file and immediately do a file -> export -> x-plane 8....

A
800
OBJ

TEXTURE
POINT_COUNTS 29637 0 0 97557
VT -1.888565 -1.435135 4.162186 0.713898 0.687515 0.132965 0.116470 0.580231
VT -1.607742 -1.724289 4.149582 0.713898 0.687515 0.132965 0.115982 0.574005
captainpeter is offline   Reply With Quote
Old 17th April 2010, 12:42 AM   #3
Michael Wilson
Member
Expert member
 
Join Date: Dec 2005
Posts: 78
Default Re: how did ac3d know i was working on a plane?

im using the plug ins from probably a few months ago.

so i guess it might be because the plug in is meant for xplane which is about planes.

i had added some detail near the nose which i guess is near the cockpit, and then i noticed in the word "cockpit" when i opened it in a text editor. there were no parts with the word cockpit in the hierarchy.
Michael Wilson is offline   Reply With Quote
Old 17th April 2010, 08:08 AM   #4
captainpeter
Senior Member
Professional user
 
captainpeter's Avatar
 
Join Date: May 2004
Location: Vienna / Austria
Posts: 207
Default Re: how did ac3d know i was working on a plane?

Michael,
first make sure you use the most recent plugin (v320r1) available here: http://www.xsquawkbox.net/scenery/tools.php

if you use the very file you posted, put it into a new folder on your desktop, open the file in AC3D, export it to x-plane 8 obj format, will it still write the cockpit region data?

I have the gut feeling you are using a pre-release version of the plugin.
There have been quite a few changes in the way cockpit panel textures are recognized during the beta run.

cheers
peter
captainpeter is offline   Reply With Quote
Old 17th April 2010, 08:33 AM   #5
Michael Wilson
Member
Expert member
 
Join Date: Dec 2005
Posts: 78
Default Re: how did ac3d know i was working on a plane?

i will try that.

but just to clarify i wasnt meaning that there is a problem, im quite happy with how ac3d is working, i just couldnt believe that ac3d "knew" i was working on a plane. ..i was like "is ac3d psychic?".. i guess the only possibility is that because the plug in is for xplane which has to do with planes, then that must have something to do with it writing the word "cockpit".
Michael Wilson is offline   Reply With Quote
Old 20th April 2010, 02:07 PM   #6
Snow
Member
Advanced member
 
Snow's Avatar
 
Join Date: May 2007
Location: Deiningen, Germany
Posts: 45
Default Re: how did ac3d know i was working on a plane?

Hi Mike,
it seems, you've textured something using the panel.png. If you don't specify cockpit regions, the X-Plane plugin takes the whole panel.png as one cockpit region.

"COCKPIT_REGION 0 0 2048 1024" has been inserted to the exported object, to make it possible to use the panel.png in addition to the fuse.png.

As far as I know, it's not recommed to use the panel.png in other files than the cockpit.obj, so you should find these parts, remove it from your fuselage object and add it to your cockpit.obj.

Peter
__________________
Mac Pro 8-Core - 12 GB RAM - ATI Radeon HD 5870 - VRAM 1024 MB - Mac OS X 10.6.7 - Cinema Display 20''
Whisky Air Charter - Virtual X-Plane Charter Company
Snow is offline   Reply With Quote
Old 29th May 2010, 09:03 AM   #7
Michael Wilson
Member
Expert member
 
Join Date: Dec 2005
Posts: 78
Default Re: how did ac3d know i was working on a plane?

thanks for that.
i have no idea why the fuselage would be related to the panel png. i dont recall ever doing that. i guess i will have to look into this.
Michael Wilson 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 04:00 AM.


AC3D Forum
(C) Inivis Limited 2020