Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

DP questions: soft lights, bumpmapping and pretty water Goto page 1, 2 Next

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
Freemanoid Joined: 16 Jun 2008 Posts: 52 Location: BELARUS |

Posted: Wed Jan 27, 2010 9:34 am Post subject: DP questions: soft lights, bumpmapping and pretty water |

Ok, I want to ask about soft lights. As you can see in screenshot below, (engine - darkplaces) light have ugly shadows and looks poor. Is it possible to make better, realistic lighting? Something like this : (Screenshot of the same map but in 3ds max)
And the second question, about bumpmapping :
For example, I have in my map (orangemap.bsp) texture named "dev_wall01a.tga"
Here id1/textures/ I placed my texture named "dev_wall01a_bump.tga"
(Or id1/textures/orangemap/dev_wall01a_bump.tga)
And as you can see on first screenshot in this thread, there is nothing bumpmapping on walls.
What is wrong?
(Same I can say about all models)
And the last question, about water.
I installed "pretty water" (Pretty DP Water Pack v 0.2 by Zombie & Urre), then I patched all my maps with "id1vis"
Now, I have strange bug. See it on screenshots below.
As you can see, water on screenshots is different. And this is always happens if you look at water, and start to moving your view.
(Also, on water, there is no bumpmapping)
_________________
^O,..,o^

Back to top |

JasonX Joined: 21 Apr 2009 Posts: 92 |

Posted: Wed Jan 27, 2010 1:46 pm Post subject: |

What are you using for compiling your map? q3map2 or hmap2? Which options enabled/disabled?

Back to top |

Teiman Joined: 03 Jun 2007 Posts: 309 |

Posted: Wed Jan 27, 2010 1:56 pm Post subject: |

Since lighmap generation is done in the compiling of the bsp file.... is all about your compiling tools, not the engine. You can use a compiler tool that light the map "HL" style... emiting light from textures... thats a cool way to do it, and generate more realistic light (IMHO). I think there are a few "HL style" lighting tools for the Quake1 format.
A hack to have better water is to implement "waves" as models or textures. Still you don't get the typical "shader water" you get on modern games, but It makes water feel more.... he.. wet.

Back to top |

Freemanoid Joined: 16 Jun 2008 Posts: 52 Location: BELARUS |

Posted: Wed Jan 27, 2010 2:16 pm Post subject: |

I make my maps in quark. for compiling I use standart txqbsp, vis, light. I need to use something else for more realistic effect? How can I fix bug with water? I dont full understand. dpwater.pk3 already have some shader. _________________ ^O,..,o^

Back to top |

c0burn Joined: 05 Nov 2004 Posts: 158 Location: Liverpool, England |

Posted: Wed Jan 27, 2010 3:54 pm Post subject: |

You can try hmap2 or q1rad.

Back to top |

JasonX Joined: 21 Apr 2009 Posts: 92 |

Posted: Wed Jan 27, 2010 4:53 pm Post subject: |

Use hmap2 for vanilla Quake: http://icculus.org/twilight/darkplaces/files/hmap2build20100113.zip But if you're using DarkPlaces, feel free to use q3map2: http://shaderlab.com/q3map2/

Back to top |

Freemanoid Joined: 16 Jun 2008 Posts: 52 Location: BELARUS |

Posted: Wed Jan 27, 2010 5:35 pm Post subject: |

Thanks. I'll try it all! But I don't understand why bumpmapping isn't working. Can anybody help me with it? _________________ ^O,..,o^

Back to top |

Spirit Joined: 20 Nov 2004 Posts: 476 |

Posted: Wed Jan 27, 2010 5:38 pm Post subject: |

Uh, do not judge lighting with such textures... Also make sure you read the light tool's documentation (use http://user.tninet.se/~xir870k/ if you don't already). q1rad would be a tool like Tei suggested. q3map2 would not work for a Quake 1 bsp/map file.
I have no idea what you mean with the water screenshots.
_________________
Quake Maps

Back to top |

Freemanoid Joined: 16 Jun 2008 Posts: 52 Location: BELARUS |

Posted: Wed Jan 27, 2010 6:22 pm Post subject: |

q3map2 works with quake 1, but there is problem with original textures from quake 1. Here screenshot : Thanks for link I'll check it now. About water. I paste here 2 screenshots. Water have different transparency. When you moving your cursor, but still looking at water, water transparency starting to changing very fast with light and dark, one by one. If you stop moving your mouse all is good. But if you walk and look at water it's transparency changing. And some reflections of objects (on 1st screenshot you can see players gun, but there is no such reflection on 2nd screenshot)
Sorry if I explain bad.
I've made video about "water bug"
Check it out here :
download
It's in .ogv format, but my media player classic plays it well.
_________________
^O,..,o^

Back to top |

JasonX Joined: 21 Apr 2009 Posts: 92 |

Posted: Wed Jan 27, 2010 7:17 pm Post subject: |

Freemanoid wrote:
q3map2 works with quake 1, but there is problem with original textures from quake 1.

You are placing your lights too close to the surfaces. Also:
http://www.moddb.com/tutorials/lighting-in-game-environments-the-hows-and-whys
http://www.moddb.com/games/half-life-2/tutorials/grated-light-effect

Back to top |

Teiman Joined: 03 Jun 2007 Posts: 309 |

Posted: Wed Jan 27, 2010 8:00 pm Post subject: |

With the water thing, I think he mean how to make the Quake water looks more like water. http://www.youtube.com/watch?v=P5PF3bNSPC4 Theres also other things about lighting compile tools like ambient levels. You probably can make your map looks how you want it to look just setting a very high ambient level, and a single light entity somewhere with a hure falloff. IF such flexible light tool exist...

Back to top |

Freemanoid Joined: 16 Jun 2008 Posts: 52 Location: BELARUS |

Posted: Wed Jan 27, 2010 8:30 pm Post subject: |

Look at the video that I have uploaded. I think you will understand what I mean about water. _________________ ^O,..,o^

Back to top |

Teiman Joined: 03 Jun 2007 Posts: 309 |

Posted: Wed Jan 27, 2010 10:43 pm Post subject: |

Freemanoid wrote:
Look at the video that I have uploaded. I think you will understand what I mean about water.

Thats is a absolutelly horrible flickering problem. I don't remenber vis-patched maps to have it.... oh.. is a reflection thing!.. I see the player body and sky. Maybe is not working, because of some "heigh fighting" or stuff. How you manage to activate this thing?

Back to top |

Freemanoid Joined: 16 Jun 2008 Posts: 52 Location: BELARUS |

Posted: Wed Jan 27, 2010 10:59 pm Post subject: |

I did all as spoke in installation : Patch maps with id1vis. Then install dpwater.pk3 in your id1 directory. Then, in game, exec water.cfg. That's all.
_________________
^O,..,o^

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Thu Jan 28, 2010 10:45 am Post subject: |

Freemanoid wrote:
I did all as spoke in installation : Patch maps with id1vis. Then install dpwater.pk3 in your id1 directory. Then, in game, exec water.cfg. That's all.

dpwater used to work just fine with DarkPlaces. However, the last builds - starting from December, 2009 - started having the flickering problem. Might be a DP issue, and LordHavoc might answer this more detailed.
Try an older build, like October 2009. You'll see what I mean.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT Goto page 1, 2 Next
Page 1 of 2

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group