do jpg files have to be compresed specially?


(Niklas_) #1

EDIT:

the problem about my target_script_trigger was solved…used a wrong texteditor…

do .jpg files have to be specially compressed or something(maybe progressive, special quality…)??? All textures I made myself don’t work in et(in gtkradiant they do) . if i only change the shader and texturename they work perfectly :wink:


(Shaderman) #2

I’m not sure if I understand what you want to do. Maybe you write what you’re trying to achieve.


(psyco_mario) #3

Yeah… and he seems to have mixed his map and script up :S


(Niklas_) #4

lol sorry :slight_smile: i wanted to make 2 quotes :slight_smile:

i found the error: made the script with the wrong editor…had problems with lines…I don’t know why et loaded it, normally it makes an error immediately on load.

other question: do .jpg files have to be specially compressed or something(maybe progressive, special quality…)??? All textures I made myself don’t work in et(in gtkradiant they do) :). if i only change the shader and texturename they work perfectly :slight_smile:


(kamikazee) #5

If that makes it work, the problem should not be in the picture itself…
Used some special characters in it’s name? Are you sure that the shader was correct?


(pakalatak) #6

I fancy that the size of your image is a power of 2 ?
for instance : 2 * 128 or 256*512 and so on.


(Niklas_) #7

???
does it have to be???
100x100


(kamikazee) #8

Ok, then it couldn’t be that they worked once you renamed them…

They need to be powers of 2. Make it 128 x 128 for example.


(Loffy) #9

2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 and so on…
It can be 128 x 256 though.


(Jaquboss) #10

1024 or 2048 looks sweet in this game, but it is waste :slight_smile:


(psyco_mario) #11

What about

3,088,413,288,990,945,714,607,167,766,096,760,666,649,729,152,
895,234,960,279,866,913,260,350,640,380,788,374,205,938,472,
006,792,060,778,611,417,607,373,228,628,384,532,735,989,280,
347,702,230,834,056,678,923,362,997,806,954,442,769,843,550,
227,998,248,540,363,155,634,742,320,939,156,524,772,391,123,
850,992,097,524,347,673,943,425,610,505,012,700,786,888,921,
103,128,284,156,837,954,503,288,400,970,554,554,866,145,951,
744
X
3,088,413,288,990,945,714,607,167,766,096,760,666,649,729,152,
895,234,960,279,866,913,260,350,640,380,788,374,205,938,472,
006,792,060,778,611,417,607,373,228,628,384,532,735,989,280,
347,702,230,834,056,678,923,362,997,806,954,442,769,843,550,
227,998,248,540,363,155,634,742,320,939,156,524,772,391,123,
850,992,097,524,347,673,943,425,610,505,012,700,786,888,921,
103,128,284,156,837,954,503,288,400,970,554,554,866,145,951,
744?


(kamikazee) #12

Let’s see… That would make the game look crap at 0-1 FPS as it would need massive swapping.


(carnage) #13

1024 or 2048 looks sweet in this game, but it is waste

the only time you would benefit from that is when the image is ocupying a very large amount of screen space. if the image is futher away then a mini map is used and you get the same effects as using a smaller image just waste video memory

the only time i would realy consider using it is for something that was going to be on screen a lot of the time and most of the time display an on screen image to benefit from such a high resolution

the only senario i can think of is a skybox but even then only if there was in insane amount of detial that needed to be displayed since you talking a lot of video memory for that

Let’s see… That would make the game look crap at 0-1 FPS as it would need massive swapping.

the only thing slowing would be the swaping since the mini map would never use an image bigger then the resolution of the screen so kinda pointless