Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / please could someone convert these

Author
Message
Father Tree
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location: England - Plympton
Posted: 28th Nov 2006 22:47
hi!
I got BF's Blood setup.fpi thing and i got it to work with some rubbish textures but i found some of google and then made 7 different ones for it, make them then go into dds converter and when i try it says " Conversion failed pictures= not power of two" or something like . please could some one convert these for me

thank you
Father tree
(no tree so i used a pear)

Attachments

Login to view attachments
filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 29th Nov 2006 00:43
Quote: "Conversion failed pictures= not power of two"


you probably have to save the images in proper sizes before converting them.

try resizing the images to powers of 2:
32,64,128,256,512,1024 etc

It could be any combination of these such as :
32*128
256*1024
512*64

-- game dev is fun...but taking up too much time --
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 29th Nov 2006 03:30
I think powers of 2 means that the area has to be a square number. as in the size is

64x64
128x128
256x256
512x512
1024x1024
etc

Thanks for the reference by the way, and as a note I think the optimal size for each blood splat is between 128x128 and 256x256. any bigger and it might fill up too much screen.

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 29th Nov 2006 04:21
I have to say I am no artist and I was able to take blood textures and make the visual damage system work quite well.
Have you tried using the Gimp?I use it to convert a lot of image files and there is a .dds plug in for it.

transient
19
Years of Service
User Offline
Joined: 22nd Apr 2005
Location: Australia Zoo
Posted: 29th Nov 2006 04:29
There isn't theoretically a problem with rectangular maps in directX as long as they're powers of two, so 512*1024 should work.

I'm not sure whether FPSC has further restrictions, but since it's based on dx there shouldn't be.

Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 29th Nov 2006 12:55
SHadow7
Quote: "I tried your script and i coundt get it to work"


Can you please stop posting this crap?! Your making it sound like my script doesn't work, and that isn't true because its actually the case that you can save the images in the right format.. You've posted this in a couple of threads now, and I'd really appreciate it if you'd stop.
Quote: "
There isn't theoretically a problem with rectangular maps in directX as long as they're powers of two, so 512*1024 should work.
"


transient, you're absolutely right, but Father Tree said his converted wouldn't do the images because they were'nt a power of 2. I think a power of 2 image must be sqaure.

mickeyb
18
Years of Service
User Offline
Joined: 1st Jan 2006
Location:
Posted: 29th Nov 2006 13:29
Butter fingers

Quote: "transient, you're absolutely right, but Father Tree said his converted wouldn't do the images because they were'nt a power of 2. I think a power of 2 image must be sqaure."


You are quite right power of 2 is a square,
I tried the DDS converter 2 program on some images and for it to work 32x32 64x64 and so on EX: power of 2 = squared
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 29th Nov 2006 17:25
Butter Fingers' script works quite well.
Just because you have issues converting your image files doesn't mean his script doesn't work.
Get the Gimp.
I think the lastest version comes with the .dds plug in but if it doesn't there should be a link around the Gimp's site somewhere for it.
I have never failed to have the Gimp convert a .dds file but I also use even numbers in my file.
If your textures don't divide by two it is a simple matter to rescale them so that they do.
This is why a lot of stuff winds up in the Bug Forums.
People think there is an error with their game and it is an error by the game developer.

Login to post a reply

Server time is: 2024-11-25 21:40:38
Your offset time is: 2024-11-25 21:40:38