Jump to content


Photo

Can't get object to appear in game with a normal texture

rotwk bfme2 modelling normal textures

  • Please log in to reply
12 replies to this topic

#1 OperationRenegade

OperationRenegade
  • Members
  • 47 posts
  • Location:The longest serving Rebel Country of the West
  •  Modder

Posted 29 May 2015 - 02:32 PM

Hi everybody,

I have been trying to get a .w3d object (a wall) to appear in game.

It appears in game fine if I use no texture; but when I apply a normal map after recreating the asset.dat file it is invisible.

I have used the standard texture as my diffuse texture (screenshot: untitled4) and the blue version as my normal texture (screenshot: untitled3).

 

I have followed every step in the following guide from the3rdage.net: www.the3rdage.net/item-354?addview

 

My final object screenshot is: untitled2

 

Attached Thumbnails

  • Untitled2.png
  • Untitled3.png
  • Untitled4.png


#2 MattTheLegoman

MattTheLegoman

    LEGO Knight of Minas Ithil

  • T3A Staff
  • 3,669 posts
  • Location:Tomorrow, when the War began
  • Projects:Mapping this Middle-earth
  •  Mapper
  • Division:BFME
  • Job:T3A Staff

Posted 30 May 2015 - 05:50 AM

Open the textures in Photoshop or Gimp (or another program that can open .dds files) and save the textures as .tga files. You cannot use .dds files to apply the texture in 3ds Max 8, even though the game can read the .dds files.

 

I actually do not know what other image file types you can use to successfully apply textures, I only use .tga and then convert the texture back to a compressed .dds when the model is ready.


Remember that all worlds draw to an end and that noble death is a treasure which no one is too poor to buy. - C.S. Lewis

There will come a time when you believe everything is finished. That will be the beginning. - Louis L'Amour

What will matter then will be people. If relationships will matter most then, shouldn't they matter most now? - Max Lucado


#3 OperationRenegade

OperationRenegade
  • Members
  • 47 posts
  • Location:The longest serving Rebel Country of the West
  •  Modder

Posted 30 May 2015 - 02:19 PM

Hi Matt,

After finding out I had forgot to update the w3d file in the w3d folder, I got a pink object.

Then I changed the .dds textures to .tga and it worked; textures included.

 

The only problem now is that no matter what I do I ALWAYS get a hole in the mesh after exporting. I tried cloning it, rotating 180 and attaching it to the original to seem up the hole, but it keeps persisting.

 

Any clue?

Attached Thumbnails

  • wall.png
  • wall2.png


#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 30 May 2015 - 05:58 PM

Maybe the normal is flipped the wrong way?

Try flipping the normal of that face :p


Ridder Geel

#5 OperationRenegade

OperationRenegade
  • Members
  • 47 posts
  • Location:The longest serving Rebel Country of the West
  •  Modder

Posted 30 May 2015 - 09:33 PM

It is a problem with the vortices exporting, I don't believe it could have something to do with the normal texture or its uv.

#6 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 01 June 2015 - 08:39 AM

Face normals have nothing to do with the texture or the uvs :p

Google it if you don't know what face normals are :p


Ridder Geel

#7 OperationRenegade

OperationRenegade
  • Members
  • 47 posts
  • Location:The longest serving Rebel Country of the West
  •  Modder

Posted 01 June 2015 - 07:15 PM

I know what normal textures are; I don't know how to fix/ prevent the vortices messing up on one side of the wall segment.

Btw it is the CBAmonSulWall.w3d model.

Edited by OperationRenegade, 02 June 2015 - 04:51 PM.


#8 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 04 June 2015 - 07:27 AM

So i can assume you flipped the actual polygon's normal at that part of the model?

Or are you still under the impression i'm talking about changing things in a texture?

Otherwise export as a 3ds model or another format and reimport it :p


Edited by Ridder Geel, 04 June 2015 - 07:28 AM.

Ridder Geel

#9 OperationRenegade

OperationRenegade
  • Members
  • 47 posts
  • Location:The longest serving Rebel Country of the West
  •  Modder

Posted 04 June 2015 - 03:10 PM

So i can assume you flipped the actual polygon's normal at that part of the model?
Or are you still under the impression i'm talking about changing things in a texture?
Otherwise export as a 3ds model or another format and reimport it:P


Thanks Geel.
I tried changing format but it still occurs. I THINK it may have something to do with the importer as I tried gmax/renxs importer and it worked perfectly with no change to its "normal polygon".

I'm Tring to get the original coolfile w3d importer (ie Max2w3d.dle) (I'm using the enhanced one) to work, but can't in 3ds max 8, any suggestions? Is it built to only work in 3ds max 7??

#10 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 05 June 2015 - 07:17 AM

Hm... I don't think that thats the case, and that dle u are talking of is the exporter, not the importer :p The original importer should be on the3rdage.net ;)


Ridder Geel

#11 OperationRenegade

OperationRenegade
  • Members
  • 47 posts
  • Location:The longest serving Rebel Country of the West
  •  Modder

Posted 07 August 2015 - 07:24 PM

sorry for the late reply, my pc went down

 

Anyway, I tried the older non-enhanced version but it doesn't appear to work with 3ds max 8 (nor does that exporter I talked about earlier (they both made for gmax/renx).

 

Any suggestions?? I have been having trouble importing other things such as the WOTR banner for Aragorn - model vertex distortion. w3d can be a right pain or what :trickydick:


Edited by OperationRenegade, 07 August 2015 - 07:24 PM.


#12 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 10 August 2015 - 07:29 AM

So... some or all of the models you import are messed up?


Ridder Geel

#13 NewErr

NewErr

    Elf-friend

  • Project Team
  • 2,177 posts
  • Location:Romania
  • Projects:Wars of The Firstborn
  •  World Wide Artist

Posted 10 August 2015 - 11:45 AM

Vertex distortion usually comes from the wrong/missing skeletor.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users