Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 1 invisible), 620 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Terrain Shadows - is it possible? [Re: Vonman] #88008
08/30/06 10:07
08/30/06 10:07
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
if it has an action, make a material in the code and put in the action "my.material = theMaterialVonmanMade;"

or you can go to MED and edit its material properties there. search through the manual for "materials". also, i think some variable has to be set to make the sun be treated as a dynamic light.

julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: Terrain Shadows - is it possible? [Re: JibbSmart] #88009
08/30/06 10:52
08/30/06 10:52
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
Here is a little Modelviewer,
just insert your terrain into it at the position
string das_model=<marine_cosh.mdl>;

You might just scale it in cas it is to big.

This way you can test how the material settings affect the terrain.

http://www.coniserver.net/ubbthreads/showflat.php/Cat/0/Number/684932/an/0/page/0#Post684932

Re: Terrain Shadows - is it possible? [Re: Damocles] #88010
08/30/06 12:32
08/30/06 12:32
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline
User
sheefo  Offline
User

Joined: Jul 2006
Posts: 783
London, UK
If you want shadows on terrain just set an entity to have a stencil shadow. Then a dynamic shadow will be displayed on a terrain.

Re: Terrain Shadows - is it possible? [Re: Vonman] #88011
09/01/06 04:22
09/01/06 04:22
Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
Shaque Offline
Junior Member
Shaque  Offline
Junior Member

Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
I'm not an expert, but did you export your terrain from MED? If so did you alter the ambience? I did the same this and my entire terrain is too lit up and looks cartoony, until I realised that you can adjust how much the light affects the terrain in MED (A6 as far as I know). Now my terrain has low ambience and is only lit based on the intensity and distance of lights (dynamic or static) and sunlight. I hope this helps.


Knowledge is a right, wisdom is a choice.
Re: Terrain Shadows - is it possible? [Re: Shaque] #88012
09/01/06 07:45
09/01/06 07:45
Joined: Nov 2005
Posts: 66
Spokane, WA, USA
Vonman Offline OP
Junior Member
Vonman  Offline OP
Junior Member

Joined: Nov 2005
Posts: 66
Spokane, WA, USA
No, I just made the terrain, added a skin and saved it. I did'nt know that changing the ambiance in MED would make a difference, i'll try that!!! :-D THX!

Re: Terrain Shadows - is it possible? [Re: Vonman] #88013
09/01/06 08:10
09/01/06 08:10
Joined: Nov 2005
Posts: 66
Spokane, WA, USA
Vonman Offline OP
Junior Member
Vonman  Offline OP
Junior Member

Joined: Nov 2005
Posts: 66
Spokane, WA, USA
WOW! It DID work! Thanks for the Tip! My project is gonna have some MEAN graphics when i'm done with it :-D

Re: Terrain Shadows - is it possible? [Re: Vonman] #88014
09/01/06 15:12
09/01/06 15:12
Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
Shaque Offline
Junior Member
Shaque  Offline
Junior Member

Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
It's my first day in this forum and I love to stick my nose in everything that has not yet been responded to, if I think that I may have a solution of course, because I had the same problem, but I'm sure you would have figured it out eventually as I did. I'm just a newbie, but I'm glad I could help.


Knowledge is a right, wisdom is a choice.
Re: Terrain Shadows - is it possible? [Re: Shaque] #88015
09/02/06 17:03
09/02/06 17:03
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
hi, i am cureently trying to get the wiki example
http://www.coniserver.net/wiki/index.php/Terrain_Shadowmapping
to work, but i have no success. i simply get a plain grey map. i'd be grateful if someone could post an example/a step-by-strep guide. thanks in advance.

ahm, damocles: i need exactly what you have, a shadow baker for all objects... any chance you could share it?

Re: Terrain Shadows - is it possible? [Re: broozar] #88016
09/02/06 19:32
09/02/06 19:32
Joined: Jun 2005
Posts: 656
G
Grafton Offline
User
Grafton  Offline
User
G

Joined: Jun 2005
Posts: 656
DaBro0zar, you might want to check out the shadow map creation utility I uploaded at Acknex resource site Here, sounds like it might be what you need.


Not two, not one.
Re: Terrain Shadows - is it possible? [Re: Grafton] #88017
09/03/06 06:53
09/03/06 06:53
Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
Shaque Offline
Junior Member
Shaque  Offline
Junior Member

Joined: Sep 2006
Posts: 94
Sunbury Victoria, AU
Well, I have not yet tried this, but how about you choose the angle of your sunlight over the terrain you created and leave the terrain a flat grey or white. Then switch the camera view from above and export the shadow.

It's just a thought...


Knowledge is a right, wisdom is a choice.
Page 2 of 3 1 2 3

Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1