Go Back   AC3D Forums > General > AC3D General
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 17th November 2009, 05:44 PM   #1
HowDo
Member
Advanced member
 
Join Date: Nov 2007
Posts: 33
Default exporting an x file

Hi all

anyone know which boxes should be tick so that the directX exporter does the job right, as every model I try to move over to darkbasic is wrong, I have to save as 3ds to put in another package just to get an x file correct.

if not will just have to work out how to use 3ds.
HowDo is offline   Reply With Quote
Old 18th November 2009, 03:59 PM   #2
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default Re: exporting an x file

What is it doing wrong, in specific?
lisa is offline   Reply With Quote
Old 18th November 2009, 04:16 PM   #3
HowDo
Member
Advanced member
 
Join Date: Nov 2007
Posts: 33
Default Re: exporting an x file

well it to do with faces I think when I use an object with Dark Physx(same as Nvidia physx) it does not see the object correctly so it cannot make it act right, if I take the same object and import into say TS6.5 and export it out as an x file all seem ok.

I think I have been trying to many ways now and you come to ask what happening I am lost on what I have done.

thinking back I have this problem before but just thought it was me or the code.

what I was doing was making and object that was 4 cubes across and one cube down.
[][][][]
[]

but this not what Nvidia vision debugger see, it see a block, but if I use a 3ds it see the above shape.

Ok I am going to go and check things and see if its me, my code or what ever.
HowDo is offline   Reply With Quote
Old 18th November 2009, 04:58 PM   #4
HowDo
Member
Advanced member
 
Join Date: Nov 2007
Posts: 33
Default Re: exporting an x file

Well been doing some checking and it seem that Darkbasic DarkPhysx like 3ds objects better than directx ot ts6.5 directx.

So I think I have answered my own question will use 3ds option.

I you want I can up load the exe of the demo with the blocks I have made so you can see, but I don't think it will help.

Big plus if I use 3ds at least I can load them back into AC3D again unlike directX.

cheers for looking.
HowDo is offline   Reply With Quote
Old 18th November 2009, 05:53 PM   #5
HowDo
Member
Advanced member
 
Join Date: Nov 2007
Posts: 33
Default Re: exporting an x file

After doing about 15 saved models I found an optoin that works.

from default switch off

consider 1S/2S.
optimize Vertex list.

now your DriectX models should work ok when using Physx.

cheers.
HowDo is offline   Reply With Quote
Old 19th November 2009, 11:48 AM   #6
HowDo
Member
Advanced member
 
Join Date: Nov 2007
Posts: 33
Default Re: exporting an x file

Well I thoug I had fixed it but no, here picture of what you see.

top left is what the object looks like in AC3D and the main picture is what it looks like in visaul debugger.



so where are the side triangles coming from?
HowDo is offline   Reply With Quote
Old 19th November 2009, 05:41 PM   #7
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default Re: exporting an x file

Hmmmm. Two possible theories:

- Do you have flipped normals in AC3D? Perhaps the surfaces are there but not visible if 1-sided surfaces are on.

- Or--and this is more likely--do you have any polylines in your AC3D model? Some of the exporters will treat polylines as polys on export.

To fix, try selecting everything and clicking the "poly" button under "surface type" in the lower left hand corner just above the materials palette.

Also, make sure the model is optimized first before you export. I usually highlight all the vertices in each object and "snap together by distance" by a very small amount (.001), then I click Object > Optimize Vertices and Object > Optimize Surfaces. This gets rid of any coplanar or degenerate surfaces.
lisa 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 09:14 AM.


AC3D Forum
(C) Inivis Limited 2020