Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, Quad), 903 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: some more questions [Re: tompo] #126394
05/01/07 12:45
05/01/07 12:45
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
^to be honest i lost you at grass. i know im a super noob. here ill just make a list of the questions left
1.how would i make my trees leaves cast a shadow?
2.are my objects not sopposed to cast a shadows on the terrain?
3.how do i block the blue form the skybox seens how its an island?
4.how would i make a sun?
i'll add to the list

Re: some more questions [Re: harleyb12] #126395
05/01/07 22:18
05/01/07 22:18
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
An easy sun would require going to WED's "Map Properties" option and clicking the "Sun" tab. Adjust the values to your likeness.

Your tree's leaves don't cast a shadow because (tell me if I'm wrong) you're using sprites. Make them models if you want them to cast "real" shadows.

A faker's way to do that with sprites is to paint your own shadow sprite and put it under the tree.

As for the sky issue, if you mean the blue engine background that blends with the sky (if there's one there), then I think you'll just have to find a workaround (like using a skysphere model that engulfs the entire level and then some).

For your "shadows on terrains" question, it's already been answered:
Quote:


yes, with stencil shadows.





Last edited by MrCode; 05/01/07 22:19.

Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: some more questions [Re: MrCode] #126396
05/01/07 22:32
05/01/07 22:32
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
when i say sun i mean like a circle in the sky. i already know about that sun.
and how do i use stencil shadows?

Re: some more questions [Re: harleyb12] #126397
05/02/07 01:24
05/02/07 01:24
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
1) create a sun sprite, then make use a "skillfully" made panel [such as in the lensflare effect.

2) var stencil_shadows = 1;


xXxGuitar511
- Programmer
Re: some more questions [Re: xXxGuitar511] #126398
05/02/07 23:43
05/02/07 23:43
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
how would i do number 2 in your list guitar?

Re: some more questions [Re: harleyb12] #126399
05/02/07 23:51
05/02/07 23:51
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
If your using the templates, then open Display00.wdl, find the line where it says:

var stencil_shadows = 0;

And then change it to a 1 [one].


xXxGuitar511
- Programmer
Re: some more questions [Re: harleyb12] #126400
05/08/07 17:23
05/08/07 17:23
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Rhuarc Offline
Expert
Rhuarc  Offline
Expert

Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Quote:

when i say sun i mean like a circle in the sky. i already know about that sun.




Ohhh... I thought you meant the SQUARE in the sky.....

-Rhuarc


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog
Re: some more questions [Re: Rhuarc] #126401
05/09/07 01:20
05/09/07 01:20
Joined: Sep 2006
Posts: 100
H
harleyb12 Offline OP
Member
harleyb12  Offline OP
Member
H

Joined: Sep 2006
Posts: 100
quote: An easy sun would require going to WED's "Map Properties" option and clicking the "Sun" tab. Adjust the values to your likeness.
i meant that i already knew how to make light come from the sky but not how to make the actuall sun. i didnt mean to be rude...

Page 2 of 2 1 2

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