Doom Marine
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > tiling high resolution sky pictures
 
Author
All times are GMT. The time now is 22:44. Post New Thread    Post A Reply
t.v.
Junior Member


Posts: 237
Registered: 10-06


I made high resolution sky pictures. One of them has 4 patches. Each is 1024x512 pixels. But when I put them in my pwad and start doom2 (in Zdoom) it only displays the first patch in the game (eventhough I adjusted the texture size accordingly).

When I tile the low resolution versions it works perfectly though.
Can anyone tell me what I am doing wrong?

thanks in advance.

Old Post 03-18-09 13:32 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


anyone?

btw: I am using XWE

Old Post 03-20-09 09:42 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7698
Registered: 01-03


How did you do it? Keep in mind when you replace textures with hires versions you need to replace the entire texture, not the single patches.

Old Post 03-20-09 11:42 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


I am not sure what oyu mean. I indeed replaced the patches, which works for low resolutions, but how do I replace the texture itself?

thanks for the help (again :-))

Old Post 03-23-09 12:52 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2711
Registered: 01-04


For glboom-plus (2.5.0.2+) you can put any texture resource in any format (png, jpg, bmp, gif, tga, pcx) between HI_START and HI_END markers.

HI_START
SKY1
TITLEPIC
CEIL1_1
BOSSC2C8
HI_END

http://prboom-plus.sf.net/doom01.png

Old Post 03-23-09 13:35 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7698
Registered: 01-03


... and the same method will work in both ZDoom and GZDoom too. But only for PNG, JPG, TGA and PCX. I still would like to add GIF support but all the GIF code I found so far was a complete mess to use.

Old Post 03-23-09 13:59 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6488
Registered: 01-02



entryway said:
http://prboom-plus.sf.net/doom01.png

O_O What wad is this?

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 03-23-09 18:45 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


@ Graf Zahl:
I still can't get it to work. It's probably really simple to fix, but I'm missing something. Can I send you the wad so you can look at it?

BTW: they are high resolution versions of the Plutonia skies... maybe that is more difficult?

Old Post 03-24-09 12:49 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 15174
Registered: 04-02


If I understood correctly, it's got to be one picture in one of the supported file formats, named like the texture (such as SKY1), placed between the markers. Is that what you tried?

Plutonia uses some multi-patch skies. To replace those with equivalents (as was your plan), I suppose you'd need to make one long graphic (like sky1.jpg) combining the patches together.


esselfortium said:
O_O What wad is this?
I'm guessing it's something Eternal is working on.

Old Post 03-24-09 13:06 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


Yes I replaced all the separate patches and put them between the markers, assuming that is how Plutonia would read it.

I can make one long texture and adjust the TEXTURE lump. Hopefully that will work...

I'll try it tonight. This taking much more time then I thought it would :-)

Old Post 03-24-09 14:22 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2711
Registered: 01-04



t.v. said:
I can make one long texture and adjust the TEXTURE lump. Hopefully that will work...

There is no necessity to touch TEXTURE lump at all. Forget about patches. Just made sky1.png, sky2.png and sky3.png with any sizes and proportions, but in game their proportions will be cast (stretched) to ratio from TEXTURE lump (2x1 (256x128) for sky1, 8x1 (1024x128) for sky2, 4x1 (512x128) for sky3).

Example: http://prboom-plus.sf.net/pl2_sky.zip

Last edited by entryway on 03-24-09 at 16:07

Old Post 03-24-09 14:42 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


Still didn't work :-(

I made the long skies and put them between the HI markers.
My pwad has no TEXTURE lump.

SKY1.pcx 1024x512
SKY2.pcx 4096x512
SKY3.pcx 2048x512

(I used pcx because png resulted in quality loss.)

Sky1 looks good, but that's logical since it only had 1 patch to begin with.
Sky2 is not scaled in game and thus looks pixilated.
Sky3 is scaled properly but only the 1st half (what used to be the first patch) is displayed.

[edit]Can anyone please look at the file and tell me what's wrong?[/edit]

Last edited by t.v. on 03-24-09 at 16:42

Old Post 03-24-09 16:31 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2711
Registered: 01-04



t.v. said:
I used pcx because png resulted in quality loss

What? Png is lossless format.


t.v. said:
Sky1 looks good, but that's logical since it only had 1 patch to begin with.
Sky2 is not scaled in game and thus looks pixilated.
Sky3 is scaled properly but only the 1st half (what used to be the first patch) is displayed.


Send me your skies for pl2 (andrey.budko gmail.com)

Old Post 03-24-09 16:39 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


It lost quality when I put in the wad with XWE. But pcx should work too right? Anyway: I just uploaded my file in my previous post. If you want please look at it...

Old Post 03-24-09 16:44 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2711
Registered: 01-04



t.v. said:
It lost quality when I put in the wad with XWE.

With "Load Raw Data"?


t.v. said:
I just uploaded my file in my previous post. If you want please look at it...

Sky1\2\3 lumps are not in pcx format there. Try to use Main menu\Entry\Load (raw data) in XWE or attach your skies

Last edited by entryway on 03-24-09 at 17:23

Old Post 03-24-09 17:14 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


@ entryway:

I e-mailed you the pictures :-)

Old Post 03-24-09 19:11 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2711
Registered: 01-04



t.v. said:
@ entryway:

I e-mailed you the pictures :-)


Why they are 8bit? I thought you want real 24bit hires.

pwad with 8-bit "hireses":
http://prboom-plus.sourceforge.net/pl2_sky-e.zip

The latest glboom-plus:
http://prboom-plus.sourceforge.net/....test-win32.zip
Internal hireses are enabled by default (Options\General\Texture Options\Enable Internal Hi-Res)

Also I think there is no necessity for making textures bigger than 2048. Most of non modern hardware has GL_MAX_TEXTURE_SIZE=2048. And most of screen resolutions are lower than 2048. So, just no sense.

Last edited by entryway on 03-24-09 at 19:36

Old Post 03-24-09 19:15 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
t.v.
Junior Member


Posts: 237
Registered: 10-06


aaarhg... indeed they are 8bit and look bad. Don't know how this happened :-(. I'll check again tomorrow...

sorry for all the inconveniece :-/

Old Post 03-24-09 21:34 #
t.v. is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 22:44. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > tiling high resolution sky pictures

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.