Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Joey, flink, AndrewAMD, ozgur, Ayumi), 1,195 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Shadow Mapping Issue - External Objects #170687
12/02/07 19:51
12/02/07 19:51
Joined: Nov 2007
Posts: 4
R
RichardGP Offline OP
Guest
RichardGP  Offline OP
Guest
R

Joined: Nov 2007
Posts: 4
Hello everybody

Is there a way to make the GS apply shadow mapping to an imported 3D model??

Kind regards

Re: Shadow Mapping Issue - External Objects [Re: RichardGP] #170688
12/03/07 15:21
12/03/07 15:21
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
You can use stencil shadows. Just check if the shadow flag is set an set shadow_stencil = on;
But there are also Shaders which do a very good realtime softshadowmapping. I think Wetain is writing such a shader.

Dark_Samurai

Last edited by Dark_samurai; 12/03/07 15:27.

ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Shadow Mapping Issue - External Objects [Re: Dark_samurai] #170689
12/03/07 20:49
12/03/07 20:49
Joined: Nov 2007
Posts: 4
R
RichardGP Offline OP
Guest
RichardGP  Offline OP
Guest
R

Joined: Nov 2007
Posts: 4
Thanks for your help Dark Samurai, but I still have doubts about it.

First of all, I've tested this shadow flag (shadow_stencil) but it did not work. I think that this kind of shadow flag doesn't really work to imported object, I mean, it supposes to work just to 3D models created into 3DGS Model Editor. Wht do you think?

In another hand I was wondering if have you an url to download that (softshadowmapping)?

Thanks so much for such help.

RichardGP

Re: Shadow Mapping Issue - External Objects [Re: RichardGP] #170690
12/03/07 22:22
12/03/07 22:22
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Maybe, you think of shadow baking?

If so, the Model Editor can't do that.

In game, you get vertex shading and stencil shadow.

Are you talking about dynamic shadow and a moving and animated model, or, about an environmental model, and does a baked shadow the job? Because for not moving baked shadow there is a plugin available.

Re: Shadow Mapping Issue - External Objects [Re: Pappenheimer] #170691
12/04/07 00:02
12/04/07 00:02
Joined: Nov 2007
Posts: 4
R
RichardGP Offline OP
Guest
RichardGP  Offline OP
Guest
R

Joined: Nov 2007
Posts: 4
Hi Pappenheimer.

Yes I'm talking about a dynamic shadow to moving and animated models (as a character and animated trees), so i'm glad about the plugin but I dont thing that it will helps me, you know ...

Well, I've never ever heard about "shadow baking" before. In fact, it sounds like a precomputed alpha-images which are pre located in the scene. If so, it is not useful, because, as I said, I want know if 3DGS is able to do soft shadow mapping to any kind of 3D models and not only to those which come from the Model Editor.

I think that it is a important feature to a engine as 3DGS as well, and I can not see 3DGS without it.

At this point Im really concerned about it, because, the new generation games need to understand the shadows dynamicly and created a visible difference between a completely black shadow and a smooth one.

I'm sure that there is a solution and I still asking you guys about it!

Thanks a lot

RichardGP

Last edited by RichardGP; 12/04/07 00:03.
Re: Shadow Mapping Issue - External Objects [Re: RichardGP] #170692
12/04/07 05:16
12/04/07 05:16
Joined: Aug 2007
Posts: 17
S
sCKan Offline
Newbie
sCKan  Offline
Newbie
S

Joined: Aug 2007
Posts: 17
i have a shader to make soft shadows for any 3dobject in scene but it doesnt work for animated models


Web Master
Re: Shadow Mapping Issue - External Objects [Re: sCKan] #170693
12/04/07 08:23
12/04/07 08:23
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Machinery_Frank Offline
Senior Expert
Machinery_Frank  Offline
Senior Expert

Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
RichardGP. I understand your desire.

But currently 3DGS does not have such soft real-time shader. Conitec works on a solution and there is already a first set of shadow-shaders in a beta version. Some users also made similar shadow-shaders but they also do work only in beta versions of the engine because of new exposed post-processing features.

So we have to wait for a christmas present or for 2008. Nobody knows it.


Models, Textures and Games from Dexsoft
Re: Shadow Mapping Issue - External Objects [Re: Machinery_Frank] #170694
12/04/07 13:46
12/04/07 13:46
Joined: Nov 2007
Posts: 4
R
RichardGP Offline OP
Guest
RichardGP  Offline OP
Guest
R

Joined: Nov 2007
Posts: 4
Hi guys!

Thanks for your answers!

sCKan, can you send me the url of this shader, even it doesn`t solve the problem to animated models, I believe that it could be useful

Frank, thanks! I really understand that point and I'm gonna wait my "Christmas Gift" ----- Thanks a lot

Well I still here and I will continue sending updates about this point.

Thanks a lot!

RichardGP

Re: Shadow Mapping Issue - External Objects [Re: RichardGP] #170695
12/04/07 16:55
12/04/07 16:55
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
This is what you need, but it hadn't been released up to now:
http://www.coniserver.net/ubbthreads/sho...e=0&fpart=1
As I said, it's developed by Wetain and looks very promissing. It should also work with A6, but it's not that easy to use like with the new A7 Beta.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version

Moderated by  Blink, Hummel, Superku 

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