map retexturing

map retexturing

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
zoggop
Posts: 289
Joined: 07 Sep 2010, 18:47

map retexturing

Post by zoggop »

Is it possible to draw on the ground and have it receive shading and shadows (not DrawGroundQuad)?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: map retexturing

Post by jK »

Is it possible to *to build a nuclear plant with pink fans*?

see http://rurounijones.github.io/blog/2009 ... p-on-irc//
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: map retexturing

Post by gajop »

It's possible, but pretty hard as you'd have to modify opengl textures which are tiled, and pretty inefficient (not usable for gaming) as they wouldn't be compressed like they normally are.

It's actually one of the things I'd like to see added support for in Spring.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: map retexturing

Post by Super Mario »

jK wrote:Is it possible to *to build a nuclear plant with pink fans*?

see http://rurounijones.github.io/blog/2009 ... p-on-irc//
Is that sarcastic comment really necessarily jk?
User avatar
zoggop
Posts: 289
Joined: 07 Sep 2010, 18:47

Re: map retexturing

Post by zoggop »

gajop wrote:It's possible, but pretty hard as you'd have to modify opengl textures which are tiled, and pretty inefficient (not usable for gaming) as they wouldn't be compressed like they normally are..
Ahh... thanks. I finally understand the purpose of the map format :oops:

I wonder if PepeAmpere left any notes on where notAmap was headed texture-wise, will look.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: map retexturing

Post by Google_Frog »

Yes, it is possible.

I am not sure whether gajop knows what he is talking about so be wary.

I followed jK's link to here http://slash7.com/2006/12/22/vampires/ so for now I will leave you with a link to my gadget which does map retexturing.

https://github.com/ZeroK-RTS/Zero-K/blo ... andler.lua
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: map retexturing

Post by FLOZi »

Google_Frog wrote:Yes, it is possible.

I am not sure whether gajop knows what he is talking about so be wary.

I followed jK's link to here http://slash7.com/2006/12/22/vampires/ so for now I will leave you with a link to my gadget which does map retexturing.

https://github.com/ZeroK-RTS/Zero-K/blo ... andler.lua

I'm quite sure he does (and more so than you), be wary of yourself.

Issue was briefly mentioned again here: viewtopic.php?f=13&t=30962&p=548449&hil ... re#p548449

But it seems jK is the one in the know and has already decided this topic isn't worth posting in.
Post Reply

Return to “Lua Scripts”