News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Mapping

Reply
 
Thread Tools Display Modes
Old 2nd Oct 2009, 12:49 PM   #1
Xumari
Registered User
 
Xumari's Avatar
 
Join Date: Jun. 22nd, 2009
Location: Universe -> Milky Way -> Solar System -> Earth -> Europe -> Spain -> Comunitat Valenciana -> Valencia -> l'Horta -> Picassent -> Penyes Males -> Balcony of Valencia -> l'Alter
Posts: 102
Rant Add custom NormalMap to Material

Hi all

I have a problem when I try to add a normalmap: if I add a custom normalmap (made with Crazybump, see screenshot1) to my package, it cannot be cooked (editor crash)

With Crazybump, I open my image, convert to normalmap, export to BMP and TGA, import to UPK package and put into the material (see screenshot3). When importing (I've tryed both BMP and TGA) I've tryed with the predeterminated options and with this (see screenshot2):
- CompressionNoAlpha
- TC_NormalMap
- DeferCompression (the editor deactivates this option when I save the package)

At this point, the editor works and the in-game test works well. The problem comes here, when I try to cook the map: UT3 crash (see screenshot4)

What I'm doing bad??
Why UT3 doesn't want to cook my NormalMaps??

Please help
Attached Images
File Type: jpg screenshot1.jpg (120.7 KB, 14 views)
File Type: jpg screenshot2.jpg (227.8 KB, 11 views)
File Type: jpg screenshot3.jpg (178.5 KB, 10 views)
File Type: jpg screenshot4.jpg (152.1 KB, 13 views)

Last edited by Xumari; 3rd Oct 2009 at 05:03 AM.
Xumari is offline   Reply With Quote
Old 2nd Oct 2009, 01:59 PM   #2
aipash
Registered User
 
Join Date: Jul. 16th, 2009
Posts: 9
have you tried building on any other computer? could just be your computer not handling this well. Question tho, could you not just use a bump map for this? The normal just seems like extra work.
aipash is offline   Reply With Quote
Old 2nd Oct 2009, 05:13 PM   #3
Bi()ha2arD
Toxic!
 
Bi()ha2arD's Avatar
 
Join Date: Jun. 29th, 2009
Location: Germany
Posts: 2,819
try cooking with the log window open. maybe it says something there.
__________________
Bi()ha2arD is offline   Reply With Quote
Old 3rd Oct 2009, 05:15 AM   #4
Xumari
Registered User
 
Xumari's Avatar
 
Join Date: Jun. 22nd, 2009
Location: Universe -> Milky Way -> Solar System -> Earth -> Europe -> Spain -> Comunitat Valenciana -> Valencia -> l'Horta -> Picassent -> Penyes Males -> Balcony of Valencia -> l'Alter
Posts: 102
Quote:
Originally Posted by Bi()ha2arD View Post
try cooking with the log window open. maybe it says something there.
The log files and log window don't reveal nothing special. The cooking utility simply crash

----------------------------------

OK, I'm trying a new thing.
I've noticed that the problem is on the editor's cache and this file:
My Games\Unreal Tournament 3\UTGame\Published\CookedPC\GlobalPersistentCookerData.upk

If I delete all this files, the editor still crashing with all the normalmaps added to the package, BUT if I add only one normalmap (the same as the first post) with this files deleted now it works!

Now I'm going to add one by one all the normalmaps, by cooking every time.
I will tell you how it works
Xumari is offline   Reply With Quote
Old 3rd Oct 2009, 07:44 AM   #5
Cr4zyB4st4rd
I make awesome
 
Cr4zyB4st4rd's Avatar
 
Join Date: Aug. 8th, 2008
Location: P'Boro, UK
Posts: 1,244
Wrong file to delete.

Go to
Code:
My Games\Unreal Tournament 3\UTGame\Unpublished\CookedPC
And delete the 4 LocalShaderCache upk files 3 being -PC and one possibly being -PS3 in the file name. If you haven't cooked for PS3 there may only be three files.

Remove those and re-cook.
__________________
UT3 Nick - Cr4zy.jW - Admin for Multiplay/Epic EU -- HOLP -- COMP -- Flickr -- Homepage --


Cr4zyB4st4rd is offline   Reply With Quote
Old 3rd Oct 2009, 03:01 PM   #6
Xumari
Registered User
 
Xumari's Avatar
 
Join Date: Jun. 22nd, 2009
Location: Universe -> Milky Way -> Solar System -> Earth -> Europe -> Spain -> Comunitat Valenciana -> Valencia -> l'Horta -> Picassent -> Penyes Males -> Balcony of Valencia -> l'Alter
Posts: 102
Lightbulb

Quote:
Originally Posted by Cr4zyB4st4rd View Post
Wrong file to delete.

Go to
Code:
My Games\Unreal Tournament 3\UTGame\Unpublished\CookedPC
And delete the 4 LocalShaderCache upk files 3 being -PC and one possibly being -PS3 in the file name. If you haven't cooked for PS3 there may only be three files.

Remove those and re-cook.
No, i have already try it. That files aren't the problem.

--------------------------

Now is fixed
As I supposed, the problem was on the file:
My Games\Unreal Tournament 3\UTGame\Published\CookedPC\GlobalPersistentCookerData.upk

I've deleted that file and added one by one with recooking every time all the mapfiles. At 3th of 4th the editor crash again, then I delete again that file and I contiune adding. Now all the Normalmaps are on package and the Editor cooks the map without any problem.
Why this? Don't know, but it's solved by this way

Thanks for your help
Xumari is offline   Reply With Quote
Old 4th Oct 2009, 05:53 AM   #7
Bazzwano
Hi, I'm Bryan
 
Bazzwano's Avatar
 
Join Date: Jan. 20th, 2008
Location: New Zealand
Posts: 604
yeah I had this problem too, sometimes it work and sometimes it didn't, so my solution was to embed to my map file.
__________________

Whatever beat that drives the impulse, whatever tune that

carries through, What's in a soul that rattles empty, in this
reality too few Dark Tranquillity
member since April 07 + 600 posts
CTF-Safeguard3, CTF-Dreary3, CTF-Stratus (V1.2), CTF-Pipeline(WIP)
My Rig: CPU:C2D-E8500, GPU:GF-250GTS, RAM:4GB 6800C4, HDD: 2x 150gb WD Raptor, CASE: Mini Gigibyte MX
Bazzwano is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:26 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer