Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » prelit materials lightmaps, exporting wlt files
prelit materials lightmaps, exporting wlt files [message #435695] Fri, 27 August 2010 19:13 Go to next message
Abjab is currently offline  Abjab
Messages: 12
Registered: August 2010
Karma: 0
Recruit
reborn wrote on Thu, 26 August 2010 02:13


Would you consider recreating the tool/plugin that Westwood used that takes the information in the lightscape file along with the w3d file and creates a new w3d file, a wlt file and a series of textures?



ok, I'll work on that.
It's not as hard as you might think. .wlt files just holds lights informations. Nothing to do with lightmaps which are tga files used in prelit multipass or multitextures materials. The UVW map coordinates for those textures are stored in the w3d file.
Since the W3D Engine used by Renegade and E&B does not support Dynamic Lightning that's the reason why you always have lightmaps (funny looking tga) with wlt files since all interiors are prelit.

In other words, you need to read some tutorials on how to create lightmaps.
Meanwhile I'll try to find the latest scripts of my tools since it already supports lights and multi-texture materials. I'll import one of the interiors models so you can see how it should look like before export.

Abjab






Re: prelit materials lightmaps, exporting wlt files [message #435699 is a reply to message #435695] Fri, 27 August 2010 20:26 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Does this mean your still working on tools.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: prelit materials lightmaps, exporting wlt files [message #435704 is a reply to message #435699] Fri, 27 August 2010 22:32 Go to previous messageGo to next message
Abjab is currently offline  Abjab
Messages: 12
Registered: August 2010
Karma: 0
Recruit
Mr.NiceGuy wrote on Fri, 27 August 2010 22:26

Does this mean your still working on tools.


I updated the importer a few years ago when I noticed BFME was using w3d files and made it to support all known games using w3d files back then, right now I'm digging it out of my backups.

With these tools you dont need to extract a single file anymore, it imports straight from .mix or .big files and lookup for all files required, so you don't need to extract all textures and other w3d files the model you need to import depends on.

It's not just a simple importer anymore, it has become a series of tools: W3D Hierarchy Builder, W3D Textures Browser, W3D Flags Helper Tool, plus full W3D Import/Export supports.

I've never released it or had any itentions of doing so. I just kept on working on it to learn more about 3d. I've made converters for other games as well since, I've seen lots of 3d formats so far. Now reverse engineering file formats has become a walk in the park and sometimes I found out and learned new stuff that I didn't know at the moment I was working on the w3d Importer so it kept on imroving over time.

So yes I'm still working on my w3d tools, but I never planed to release them.

Abjab


Re: prelit materials lightmaps, exporting wlt files [message #435712 is a reply to message #435704] Fri, 27 August 2010 23:53 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Abjab wrote on Sat, 28 August 2010 00:32



With these tools you dont need to extract a single file anymore, it imports straight from .mix or .big files and lookup for all files required, so you don't need to extract all textures and other w3d files the model you need to import depends on.

It's not just a simple importer anymore, it has become a series of tools: W3D Hierarchy Builder, W3D Textures Browser, W3D Flags Helper Tool, plus full W3D Import/Export supports.




Oh wow that would be handy not having to collect all the files manually.

I use your w3d importer all the time in fact I just used it today. Your w3d importer is the only one that imports animations correctly most of the time. I'm Specially interested in the w3d flag tool.


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sat, 28 August 2010 00:23]

Report message to a moderator

Re: prelit materials lightmaps, exporting wlt files [message #435719 is a reply to message #435695] Sat, 28 August 2010 02:12 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
You're the man Abjab! Very Happy Thumbs Up


Re: prelit materials lightmaps, exporting wlt files [message #435864 is a reply to message #435695] Mon, 30 August 2010 19:15 Go to previous messageGo to next message
Cpo64 is currently offline  Cpo64
Messages: 1246
Registered: February 2003
Location: Powell River, B.C. Canada
Karma: 0
General (1 Star)
I always wondered why no one tried this.

-->
Re: prelit materials lightmaps, exporting wlt files [message #435930 is a reply to message #435864] Wed, 01 September 2010 06:11 Go to previous message
LR01 is currently offline  LR01
Messages: 842
Registered: April 2006
Location: The Netherlands
Karma: 0
Colonel
Cpo64 wrote on Tue, 31 August 2010 04:15

I always wondered why no one tried this.


1 There a lightmaps
2 You can place a light in LE
3 no clue how to


Moding can be real Fun...
Previous Topic: Building Proxies Max
Next Topic: Harvester without WF
Goto Forum:
  


Current Time: Thu May 02 00:40:57 MST 2024

Total time taken to generate the page: 0.00776 seconds