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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modelviewer crashes when I import my own Model
Author Message
Viperdream Offline
Member

Posts: 124
Joined: Jan 2011
Reputation: 0
Post: #1
Modelviewer crashes when I import my own Model

So I made my own model(A roof), and exported it to .dae from Blender.

I've put the .msh and .dae file inside the Static Objects folder. But when I try to open it in the ModelViewer, the viewer crashes : /
No error message, it just crashes.

When I try to import it in the ModelEditor it just shows nothing.

Is there something I missed? :<

(This post was last modified: 03-23-2011 02:53 PM by Viperdream.)
03-23-2011 02:52 PM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #2
RE: Modelviewer crashes when I import my own Model

Did you put a diffuse texture into the model? Also there shouldn't be a msh file initially, pretty sure it should be created when you first open the model with the viewer. And if the texture is there, make sure it has the same name as your model, assuming it's just the diffuse one.
(This post was last modified: 03-23-2011 03:08 PM by MrBigzy.)
03-23-2011 03:07 PM
Find all posts by this user Quote this message in a reply
Viperdream Offline
Member

Posts: 124
Joined: Jan 2011
Reputation: 0
Post: #3
RE: Modelviewer crashes when I import my own Model

I've put an image texture in the model, if that's what you mean. I'm kind of new to this area >.<

03-23-2011 03:12 PM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #4
RE: Modelviewer crashes when I import my own Model

But do you know what type of texture it was?
03-23-2011 03:18 PM
Find all posts by this user Quote this message in a reply
Viperdream Offline
Member

Posts: 124
Joined: Jan 2011
Reputation: 0
Post: #5
RE: Modelviewer crashes when I import my own Model

There were 2

Both are [image or movie] textures from .jpg pictures

Also, is it a problem that there isn't a .dds file?

03-23-2011 03:22 PM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #6
RE: Modelviewer crashes when I import my own Model

The textures have to be .dds or dxt5. Or tga, depends on which texture type. This tutorial pretty much tells you what you need: http://wiki.frictionalgames.com/hpl2/tut...loutsource
(This post was last modified: 03-23-2011 03:40 PM by MrBigzy.)
03-23-2011 03:39 PM
Find all posts by this user Quote this message in a reply
Viperdream Offline
Member

Posts: 124
Joined: Jan 2011
Reputation: 0
Post: #7
RE: Modelviewer crashes when I import my own Model

So that means that I have to take DXT5 or .dds to save my textures?

Any chance you know a plugin for Gimp for one of those? :>

03-23-2011 04:38 PM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #8
RE: Modelviewer crashes when I import my own Model

I dl'd this the other day for Gimp. http://code.google.com/p/gimp-dds/downlo...-2.0.9.zip

Also, if you have Paint.net, .dds is native to that.
03-23-2011 04:46 PM
Find all posts by this user Quote this message in a reply
Viperdream Offline
Member

Posts: 124
Joined: Jan 2011
Reputation: 0
Post: #9
RE: Modelviewer crashes when I import my own Model

I'll try Paint.net then, the installation of the plugin for gimp is intimidating...

03-23-2011 04:57 PM
Find all posts by this user Quote this message in a reply
stonecutter Offline
Member

Posts: 140
Joined: Feb 2011
Reputation: 4
Post: #10
RE: Modelviewer crashes when I import my own Model

i used textures in jpg for my custom models but got a problem if i used 2 textures at one model ... but i dont know what caused the error the 2 textures or i was making something wrong ..

We Shall Arise - Death / Grind from Bavaria
Musicvideo : http://goo.gl/HzxvLK
Facebook : http://goo.gl/9YfYCV
Free Album : http://goo.gl/sEBW2X
03-23-2011 05:02 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)