Tresgame

Tresgame
It is currently Mon Sep 06, 2010 6:52 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: SWP/PID Discussion
PostPosted: Thu Dec 31, 2009 7:02 am 
Offline
User avatar

Joined: Sun Dec 13, 2009 11:02 pm
Posts: 50
Location: Hidden in a dark and dirty corner of your SWP And PID files...
Small steps for normalmaps:

I've begun writing an extensive extraction function that should correctly extract a texture no matter it's format. I've decided to leave 24-bits alone and atleast attempt to work on the normalmaps.

I'm about to figure out the precise order of the bit arrangement, but this is what I extracted thus far:
Image

You can just see the original indices for the TRex texture in there, as well as the normal data, to get this image I had to extract the 1024x128 texture page from the SWP, save it as a .RAW image and then open it in Photoshop. From there I told Photoshop to load the image as a 1024x128 image with only 1 channel. That was the result...
After some more tinkering however, I changed the >RAW properties and loaded it into Photoshop, and got the following images as separate alpha channels, 512x128, 2 channels:
Image
Image

Now note that the texture will not be correct because it's still carrying an extra 2 bits that belong to the normalmap =/
For the moment I'll save the texture bitmap and save the normalmap data in separate files each (.NLM will be the normalmap raw format for the moment)

_________________
Draco~This is an old RexHunter99
It is made of fail and abomination

My DeviantArt profile with all my fictions/art
Carnivores Custom/Community Edition forums
CCE at ModdingDB


Top
 Profile  
 
 Post subject: Re: SWP/PID Discussion
PostPosted: Fri Jan 01, 2010 3:23 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 12, 2009 12:41 am
Posts: 89
wow nice work Rex ;)

_________________
Image


Top
 Profile  
 
 Post subject: Re: SWP/PID Discussion
PostPosted: Fri Jan 01, 2010 3:48 pm 
Offline
User avatar

Joined: Fri Dec 25, 2009 4:04 pm
Posts: 50
Indeed it is! :3


Top
 Profile  
 
 Post subject: Re: SWP/PID Discussion
PostPosted: Fri Jan 01, 2010 7:14 pm 
Offline
Trespasser Reseacher
User avatar

Joined: Thu Dec 24, 2009 4:01 pm
Posts: 112
Location: Sweden
Keep up the work! :)

_________________
Image

Keep Trespasser Alive


Top
 Profile  
 
 Post subject: Re: SWP/PID Discussion
PostPosted: Fri Jan 08, 2010 6:04 am 
Offline
User avatar

Joined: Sun Dec 13, 2009 11:02 pm
Posts: 50
Location: Hidden in a dark and dirty corner of your SWP And PID files...
I've finally gotten to extracting the base texture out of a normalmapped image ;)
I'm now integrating the texture stuff into TresEd+

_________________
Draco~This is an old RexHunter99
It is made of fail and abomination

My DeviantArt profile with all my fictions/art
Carnivores Custom/Community Edition forums
CCE at ModdingDB


Top
 Profile  
 
 Post subject: Re: SWP/PID Discussion
PostPosted: Sun Jan 10, 2010 6:25 pm 
Offline
Trespasser Reseacher
User avatar

Joined: Thu Dec 24, 2009 4:01 pm
Posts: 112
Location: Sweden
Nice, great work :)

_________________
Image

Keep Trespasser Alive


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group