Jump to content

Applying Blender texture to GLM model?


Recommended Posts

Hello, so I'm making some changes in my friend's model, and I came across an issue.

 

So I created this little thingy on the chest, I managed to get the texture appear in Blender. Sadly, when I export it, and look at it in Modview, it appears white, like there would be no texture applied. Everything in .skin is set up fine, I just don't know what to do for JK3 textures to "export".

 

https://jkhub.org/images/gHUdjBb.png

https://jkhub.org/images/hk5AZZW.png

https://jkhub.org/images/wLDqWKO.png

https://jkhub.org/images/8BeYLQb.png

Link to comment

Is this rectangle a surface you have pulled from another .glm or a shape you have created from scratch?

 

If it is the latter then it needs to be UV mapped.

 

Have your surface selected, and make sure it is in Edit Mote. Then click A to make sure all vertices are selected.

Then along the top of the window, there is an icon to the right of 'Help'. Click it and a dropdown menu appears. Select 'UV Editing'.

The actual process of mapping a texture to that surface should be fairly easy since it is a simple rectangle and I presume the texture is too.

Google 'Blender UV Mapping' for the rest of the process, there's far better tutorials out there than I can offer.

Link to comment

Well, i already UV mapped it by selecting all in vertex mode and picking "smart unwrapping" or something like that. It wasnt perfect but it was more then enough for such simple mesh. After that i exported UV layout and made a texture for it. I applied the texture in Blender Rendering so it appears in software, I wrote down special line for new object in. skin but it skill appears white in modview. I have no idea what I'm missing. Any help would be appreciated.

Link to comment

As explained in the manual the shader for a surface is set in the Ghoul 2 properties in the Object tab, although the game will ignore that and use whatever's in the .skin file.

So you're saying I should set shader in Ghoul 2 properties in order to see it in modview, but it should be working in game already? I'll check it myself when I get home.

Link to comment

So you're saying I should set shader in Ghoul 2 properties in order to see it in modview, but it should be working in game already? I'll check it myself when I get home.

Shouldn't ModView be using the skin file as well? I'm not entirely sure...
Link to comment

Also, bear in mind that the name of the surface in the .skin files needs to be the exact same as the name listed for the surface in Blender under Ghoul2 properties. Not what it is named in the main Object or Object Data tabs (so it would be 'rectangle' and not 'rectangle_0', etc)

Link to comment

Also, bear in mind that the name of the surface in the .skin files needs to be the exact same as the name listed for the surface in Blender under Ghoul2 properties. Not what it is named in the main Object or Object Data tabs (so it would be 'rectangle' and not 'rectangle_0', etc)

Yup, hence my suggestion to look up the name it was exported as using ModView. :)
Kualan likes this
Link to comment

I'm not going to lie, I was absolutely sure everything was just as you said, but when I came back home and looked at it, I found out that I misspelled the word :D. I guess sometimes you just need a break to see this kind of errors. Thanks a lot for help!

Kualan likes this
Link to comment

Hello, so I'm making some changes in my friend's model, and I came across an issue.

 

So I created this little thingy on the chest, I managed to get the texture appear in Blender. Sadly, when I export it, and look at it in Modview, it appears white, like there would be no texture applied. Everything in .skin is set up fine, I just don't know what to do for JK3 textures to "export".

 

https://jkhub.org/images/gHUdjBb.png

https://jkhub.org/images/hk5AZZW.png

https://jkhub.org/images/wLDqWKO.png

https://jkhub.org/images/8BeYLQb.png

Musisz na dole w custom properties w okienku g2_prop_name dodać nazwę taką jaka będzie w .skin file. Napisz tam plakietka a potem plakietka w swoim pliku skin. Powinno zadziałać. Nie musisz się bawić w tych opcjach material itd. Te opcję są tylko dla Blendera. Dla akademii jest ważny skin file który nakłada tekstury na nazwane w modelu części. :)

 

example.jpg

 

Tu masz co i jak.. mam nadzieje że to pomoże OuO

Edited by Langerd
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...