Hirestexture lump

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

User avatar
BetaSword
Posts: 132
Joined: Thu Sep 01, 2005 0:01

Post by BetaSword »

I don't know about the colors, but I'm guessing it's not lining up has to do with the fact that it's being applied to a flat. I think. All I know is that, like I said before, with my experience with skyboxes (although not using the spiffy system Graf later added) for some reason the floor and ceiling tend to be hard to allign, usually requiring a horizontal flip before working right.
User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

Yeah, but nobody else has had these problems...
User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

Okay, it works (ish) now. I've had to mirror the ceiling and mirror and flip the floor in order for it to work.

The colours are slightly messed up but I can only guess that this is how GZDoom handles true colour... not very true eh? (The sky looks better if I convert it to the Doom pallet!)

These skies were made for Half Life mods. Its aparent that GZDoom is rotating stuff as these work fine in HL and in any art program. This is not documented.
User avatar
Paul
DRD Team Admin (Inactive)
Posts: 1058
Joined: Thu Jun 30, 2005 13:30
Location: Poland - Grojec / Radom
Contact:

Post by Paul »

Does Your quitage mean You'll never make us anymore music? :( (I meant for R1)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Lexus Alyus wrote: The colours are slightly messed up but I can only guess that this is how GZDoom handles true colour... not very true eh? (The sky looks better if I convert it to the Doom pallet!)
GZDoom can load true color graphics without screwing up the colors. The only thing that could affect this is the internal texture format which you can check in the menu.
These skies were made for Half Life mods. Its aparent that GZDoom is rotating stuff as these work fine in HL and in any art program. This is not documented.
That's because when I implemented it I was using data that was mirrored and didn't know about it.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

Yah, I've had to flip the top faces of my skyboxes vertically for them to match up in GZDoom. I dunno why, but that's what I've gotta do.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

IIRC, Doom has always mirrored sky textures - so they've always been a bit odd. (If you've ever used a sky with writing on it you'll have noticed this easily).

Anyway, a Quake2 and MOHAA sky will usually have the following naming

ft for front
lf for left
bk for back
rt for right
up for up (duh)
dn for down


Because of the way Graf's initial post was worded, I usually rename like this

ft -> N (North)
lf -> E (East)
bk -> S (South)
rt -> W (West)
up -> T (top)
dn -> B (Bottom)


Whether those actually tie in with NESW I don't know, but I'm happy with the result.

Further, I have found that the following is necessary to make the top/bottom match up with the above naming (PSP shorcuts)

Top
Ctrl-M (mirror) rotate right by 90 degrees.

Bottom
Ctrl-M rotate right by 90 degrees Ctrl-M again

I'm not sure if the bottom can be done a little more efficiently, but that gives me the right result every time, so I'm sticking with it. :P
Ixnatifual
Posts: 36
Joined: Tue Sep 06, 2005 14:25

Post by Ixnatifual »

Lexus Alyus wrote:Finally, reason why I've still got my PC is because I have unfinished busness... you can't leave the doom comunity without a final mod ;).
zomg make teh mewsik for teh titan2 lolz
User avatar
jallamann
Posts: 66
Joined: Wed Nov 23, 2005 10:01

Post by jallamann »

Doesn't work for me :|
The console wrote:Unknown texture: blah[x6]

Code: Select all

HIRESTX
define csgn 256 256
define csge 256 256
define csgs 256 256
define csgw 256 256
define csgt 256 256
define csgb 256 256

Code: Select all

DOOMDEFS
skybox CSG01
{
   CSGN
   CSGE
   CSGS
   CSGW
   CSGT
   CSGB
}

Code: Select all

MAPINFO
map map01 "LULLER SKYBOCKS"
sky1 CSG01 0.0
par 3600
And the WAD has the textures outside TX_ markers and stuff.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

It's HIRESTEX, not HIRESTX!
User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

No ones commented on the colours... is this normal GZDoom behavour?

At least I've got everything working now... see what I mean about the lack of documentation? If it was stated that you have to rotate and flip certain parts then this post could have been much shorter. Imagine if I had been a noob trying to get this sorted.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Lexus Alyus wrote:No ones commented on the colours... is this normal GZDoom behavour?
No.

If you could send me both the WAD and the source graphics I might take a look and tell you what's wrong.
User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

The wad is about 22megs so far... that's without levels (is that going to be a problem when the project is finished?)

I'll send a stripped down version with the skies, hirestex, mapinfo and gldefs lumps. I'll also send the modified PNGs. I'm not sure weather XWE is modifying the images, but I am doiing it by loading the raw data file. I notice that XWE screws the colours up differently than GZDoom does.

Thanks for offering to sort this out because I don't have a clue what could be wrong (I've tried almost everything... obviously not everything otherwise they'd be working by now...)
Ixnatifual
Posts: 36
Joined: Tue Sep 06, 2005 14:25

Post by Ixnatifual »

Lexus Alyus wrote:The wad is about 22megs so far... that's without levels (is that going to be a problem when the project is finished?)
Not for me :p
User avatar
Lexus Alyus
Posts: 95
Joined: Mon Aug 29, 2005 16:17
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

Heh, so far its zipped up to 16meg, so the final size of the zip is likely to be 20meg I reckon. I stole some resources from a mod of mine that's likely to not see the light of day... just to spice things up a little ;).
Locked

Return to “GZDoom”