Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 672 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 259 of 554 1 2 257 258 259 260 261 553 554
Re: What are you working on? [Re: Rackscha] #416853
02/05/13 14:12
02/05/13 14:12
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
yes it's just a heightvalue and some math grin

I made it like this because I have no idea how I could write this as an objectshader smirk

But I'm still having some very little artifacts I'd like to fix.


POTATO-MAN saves the day! - Random
Re: What are you working on? [Re: Kartoffel] #416875
02/05/13 15:24
02/05/13 15:24
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
It looks good but is also very slow on my machine. I wonder if you are clipping pixels if they are not on the water plane and/or not visible? Because if I look against in the middle of the scene along the XY-plane, I get no fps increase (it stays the same).

To turn that into an object shader you would have to render the scene like usual in the camera-view but without the water-plane. And in a second, staged view you would render only the water plane and turn NOSKY on. By this the z-Buffer won'tz be cleared and the plane gets clipped against the z-Buffer of the camera view. With TargetMap you can then access the previous rendering result.

Re: What are you working on? [Re: HeelX] #416877
02/05/13 15:36
02/05/13 15:36
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Thanks for the information HeelX.
Yes I am clipping the not-affected pixels and yes the shader is slow but I'm pretty sure that this isn't caused by the watershader because it 'just' uses some clever math, but nothing too complex.

I think it's the complex & inefficient objectshader I'm using there and the textures because they don't have mipmaps.

EDIT: I just tested it, in the worst case the textures and the specular lighting reduce the framerate by 50% (~120 fps)

Last edited by Kartoffel; 02/05/13 15:49.

POTATO-MAN saves the day! - Random
Re: What are you working on? [Re: Kartoffel] #416894
02/05/13 18:04
02/05/13 18:04
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Originally Posted By: Kartoffel
I just tested it, in the worst case the textures and the specular lighting reduce the framerate by 50% (~120 fps)
On my machine which is rather fast, I got only 15 fps!

Re: What are you working on? [Re: HeelX] #416895
02/05/13 18:14
02/05/13 18:14
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
thats weird...


POTATO-MAN saves the day! - Random
Re: What are you working on? [Re: Kartoffel] #416902
02/05/13 20:31
02/05/13 20:31
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Originally Posted By: Kartoffel
thats weird...
I know! smile

Re: What are you working on? [Re: HeelX] #416930
02/06/13 00:52
02/06/13 00:52
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
First version of my street creator.
You can't edit the street curve but that will be the easier part i think wink
I will support also rivers carved in terrains.


Visit my site: www.masterq32.de
Re: What are you working on? [Re: MasterQ32] #416931
02/06/13 00:59
02/06/13 00:59
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
@Kartoffel: Just tested your pp water demo, surprisingly the water isn't visible at all on my machine/ 5870. I can see the rather nice material on the curtains and the two colored lights but no water.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: What are you working on? [Re: Superku] #416935
02/06/13 05:35
02/06/13 05:35
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
You need to use the ctrl and shift key to change waterheight.

Re: What are you working on? [Re: Ch40zzC0d3r] #416936
02/06/13 05:42
02/06/13 05:42
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
@MasterQ32
Will u release this wonderfull tool into the wild ?


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Page 259 of 554 1 2 257 258 259 260 261 553 554

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