Importing textures pipeline?

Importing textures pipeline?

Postby Skinnytorus » Thursday, 16.August 2012, 08:46

Dear All!
I was playing with imported textures and faced the restriction that the texture had to have the size that is power of 2.
Say, I have a texture from google and want to import it into wz4. I copy it into irfanview or a similar utility, resize it so that the size is a power of 2 (128, 256, 512 etc.) and save as .png file. Then I import it and resize by Rotate back to normal proportions (because after resizing in irfanview the image often becomes squashed).
I wonder how you guys prepare your textures for importing into wz4? Are there any simpler ways to do that?
Thank you.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Importing textures pipeline?

Postby ikam » Thursday, 16.August 2012, 09:00

Maybe it's less destuctive to cut a rectangle (power of 2 size) inside the texture instead of 2 resize ?
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Importing textures pipeline?

Postby Skinnytorus » Thursday, 16.August 2012, 09:16

Yes, but what lightweight and free software might support such type of selction
(pre-sized selection rectangle movable across the image)?
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Importing textures pipeline?

Postby ikam » Thursday, 16.August 2012, 09:43

mspaint lol

with manual selection :lol:
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Importing textures pipeline?

Postby Skinnytorus » Thursday, 16.August 2012, 10:30

OK. I don't have wz here, but I have irfanview. And as it turns out, it can do that!
1. Copy the image into IrfanView
2. Press Shift-C (Create custom crop selection)
3. Set Ratio (e.g. 1:1), Height and Width in pixels (e.g. 256x256)
4. Click 'Save and apply to image'
5. Drag the rectangle selection with Right mouse button.
6. Ctrl-C to copy the selection
7. Shift-N to create a new file, then 'OK' (doesn't matter which size IrfanView suggests)
8. Ctrl-V to paste selection in the new file (after that it should be sized as 256x256 px)!
... and voila! You are all set :)
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Importing textures pipeline? [Solved]

Postby ikam » Thursday, 16.August 2012, 11:28

thanks for info, i'll try.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Importing textures pipeline? [Solved]

Postby Skinnytorus » Thursday, 16.August 2012, 12:20

Unfortunately there is one contra point to this approach... and a rather strong one:
if the initial texture is looped (wrapping), you will lose its 'loopability' :(
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Importing textures pipeline? [Solved]

Postby Skinnytorus » Thursday, 16.August 2012, 20:31

Now check this out!
A seamless texture generator for total idiots. Absolutely free!
http://www.blitzbasic.com/Community/pos ... opic=46368
The tool is old and it generates .bmp only but does the job well.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46


Return to Support



Who is online

Users browsing this forum: No registered users and 22 guests

cron