The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model trouble.
Phoroneus Offline
Member

Posts: 141
Threads: 12
Joined: Feb 2011
Reputation: 0
#1
Model trouble.

http://i53.tinypic.com/14eb9m0.png

This is as close as I've come to having a functional model in-game. The top right is how the model appears in ModelView, the bottom right is the ModelEditor view (all of the meshes in the model are centered on the origin with 0, 0, 0 rotation), and the left is the level editor view.

The .mat files (and the .dds files before them) are named for the .dae file with extensions (<name>_copper.mat, <name>_silver.mat, <name>_steel.mat) and are in the same folder as the .dae and .msh files, which is in the static_objects folder in the base Amnesia directory.

As you can see, the model does not actually appear in the level editor, only its wireframe is visible.

The ModelEditor program consistently squashes all the component meshes of the model into the center, and when I combine them all in Blender into one mesh, it only shows the main wall plane (the backside of which is visible by wireframe in the linked image).

Additionally, the modeling tutorial on the FG wiki is less than helpful in this area, and the dozens of other threads on modeling have been essentially aimed at very specific issues rather than an overall explanation (i.e. "do this and it'll fix it" rather than a step-by-step process).

If anyone who has successfully exported custom models from scratch could help, that'd be much appreciated. I don't believe Blender is causing this issue (since ModelView works just fine), it seems like it's just something completely undocumented that must be done in order to get the models to appear in-game and not be butchered by the model editor.
Upon doing the same thing with just a one meter square cube, I get the same result. ModelView shows up fine, ModelEditor brings the mesh to the center (but being just a cube this doesn't matter), and attempting to place it in the level editor gives me a wireframe if I select it, and nothing (invisible) otherwise.

[Image: at_9365860.png]

Follow Harvest.
(This post was last modified: 08-09-2011, 10:08 PM by Phoroneus.)
08-09-2011, 09:47 PM
Find


Messages In This Thread
Model trouble. - by Phoroneus - 08-09-2011, 09:47 PM
RE: Model trouble. - by MrBigzy - 08-09-2011, 10:41 PM
RE: Model trouble. - by Phoroneus - 08-09-2011, 11:29 PM
RE: Model trouble. - by Endlvl - 08-10-2011, 02:54 AM
RE: Model trouble. - by plutomaniac - 08-10-2011, 08:17 AM
RE: Model trouble. - by Phoroneus - 08-10-2011, 10:08 AM
RE: Model trouble. - by plutomaniac - 08-10-2011, 12:02 PM
RE: Model trouble. - by Endlvl - 08-10-2011, 04:10 PM
RE: Model trouble. - by Phoroneus - 08-11-2011, 03:38 PM
RE: Model trouble. - by plutomaniac - 08-11-2011, 04:47 PM
RE: Model trouble. - by Phoroneus - 08-11-2011, 05:10 PM
RE: Model trouble. - by plutomaniac - 08-11-2011, 05:47 PM



Users browsing this thread: 1 Guest(s)