Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TedMar, dr_panther), 1,049 guests, and 0 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 4 of 7 1 2 3 4 5 6 7
Re: Early Game Play Prototype [Re: lostclimate] #296415
10/31/09 18:19
10/31/09 18:19
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
Yes, but in this case the problem is, that
the tesselation does not work over modelboundaries.

If there would be a chance to "link" the objects (at the connection edges)
by code, the shading could be realized evenly.

Withou this, there will be visible seams
when using a moving dynamic light for example.

Re: Early Game Play Prototype [Re: Damocles_] #296431
10/31/09 19:14
10/31/09 19:14
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline OP
Serious User
indiGLOW  Offline OP
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
maybe in some way the geometry of the final parts could help to hide this, or some uniform tesselation size might make this less...obvious...

I've nearly finished simple UV for all the parts so I can give them a simple texture bake, theres no real point optimizing the uv at this stage as the geom is not essential. Still I thought it was worth doing so that we can get a real look at lighting issues...

I will get a handful of them into the engine by brute force just to have a look...


The Art of Conversation is dead : Discuss
Re: Early Game Play Prototype [Re: indiGLOW] #296480
11/01/09 03:07
11/01/09 03:07
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline OP
Serious User
indiGLOW  Offline OP
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
I've nearly finished exporting all the parts, but I couldn't resist experimenting with the parts that I have done already and this is what came out:



Here's a shot, again from WED, of some of the other parts.



I am exporting all the door parts now, but I will need to revisit this entire process once I have a better idea of naming conventions.

For now I just want to get all the parts exported and ready to use...

TIA for any comments laugh


The Art of Conversation is dead : Discuss
Re: Early Game Play Prototype [Re: indiGLOW] #296583
11/01/09 21:35
11/01/09 21:35
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
it might have been smart to render the ao with a temporary piece at the each connection edge because now the ao fades in and out at the connections...

Re: Early Game Play Prototype [Re: lostclimate] #296586
11/01/09 22:04
11/01/09 22:04
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
I think SSAO would be a well working solution in this case...
(damn, that reminds me that I´ve to prepare a presentation about SSAO for English until Tuesday frown )

Re: Early Game Play Prototype [Re: Hummel] #296591
11/01/09 22:20
11/01/09 22:20
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline OP
Serious User
indiGLOW  Offline OP
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
Thanks guys. TBH Lostclimate I just texture baked each part quickly so that I had some form of shading on each part so I could see it clearly for testing.

Once I have a good working map with these parts I can return to think about how the final parts will be exported. I did some earlier experiments with this method and had 2-3 parts with normal mapping and specular maps, which seemed to help the lighting issues, however its clear that the individual parts approach doesn't help the dynamic lighting system.

Hopefully I can get some parts with all the shaders working and see how the lighting looks. Right now its pretty ugly grin

Now that I have all the parts as models which I've now reduced to 16mx16mx6m as the original size was way too big, I should be able to creat a map that uses all the parts.

Each part has a 1024x1024 map assigned to give me an idea of how much memory this is going to use and then figure out a way to dynamically load the parts as the players move through...

I should be able to build a live 3x3 grid and load in the other parts as the player explores...so it should also give me the fog-of-war for parts that have not been explored yet.

As always I am getting ahead of myself...


The Art of Conversation is dead : Discuss
Re: Early Game Play Prototype [Re: indiGLOW] #296597
11/01/09 22:50
11/01/09 22:50
Joined: Apr 2008
Posts: 2,488
ratchet Offline
Expert
ratchet  Offline
Expert

Joined: Apr 2008
Posts: 2,488
Great progress !

Another idea, could be connected rooms , when you ente'r a door , you enter a new very little tiled dungeon part with doors also : like Zelda on Nes , but with some more rooms visible at same time.


Keep up the work laugh !

Re: Early Game Play Prototype [Re: indiGLOW] #296598
11/01/09 22:52
11/01/09 22:52
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline OP
Serious User
indiGLOW  Offline OP
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
Here we can see the beasty raising its head even with normal/spec shader on the section..



The sections are both lit by the dynamic light for the telepath attack, but as suggested earlier, its made a real pigs ear of that...

Any ideas? Or does this route kill the use of dynamic lights?

TIA for any suggestions...


The Art of Conversation is dead : Discuss
Re: Early Game Play Prototype [Re: indiGLOW] #296601
11/01/09 23:06
11/01/09 23:06
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
I don´t know what shader you are using, but you can try to create a copy of it, which will be used for the big parts only and place the following line into pass (probably more than one) of the shaders technique to disable gouraud shading and to enable flat shading for it:
ShadeMode = Flat;

So that it should look somehow like this:
Code:
technique SpecularNormalMapping_20
{
    pass P0
    {
ShadeMode = Flat;
    	 alphablendenable=false;
   	 srcblend=zero;
		 zWriteEnable = true;
       alphaTestEnable = true;
        // compile shaders
        VertexShader = compile vs_2_0 VS_PASS0();
        PixelShader  = compile ps_2_0 PS_PASS0();
    }
   
    pass P1
    {
ShadeMode = Flat;
    	 //blend second pass additively with first 
    	 alphablendenable=true;
   	 srcblend=one;
    	 destblend=one;
		 zWriteEnable = true;
       alphaTestEnable = true;
    	 
       // compile shaders
       VertexShader = compile vs_2_0 VS_PASS1();
       PixelShader  = compile ps_2_0 PS_PASS1();
    } 
    
    pass P2
    {
ShadeMode = Flat;
    	 //blend second pass additively with first and second 
    	 alphablendenable=true;
   	 srcblend=one;
    	 destblend=one;
    	 zWriteEnable = true;
       alphaTestEnable = true;
    	 
    	 
       // compile shaders
       VertexShader = compile vs_2_0 VS_PASS2();
       PixelShader  = compile ps_2_0 PS_PASS2();
    } 
}



(sry, for the ugly formatting, I just copied it from the wiki and pasted that line...)

Re: Early Game Play Prototype [Re: Slin] #296603
11/01/09 23:12
11/01/09 23:12
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline OP
Serious User
indiGLOW  Offline OP
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
You know I am so out of my depth with shaders laugh most of what you just wrote shot right over my head...

I think I should revisit the wiki and take a look at the shaders, i've somewhat pickled this one and no idea where it came from in the first place.

Thanks Slin

EDIT: Ok it is that shader from the wiki... trying to figure out what I have to change. Thanks for the pointers, I will let you know how I get on laugh

EDIT2: I have made these changes but the lighting issue still remains.?!?

Last edited by indiGLOW; 11/01/09 23:21.

The Art of Conversation is dead : Discuss
Page 4 of 7 1 2 3 4 5 6 7

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