New Doom Forums  
GL Sparkles - New Doom Forums
Go Back   New Doom Forums > Source Ports > Doom Legacy

Reply
 
Thread Tools Display Modes
Old December 23rd, 2002, 09:17 AM   #1
Doom_Dude
Guest
 
Posts: n/a
Question GL Sparkles

When moving around in Legacy GLMode I see all these sparkles and lines flickering all over the walls which are the same color as the sky. The only way to eliminate this is to use a real dark colored sky. Not that they go away but they're not as noticable. Anyhow it looks bad, espcially when you enter a dark area and you see a zillion of these specks. Whats up with this and will it ever be fixed? When I run the same map in JDoom I don't see this 'stuff'. Yeah I know, JDooM handles the GL stuff different. I was really wondering if the GL code will ever be improved to fix this sparkle effect? I know the Legacy team has a lot of things to do and are working hard to improve Legacy and I hope I don't sound bitchy. I've been wondering about this for quite awhile now and I just added an orange sky to my wad. The sky looks cool but the sparkles are really apparent, especially on dark textured walls. Just thought id ask about this since nobody else seems to say anything about it.. Maybe im just a Gl freak.

------------------


----Linedef Technician and Sector Maker Upper----
  Reply With Quote
Old December 23rd, 2002, 09:25 AM   #2
Agent Spork
Guest
 
Posts: n/a
Post

Also I've noticed that dynamic lights tend to add Gl-hole looking cracks around the area of the lighting.
  Reply With Quote
Old December 23rd, 2002, 10:14 AM   #3
Gherkin
Guest
 
Posts: n/a
Post

JDoom is DirectX. Even though thats close to OpenGL, you cant compare it in this case.
What you describe sounds like a z-buffer problem. What video card do you have? I dont have this problem and I have an old Diamond Stealth III S540 32MB AGP.


------------------
Doom Connector - Your first class ticket to hell online!
  Reply With Quote
Old December 23rd, 2002, 10:20 AM   #4
Doom_Dude
Guest
 
Posts: n/a
Post

I have a Radeon 8500 and I've seen the effect on my VooDoo Banshee as well.

------------------


----Linedef Technician and Sector Maker Upper----
  Reply With Quote
Old December 23rd, 2002, 11:58 AM   #5
Ebola
Guest
 
Posts: n/a
Post

I think Hurdler explained this by that the lines were rendered several times or something, I can't say i understood it.
  Reply With Quote
Old December 23rd, 2002, 03:34 PM   #6
Rellik_jmd
Guest
 
Posts: n/a
Post

Hmmm, is it wierd that I don't seem to have that stuff? Everything looks fine for me.



------------------
Member of Team DEIM
Webmaster The DOOM Editing Resource

Team Deim.com is TEMPORARILY down. It will be back, maybe in a week or two, but it will be back! DOOM Editing Resource temporary site.
  Reply With Quote
Old December 23rd, 2002, 03:37 PM   #7
Doom_Dude
Guest
 
Posts: n/a
Post

In a lot of maps it's not that noticeable. In others it can be quite sparkly. Maybe I'm going insane?

------------------


----Linedef Technician and Sector Maker Upper----
  Reply With Quote
Old December 23rd, 2002, 04:02 PM   #8
mystic
Guest
 
Posts: n/a
Post

I see it a lot, (Voodoo Banshee), I remember Stefirz telling us how to work around it in a thread for one of your recent releases DD, a few months ago. He suggested something like making the border of the offending texture slightly darker.

Its an annoying problem and one of the reasons I still have not released my Mummy Phuquers 3D partial conversion. I may just make that an episode in MysticMeg now.

------------------


"One can't complain. I have my friends. Someone spoke to me only yesterday."
yahoo ID mysticandy13, MSN mysticandy@blueyonder.co.uk
  Reply With Quote
Old December 23rd, 2002, 04:37 PM   #9
Doom_Dude
Guest
 
Posts: n/a
Post

The thing Stphrz was talking about was the flickering glimmer on some flats which can be fixed by smoothing / blurring the flats slightly in a Photo editing program. This method works great, especially on flats that have a lot of lines like tiled floors. It doesn't take much of a blur either to fix flats.

------------------


----Linedef Technician and Sector Maker Upper----
  Reply With Quote
Old December 23rd, 2002, 09:21 PM   #10
deepteam
Guest
 
Posts: n/a
Post

As I recall, it's a coding issue of sorts - done differently in JDOOM. It uses OPENGL too.

IIRC one fix is to switch to OPENGL node as in JDOOM
  Reply With Quote
Old December 24th, 2002, 02:22 AM   #11
Aliotroph?
Guest
 
Posts: n/a
Smile

Here's an idea. If we raise enough money to pay deepteam's bills for a month or two, maybe he'll write us a new graphics engine for Legacy!

I get the sparkles on my Mobility Radeon but I can't remember whether they show on my GeForce2. They are really nasty looking though.

I also get those GL cracks caused only by dynamic lights. You can sometimes reduce them by tweaking the settings on your nodesbuilder. They show up more around geometry with really fine details.

------------------
"Once in a while a programmer really writes something he's proud of, a slick, elegant, blazingly fast routine that stands as a benchmark against which other code will be judged by. However, this is not the case with TED's fill routine. This slow, stupid algorithm will casually fill one plane of data in a painfully creeping manner. Press ESC when it gets confused." - John Romero on TED (Tile EDitor)

Aliotroph?.postCount++;
  Reply With Quote
Old December 24th, 2002, 05:07 AM   #12
Doom_Dude
Guest
 
Posts: n/a
Arrow

I don't get any Glcracks around lights so go figure.

------------------


----Linedef Technician and Sector Maker Upper----
  Reply With Quote
Old December 24th, 2002, 06:09 AM   #13
DarkWolf
Guest
 
Posts: n/a
Post

This picture doesn't illustrate it to well, but you can see two gray dots (E1 map) where the linedefs meet.



And here's the thing with the lights as seen in this part of Phobia.



------------------
-DarkWolf
  Reply With Quote
Old December 24th, 2002, 07:22 AM   #14
Gherkin
Guest
 
Posts: n/a
Post

ooooooooooh is that what you mean!
Use ZenNode, it solves these problems. But if you want to use ZenNode on one of your IWAD's, make a copy first, because you cant use it to play online if the other doesnt have the same file.


------------------
Doom Connector - Your first class ticket to hell online!
  Reply With Quote
Old December 24th, 2002, 08:52 AM   #15
DarkWolf
Guest
 
Posts: n/a
Post

Zennode doesn't solve the former problem. It will sometimes get rid of the latter one.

------------------
-DarkWolf
  Reply With Quote
Old December 24th, 2002, 09:22 AM   #16
Doom_Dude
Guest
 
Posts: n/a
Post

Yeah ZenNode can fix the lights thingy on the floor. I suspect that error has more to do with complex design / nodesbuilding rather than any problems with the lights. It looks to me like the nearby lights make the error more apparent. I've rarely had that error and always fixed it by making a few minor changes to my architecture. The other problem with the sparkles never clears with ZenNode.

------------------


----Linedef Technician and Sector Maker Upper----
  Reply With Quote
Old December 24th, 2002, 01:34 PM   #17
deepteam
Guest
 
Posts: n/a
Post

The other problem is fixed point arithmetic. I'm assuming Legacy did not convert to floating point - and this will cause a lack of "meshing". ZDOOM has similar issues and this is even true for stock DOOM.

Just looks different when the res is turned up
  Reply With Quote
Old December 24th, 2002, 05:15 PM   #18
Aliotroph?
Guest
 
Posts: n/a
Smile

That whole switch has sparkles around it in the first pic.

Deepteam is probably right. ZenNode and DeepBSP don't fix that second problem all the time either. Sometimes you can reduce it by playing with the settings but it almost never goes away if it's there. Odd how it only show when the dynlights are there though. In a lot of maps you will never see those cracks until you fire a rocket there or something.

------------------
"Once in a while a programmer really writes something he's proud of, a slick, elegant, blazingly fast routine that stands as a benchmark against which other code will be judged by. However, this is not the case with TED's fill routine. This slow, stupid algorithm will casually fill one plane of data in a painfully creeping manner. Press ESC when it gets confused." - John Romero on TED (Tile EDitor)

Aliotroph?.postCount++;
  Reply With Quote
Old December 24th, 2002, 05:26 PM   #19
DarkWolf
Guest
 
Posts: n/a
Post

There may be 1 or 2 more in the first pic, but the sides along the switch are the DOORSTOP texture...

------------------
-DarkWolf
  Reply With Quote
Old December 27th, 2002, 01:45 AM   #20
Aliotroph?
Guest
 
Posts: n/a
Smile

I was playing Half-Life: Blue Shift earlier and I saw those GL sparkles all over the terrain just where the train enters the cave.

------------------
"Once in a while a programmer really writes something he's proud of, a slick, elegant, blazingly fast routine that stands as a benchmark against which other code will be judged by. However, this is not the case with TED's fill routine. This slow, stupid algorithm will casually fill one plane of data in a painfully creeping manner. Press ESC when it gets confused." - John Romero on TED (Tile EDitor)

Aliotroph?.postCount++;
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About the new OpenGL renderer Pate Legacy 2.0 Development 250 January 30th, 2007 03:20 AM


All times are GMT -7. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
NewDoom.com © 2000-2009 Mindless Games & Entertainment. All Rights Reserved.