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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture, Model & Animation Help What's this model doing?
bjaffedj Offline
Junior Member

Posts: 39
Threads: 8
Joined: Aug 2012
Reputation: 0
#21
RE: What's this model doing?

you can always try combining the 3 objects into one, redo the uv's, and recreate to textures to work with your new uv's Smile
05-05-2014, 09:56 AM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#22
RE: What's this model doing?

@SomethingRidiculous, please stop.


Alright let's get serious bitches, it is true that the textures should NOT be in jpg format jpg is not supported properly for in-game model texture usage as HPL is made to work with Direct Draw Surface (DDS) and they need to be POW2, HOWEVER.

1024 X 512 is just fine, that is a POW2 texture, it doesn't have to be completely square.

For game textures you'll want to use these sizes

128 x 128
256 x 256
512 x 512
1024 x 1024
2048 x 2048
4096 x 4096

These sizes can also be used in any kind of combination with eachother without issue, for example 1024 x 256.

As for the model, no normals are flipped, the model is not see through, the problem here is the axis of Y when exported. In your exporter make sure Y is set as the up axis, this should be default in maya.

Before doing this you'll also want to freeze your transformations and delete the history, I also suggest that you combine all textures into one texture map to save on drawcalls ( it's good for preformance ) unless of course the screen will be interactive, in that case keep that one separate.


http://postimg.org/image/p4kqh6kif/full/

Also, looking at this picture I noticed your viewportcube, the model IS upside down in maya. You might want to flip it the right way around before exporting? Wink

Also I suggest you give names to all your submeshes in maya, as it is easier to indentify them in the editor that way and do troubleshooting, for example I would name them

Mesh_Computer
Mesh_Keyboard
Mesh_Screen
(This post was last modified: 05-05-2014, 10:32 AM by Traggey.)
05-05-2014, 10:26 AM
Find
bjaffedj Offline
Junior Member

Posts: 39
Threads: 8
Joined: Aug 2012
Reputation: 0
#23
RE: What's this model doing?

haha Traggey, i didn't notice that Tongue i think you just figured out his problem Big Grin
05-05-2014, 10:40 AM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#24
RE: What's this model doing?

Read what Traggey said and follow that. If it's still acting odd: Scaling and (possibly) rotation issues might arise when you export a model where the pivot points of the meshes aren't located at 0,0,0 (coordinates) in world space.

A simple way of solving this is to go Mesh > Combine. Mesh > Separate.

[Image: mZiYnxe.png]


05-05-2014, 01:00 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#25
RE: What's this model doing?

Solved
Spoiler below!
[Image: 735c34123x1.jpg]

I did many versions of the laptop with diff screens, configuration and uv coords. Until somehow it worked.
In the image above you can see how it's using the whole image instead of the uv coords I set in Maya. I guess I can fix that from there.

Spoiler below!
[Image: 6m8464524c3.jpg]

So as you guys said I should have the meshes together and use one texture only, I thought it was the proper way to do it.

And yes the model was upside down, I thought we did that to test something but it turned out the original version was inverted too.
+rep for everybody. Back to tutorials for me.

05-05-2014, 07:54 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#26
RE: What's this model doing?

Having 1 texture is benefitial to performance because the game will only have to search and load up one file, but if it's really too much of a struggle to do, having 2 won't kill you Wink

(This post was last modified: 05-05-2014, 10:13 PM by Mudbill.)
05-05-2014, 10:13 PM
Find




Users browsing this thread: 1 Guest(s)