Inside3D!
     

DP questions: soft lights, bumpmapping and pretty water
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Wed Jan 27, 2010 9:34 am    Post subject: DP questions: soft lights, bumpmapping and pretty water Reply with quote

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
View user's profile Send private message Visit poster's website
JasonX



Joined: 21 Apr 2009
Posts: 92

PostPosted: Wed Jan 27, 2010 1:46 pm    Post subject: Reply with quote

What are you using for compiling your map? q3map2 or hmap2? Which options enabled/disabled?
Back to top
View user's profile Send private message
Teiman



Joined: 03 Jun 2007
Posts: 309

PostPosted: Wed Jan 27, 2010 1:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Wed Jan 27, 2010 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
c0burn



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

PostPosted: Wed Jan 27, 2010 3:54 pm    Post subject: Reply with quote

You can try hmap2 or q1rad.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
JasonX



Joined: 21 Apr 2009
Posts: 92

PostPosted: Wed Jan 27, 2010 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Wed Jan 27, 2010 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Spirit



Joined: 20 Nov 2004
Posts: 476

PostPosted: Wed Jan 27, 2010 5:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Wed Jan 27, 2010 6:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
JasonX



Joined: 21 Apr 2009
Posts: 92

PostPosted: Wed Jan 27, 2010 7:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Teiman



Joined: 03 Jun 2007
Posts: 309

PostPosted: Wed Jan 27, 2010 8:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Wed Jan 27, 2010 8:30 pm    Post subject: Reply with quote

Look at the video that I have uploaded.
I think you will understand what I mean about water.
_________________
^O,..,o^
Back to top
View user's profile Send private message Visit poster's website
Teiman



Joined: 03 Jun 2007
Posts: 309

PostPosted: Wed Jan 27, 2010 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Freemanoid



Joined: 16 Jun 2008
Posts: 52
Location: BELARUS

PostPosted: Wed Jan 27, 2010 10:59 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Chip



Joined: 21 Jan 2009
Posts: 314
Location: Romania

PostPosted: Thu Jan 28, 2010 10:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    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