Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 6 1 2 3 4 5 6
Re: Shadow for poor people [Re: Ralph] #150682
08/30/07 16:19
08/30/07 16:19
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline
Expert
Error014  Offline
Expert

Joined: Jul 2002
Posts: 3,208
Germany
EDIT: Whoops. Sorry Ralph, I didn't expect that you'd do exactly that. Well, I've removed the code for now. Rest assured though that deleting your code would be a great mistake, even with the code in this post - I'm sure that your code is more than the quick solution I threw together. I'm looking forward to your code, then.

Last edited by Error014; 08/30/07 19:16.
Re: Shadow for poor people [Re: Error014] #150683
08/30/07 17:06
08/30/07 17:06
Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Ralph Offline OP
Senior Member
Ralph  Offline OP
Senior Member

Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Thank you i try the same at this moment and now i can delet it because you post the code....

Ralph

Re: Shadow for poor people [Re: Ralph] #150684
08/30/07 19:07
08/30/07 19:07
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Nice contribution, thank you.

I would like to test it but I get an empty pointer error on "you" that I can't seem to solve.

Re: Shadow for poor people [Re: Ralph] #150685
09/12/07 22:31
09/12/07 22:31
Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Ralph Offline OP
Senior Member
Ralph  Offline OP
Senior Member

Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Soo da ich Heute keine Schule hatte, hab ich mich mal wieder rangesetzt und versucht den Schatten dynamischer zu machen und das Verhalten des Schattens echter zu machen also nicht nur als wenn die Lichtquelle über der Entity sitzt.
Ich hab aber noch ein paar kleine Probleme mit dem Winkel mal gucken vielleicht bekomm ich das ja bis zum Sonntag hin.
Hier mal ein Pic:

Wie gesagt der Winkel ist noch falsch und auch das Updaten des Schattens inGame funktioniert noch nicht so wie beim ersten Script genauso wie das das angleichen der Animation.

EDIT:
Achja das ganze läuft bis jetzt ohne Trace das wird wohl auch so bleiben außer bei der höhe später dann.

MFG Ralph

Last edited by Ralph; 09/12/07 22:35.
Re: Shadow for poor people [Re: Error014] #150686
09/13/07 20:47
09/13/07 20:47
Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Ralph Offline OP
Senior Member
Ralph  Offline OP
Senior Member

Joined: Feb 2006
Posts: 385
Oldenburg,Germany
So das mit dem Winkel hab ich hinbekommen.
Auch das animations abgleichen und refreshen.
Nur beim langziehen des Schattens wenn die Lichtquelle weiter weg ist will noch nicht so recht, aber hier erstmal ein neuer Screen.


Schreibt mal bitte ein paar Comments wie ihr ihn im mom so findet.
EDIT: Achja wenn der soweit fertig ist werd ich wohl mal ein Video uppen damit ihr den Schatten mal in Aktion sehen könnt...
MFG Ralph

Last edited by Ralph; 09/13/07 20:48.
Re: Shadow for poor people [Re: Ralph] #150687
09/13/07 22:14
09/13/07 22:14

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Sieht auf den Screens nicht schlecht aus.
Kann man evtl. die Schattentransparenz anpassen - so wirkt er wie ein harter Schlagschatten. Mit Transparenz kann man ihn evtl. etwas weicher machen?

mercuryus

Re: Shadow for poor people [Re: ] #150688
09/13/07 23:56
09/13/07 23:56
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sagmal, die lichtquelle, ist die statisch????

Re: Shadow for poor people [Re: sPlKe] #150689
09/14/07 04:26
09/14/07 04:26
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
wow ralph, really pro, actually, i'd like this one, how many lights does it support?


- aka Manslayer101
Re: Shadow for poor people [Re: mpdeveloper_B] #150690
09/14/07 05:34
09/14/07 05:34
Joined: Feb 2006
Posts: 385
Oldenburg,Germany
Ralph Offline OP
Senior Member
Ralph  Offline OP
Senior Member

Joined: Feb 2006
Posts: 385
Oldenburg,Germany
@ mercuryus
ja das kommt daher das die Lichquelle sehr nahe an der Entity ist wenn ich sie InGame weiter weg bewege wird der Schatten transparenter
die lightrange hat auch sehr viel damit zu tun...

@sPIKE
Da ich als Lichtquelle ein Model verwende und das refreshen auch so ziemlich funtktioniert ist sie wohl nicht statisch... oder was meinst du?
Also ich kann sie InGame verschieben und die Schatten werden dem entsprechend angepasst.

@ Manslayer101
Okay really pro.. no not really actually. At the moment it work only with one light, but i try it with more after i finished the shadow code.

MFG Ralph

Last edited by Ralph; 09/14/07 05:36.
Re: Shadow for poor people [Re: Ralph] #150691
09/14/07 05:51
09/14/07 05:51

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Ist auf jeden Fall besser als der non-stencil-Schatten der Engine und eine sehr schöne Arbeit!

mercuryus

Page 3 of 6 1 2 3 4 5 6

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | 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