Anzahl der Beiträge : 90 Anmeldedatum : 20.08.09 Ort : Groningen (NL)
Thema: Cannot convert from X to o3d So 6 März - 16:57
While taking my first steps into creating crossings and the lot, I can't seem to convert my x-format meshes into o3d-format. The converter does yield an o3d-file, but when I try to use this file (through an .sco, obviously) in either the map editor or street editor, it is invisible. No error message either, just invisible. The only message I get is when I reload the saved map including the converted file, stating the file could not be found and whether I would like to exchange it.
Any ideas? Software used is 3D Crafter, latest version (not Blender, I know)
Rüdiger Hülsmann Admin
Anzahl der Beiträge : 1204 Anmeldedatum : 25.04.09 Alter : 40 Ort : Potsdam-West, Berlin-Mariendorf
Thema: Re: Cannot convert from X to o3d So 6 März - 22:51
Maybe the sco still refers to a material which is not used in your new object? Try deleting all [matl] entries after the [mesh] definition.
Marcel Kuhnt Admin
Anzahl der Beiträge : 3364 Anmeldedatum : 26.04.09 Alter : 40 Ort : Berlin-Spandau
Thema: Re: Cannot convert from X to o3d So 6 März - 23:21
Cas schrieb:
(not Blender, I know)
But exactly this could be the problem: The o3d conversion tool cannot convert EVERY x format but sometimes has problems with x files made by other 3d programs. One of the reasons to try blender! But you also can try to import your x file into blender and export it again...
Marcel
Cas
Anzahl der Beiträge : 90 Anmeldedatum : 20.08.09 Ort : Groningen (NL)
Thema: Re: Cannot convert from X to o3d Mo 7 März - 10:37
Marcel Kuhnt schrieb:
Cas schrieb:
(not Blender, I know)
But exactly this could be the problem: The o3d conversion tool cannot convert EVERY x format but sometimes has problems with x files made by other 3d programs. One of the reasons to try blender! But you also can try to import your x file into blender and export it again...
Marcel
Hm yeah, I figured.
I assume you keep the structure of the o3d-format to yourself? Would be great to be able to write a plugin to export to o3d directly..
Cas
Anzahl der Beiträge : 90 Anmeldedatum : 20.08.09 Ort : Groningen (NL)
Thema: Re: Cannot convert from X to o3d Mo 7 März - 14:00
Below is 3DC's DirectX-output for a cube with asphalt-texture applied. Is there something wrong maybe with the order?
Anzahl der Beiträge : 1204 Anmeldedatum : 25.04.09 Alter : 40 Ort : Potsdam-West, Berlin-Mariendorf
Thema: Re: Cannot convert from X to o3d Mo 7 März - 14:05
Heres the definition of an x-file Blender export:
Code:
Material Mat3 { 1.0; 1.0; 1.0; 1.0;; 1.0; 1.0; 1.0; 1.0;; 0.0; 0.0; 0.0;; TextureFilename { "regen_front.tga"; } } // End of Material
I'm not sure if this may cause problems, but try changing the exponential notation of the values into "standard" notation as shown above.
Cas
Anzahl der Beiträge : 90 Anmeldedatum : 20.08.09 Ort : Groningen (NL)
Thema: Re: Cannot convert from X to o3d Mo 7 März - 14:28
Rüdiger Hülsmann schrieb:
I'm not sure if this may cause problems, but try changing the exponential notation of the values into "standard" notation as shown above.
Tried that, but didn't make any difference
Cas
Anzahl der Beiträge : 90 Anmeldedatum : 20.08.09 Ort : Groningen (NL)
Thema: Re: Cannot convert from X to o3d Mo 7 März - 16:39
Interesting: ran an exported x-file through a tool called MeshConvert (part of the Microsoft DirectX SDK) to 'recreate' the mesh file and it finally worked. Now to investigate the exact modifications the tool applies