www.quadsoftware.com
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages


Post new topic  Reply to topic
 8 textures for Atlas Blended « View previous topic :: View next topic » 
Author Message
PuG
PostPosted: Fri Feb 29, 2008 11:31 am    Post subject: 8 textures for Atlas Blended Reply with quote



Joined: 04 Oct 2007
Posts: 20

Something worth looking at is Bobby Leighton's 8 textures for Atlas Blended resource found here.

Grome's Atlas exporter already supports output to more than one PNG file if you have greater than 4 texture masks automatically. Smile
Back to top
View user's profile Send private message
konradk
PostPosted: Sun May 25, 2008 12:56 pm    Post subject: How does the exporter behave for more than 4 layers? Reply with quote



Joined: 13 May 2008
Posts: 6

Does anyone know if the TGEA exporter for Grome has the possibility to export more than 4 layers in the mission? As far as I see, the main.cs file that the exporter generated uses only the first 4 layers, as if only the first mask would be used.

I am planning to use Bobby Leighton's code, but I don't know what I should modify in the generated main.cs conversion script in order to be able to use the 8 layers (ie. both generated 4 channel masks).

Any help would be much appreciated.

Konrad
Back to top
View user's profile Send private message
ALicu
PostPosted: Sun May 25, 2008 2:43 pm    Post subject: Reply with quote



Joined: 12 Feb 2007
Posts: 1326

Hi, you can quickly recompile the exporter (source code is provided on our webpage).

If Bobby Leighton's code uses the same notation, you just need to change line 1285 (Exporter.cpp) from:

for(uint T=1; T<=4; T++, layer_index++)

to

for(uint T=1; T<=8; T++, layer_index++)

In a future update, I will try to make the exporter detect how many tiling textures you have in the scene and output all in the script .

Regards,
Adrian L.
Back to top
View user's profile Send private message
konradk
PostPosted: Sun May 25, 2008 3:09 pm    Post subject: Reply with quote



Joined: 13 May 2008
Posts: 6

Thanks! You guys rock! I'll let you know how it went, just for the record.
Back to top
View user's profile Send private message
konradk
PostPosted: Wed Oct 01, 2008 2:49 pm    Post subject: Reply with quote



Joined: 13 May 2008
Posts: 6

Hi all. Here's something cool:

Matt Kronyak managed to use two opacity maps in Atlas under TGEA 1.7.1.

Let's hope he releases this as a resource. If not, the thread is still worth reading.
Back to top
View user's profile Send private message
ALicu
PostPosted: Wed Oct 01, 2008 2:58 pm    Post subject: Reply with quote



Joined: 12 Feb 2007
Posts: 1326

Great, if the resource is released and many people start using it, we will make an update to the exporter (see few posts above) so multiple opacity maps are exported. Thank you and let me know how this progresses.
Back to top
View user's profile Send private message
konradk
PostPosted: Fri Oct 03, 2008 8:16 am    Post subject: Reply with quote



Joined: 13 May 2008
Posts: 6

Adrian, it seems that the resource has been posted. It's awaiting approval still, but here's the url:

TGEA 1.7.1 Extra Atlas Opacity Maps
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

Jump to:  



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 vote in polls in this forum


Based on a template by Dustin Baccetti
Powered by phpBB © 2001, 2005 phpBB Group