ehem. OMSI - Forum
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.
ehem. OMSI - Forum

Dieses Forum wurde geschlossen. Das neue Forum befindet sich auf www.omnibussimulator.de/forum !
 
StartseiteStartseite  SuchenSuchen  AnmeldenAnmelden  LoginLogin  

 

 Cannot convert from X to o3d

Nach unten 
AutorNachricht
Cas

Cas

Anzahl der Beiträge : 90
Anmeldedatum : 20.08.09
Ort : Groningen (NL)

Cannot convert from X to o3d Empty
BeitragThema: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeSo 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? bounce Software used is 3D Crafter, latest version (not Blender, I know)
Nach oben Nach unten
http://arriva.casfiles.net
Rüdiger Hülsmann
Admin
Rüdiger Hülsmann

Anzahl der Beiträge : 1204
Anmeldedatum : 25.04.09
Alter : 37
Ort : Potsdam-West, Berlin-Mariendorf

Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeSo 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.
Nach oben Nach unten
Marcel Kuhnt
Admin
Marcel Kuhnt

Anzahl der Beiträge : 3364
Anmeldedatum : 26.04.09
Alter : 36
Ort : Berlin-Spandau

Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeSo 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! Wink But you also can try to import your x file into blender and export it again...

Marcel
Nach oben Nach unten
Cas

Cas

Anzahl der Beiträge : 90
Anmeldedatum : 20.08.09
Ort : Groningen (NL)

Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeMo 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! Wink 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..
Nach oben Nach unten
http://arriva.casfiles.net
Cas

Cas

Anzahl der Beiträge : 90
Anmeldedatum : 20.08.09
Ort : Groningen (NL)

Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeMo 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?

Spoiler:
 
Nach oben Nach unten
http://arriva.casfiles.net
Rüdiger Hülsmann
Admin
Rüdiger Hülsmann

Anzahl der Beiträge : 1204
Anmeldedatum : 25.04.09
Alter : 37
Ort : Potsdam-West, Berlin-Mariendorf

Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeMo 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.
Nach oben Nach unten
Cas

Cas

Anzahl der Beiträge : 90
Anmeldedatum : 20.08.09
Ort : Groningen (NL)

Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeMo 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 pale
Nach oben Nach unten
http://arriva.casfiles.net
Cas

Cas

Anzahl der Beiträge : 90
Anmeldedatum : 20.08.09
Ort : Groningen (NL)

Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitimeMo 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 cyclops
Nach oben Nach unten
http://arriva.casfiles.net
Gesponserte Inhalte




Cannot convert from X to o3d Empty
BeitragThema: Re: Cannot convert from X to o3d   Cannot convert from X to o3d Icon_minitime

Nach oben Nach unten
 
Cannot convert from X to o3d
Nach oben 
Seite 1 von 1

Befugnisse in diesem ForumSie können in diesem Forum nicht antworten
ehem. OMSI - Forum :: OMSI - The Omnibus Simulator (english) :: Problems-
Gehe zu: