Gamestudio Links
Zorro Links
Newest Posts
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (EW_bytes), 15,961 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Faking Model Shadow on blocks #113828
02/25/07 22:47
02/25/07 22:47
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
This demo is a bit older.

It is a recorded flythough.
I basically faked some shadows of models using invisible blocks,
as placeholders for Models.
The blocks cast a shadow instead of the model.

But this way, models in a level (larger static models)
Fit better into the scene, than just placing them without a
shadow, or a stencil shadow.


_camera_record.zip



Re: Faking Model Shadow on blocks [Re: Damocles] #113829
02/25/07 23:31
02/25/07 23:31
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Great to see this!

But, I'm not sure wether I understood you right.
The casted shadow is on level geometry, right?
But, your level geometry looks as if it had a shader applied?

Re: Faking Model Shadow on blocks [Re: Pappenheimer] #113830
02/25/07 23:35
02/25/07 23:35
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
There is no shader.

I have use 2 of Frank_G ´s SiFi Textures, and added some
Bumpmaps and shiningeffekts on the Texture (done in Gimp, it only in the Texture)

The Shadow is casted by invisible blocks, that have a similar shape as the
Models (the modles are quite simple)

The Models are also lid by dynamic light, that is placed at the same place
as the light for the Levelgeometry.

The basic concept is to create dynamical looking
levels only using the "basic" methods without shaders.
This way the levels are rendered quite fast and compatable.
SO you can still create a great looking level with the "old" methods.

Re: Faking Model Shadow on blocks [Re: Damocles] #113831
02/25/07 23:47
02/25/07 23:47
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
..and, because of the static shadow the switching off and on of dynamic lights - as far as they are more than 8 - shouldn't be noticable! Good combination!

I use blocks with textures with the none-flag to simulate shadows of sprite in my levels, too.

Re: Faking Model Shadow on blocks [Re: Damocles] #113832
02/25/07 23:47
02/25/07 23:47
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Well you got me fooled there, I really thought you were using shaders. Only when you approached one of those round things on the floor I thought hey shouldn't that have a parallax mapping effect to it if this is Sphere lol!

Nice job, it looks really nice, I'd say you've proven your point ,

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Faking Model Shadow on blocks [Re: Damocles] #113833
02/25/07 23:49
02/25/07 23:49

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Yeah that's looking good (I'm amazed it's no shader!)
I've used this method lately with an outdoor level.
Unfortunately it works only on blocks not on terrains/models

mercuryus

Re: Faking Model Shadow on blocks [Re: ] #113834
02/25/07 23:53
02/25/07 23:53
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
Thats why I also made a shadowmapper for the terrain.

A basic mehtod would be to just paint the shadow onto the terrain.
But you actually need a multitexture shader for the terrain then.
(in case you want more than just the detail texture and the shadow)




Re: Faking Model Shadow on blocks [Re: Damocles] #113835
02/26/07 00:03
02/26/07 00:03
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
Light and Shadow are actually more important than textures to the scene.
So working on this part will yield grater results than just focussing on the
quality of the textures.

And not every game needs dynamic shadows. Especially not if there are no moving
lightsources that are essetial for the gameplay.

Re: Faking Model Shadow on blocks [Re: Damocles] #113836
02/26/07 00:23
02/26/07 00:23
Joined: Apr 2004
Posts: 431
Chile
A
Andvari Offline
Senior Member
Andvari  Offline
Senior Member
A

Joined: Apr 2004
Posts: 431
Chile
Woah, nice trees damocles, and nice shadows too


Need custom 3d modelling, rigging or animations? check my portfolio at http://www.lowpolyarts.com
Re: Faking Model Shadow on blocks [Re: Damocles] #113837
02/26/07 01:18
02/26/07 01:18
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
im doing this for years. i allways thougth thats the comon way to do this stuff?

Page 1 of 2 1 2

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