Abramul Posted October 13, 2006 Share Posted October 13, 2006 First, justification for forum selection: This question will likely affect how, and possibly whether, I release a mod. I'm doing an armor retexture, and the only alteration I'm making to the existing textures is applying a pre-saved Curve. What I would like to know is if it is possible to tell the GIMP to apply the following procedure to multiple files: load a texture, apply the curve, and save it in another folder. Additionally, when I save a .DDS file in the GIMP, what settings should I use? Link to comment Share on other sites More sharing options...
SickleYield Posted October 13, 2006 Share Posted October 13, 2006 First, justification for forum selection: This question will likely affect how, and possibly whether, I release a mod.I'm doing an armor retexture, and the only alteration I'm making to the existing textures is applying a pre-saved Curve. What I would like to know is if it is possible to tell the GIMP to apply the following procedure to multiple files: load a texture, apply the curve, and save it in another folder.Additionally, when I save a .DDS file in the GIMP, what settings should I use? I've never discovered any way to change files in GIMP without opening them individually. I suppose someone somewhere might have a batch file-type program for that (GIMP is fairly moddable itself, being open source), but I've never heard of one. Odds are you're gonna have to do the work. :) When saving a .dds: If you want any transparency, you have to save with "generate mipmaps" checked. Otherwise you can save without them. Compression is NOT required, ever, despite what some people will tell you, but it's often a good idea because it makes the files smaller. I don't usually go above DXT3 (and prefer to stay at DXT5) because it can cause distortion in the final look of the texture on a mesh. My dislike of compression is why my own mod is almost 40 mb - I made a lot of high-resolution textures at low compression. Don't worry about the forum selection. I've been bi - , er, COMPLAINING about my Blender problems here for months. Mostly I've had to figure them out on my own, because this forum has more talkative scripters than modelers (I love you guys), but nobody seems to mind texturing/modeling questions. Link to comment Share on other sites More sharing options...
Abramul Posted October 13, 2006 Author Share Posted October 13, 2006 Thanks for the assistance! I'll go over all the documentation, and if I can't find any hint of a feature like this, I may have a go at adding it. Link to comment Share on other sites More sharing options...
GBHis Posted October 13, 2006 Share Posted October 13, 2006 I think you'll have to write a script. GIMP has a nice scripting-interface, so it shouldn't be THAT hard... *Looks up curves in the manual. When finished reading, looks up bezier curves :)* Link to comment Share on other sites More sharing options...
SickleYield Posted October 13, 2006 Share Posted October 13, 2006 I think you'll have to write a script. GIMP has a nice scripting-interface, so it shouldn't be THAT hard... *Looks up curves in the manual. When finished reading, looks up bezier curves :)* If either of you can seriously do that, you should set up a donation account. I'd donate. I have a job. Really. :) Link to comment Share on other sites More sharing options...
GBHis Posted October 15, 2006 Share Posted October 15, 2006 I think you'll have to write a script. GIMP has a nice scripting-interface, so it shouldn't be THAT hard... *Looks up curves in the manual. When finished reading, looks up bezier curves :)* If either of you can seriously do that, you should set up a donation account. I'd donate. I have a job. Really. :)Looked up GIMP-scripting on google. The interface was nicer than I thought. Looks pretty much like C, actually.Sad (for you) I don't have a creditcard :) (And I would probably use a LOT more time than first expected, anyway) Link to comment Share on other sites More sharing options...
Abramul Posted October 15, 2006 Author Share Posted October 15, 2006 Found this site, which seems pretty good. Tried to send an email to the operator, mentioning something he missed, but the daemon couldn't find the domain his email is on. Link to comment Share on other sites More sharing options...
GBHis Posted October 15, 2006 Share Posted October 15, 2006 WoW! I did it! I managed to batch-convert a folder filled with .bmps (screenshots) to mip-mapped dds'es!! I'm going on a holiday tomorrow, so I won't be able to finish it the next week :( Link to comment Share on other sites More sharing options...
GBHis Posted October 20, 2006 Share Posted October 20, 2006 (Sorry for double-posting, but this needed a *tiny* bump.)D'oh! I had it working, but I accidentaly ruined something.The plugin now have an interface and some code that *should* work, but doesn't ;) How important is this? If I fixed it and released it, could you do some models for me (alternative donations)? Oops-oops. I just realise that I've done an entirely different script :(This curve - could you find it for me under Xtns>Procedure Browser? Or explain which menu-label it has? Link to comment Share on other sites More sharing options...
Abramul Posted October 20, 2006 Author Share Posted October 20, 2006 It's gimp-curves-explicit. It allows each input value (or range) to be re-mapped to an output that doesn't necessarily have the same color progression. No change is a simple upward slope (/). So, for instance, you could set it up such that dark becomes light, light becomes dark (\), or you could make dark and light BOTH be light, while the middle values become dark (V). Something that took me quite a while to figure out: The 'drawable' parameter should be the name of the layer you want to alter, in this case, "main surface". Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.