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
Rating: 5
Page 7 of 8 1 2 3 4 5 6 7 8
Re: EOF 3D - 3D Engine in One File [Re: Ambassador] #104148
05/18/07 08:30
05/18/07 08:30
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
well all the more reason to finish that engine

Re: EOF 3D - 3D Engine in One File [Re: lostclimate] #104149
05/18/07 20:01
05/18/07 20:01
Joined: Jul 2004
Posts: 1,924
Finland
Ambassador Offline OP
Serious User
Ambassador  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,924
Finland
oh well , don't like making art though

anyway, got basic physics/collision working =D

Re: EOF 3D - 3D Engine in One File [Re: Ambassador] #104150
05/21/07 13:48
05/21/07 13:48
Joined: Jul 2004
Posts: 1,924
Finland
Ambassador Offline OP
Serious User
Ambassador  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,924
Finland
Just a quick update: physics and collision are now implemented, though they still need some work. If somebody is interested about the collision library: I'm using ODE atm.

Here is a little shot with 1000 spheres (more spheres...), all physics and collision enabled:



Re: EOF 3D - bloom implemented [Re: Ambassador] #104151
05/26/07 12:37
05/26/07 12:37
Joined: Jul 2004
Posts: 1,924
Finland
Ambassador Offline OP
Serious User
Ambassador  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,924
Finland
Inestical seems to have wan the bloom battle. Oh well, I was only a day late . Anyway here is EOF3D built-in bloom:




The bloom works in the following way: the scene is first down sampled to 256x256 (faster to blur a smaller image), then it is blurred vertically and then horizonally, and finally the original scene and the blur is combined with the following equation: pixel = original+blur*blur

Fairly easy eh? At the start I was having some serious problems with render to textures (basically they didn't render to texture) but then I noticed that I had made a funny mistake and used the wrong function for rendering to textures. Actually I had always thought that the function that I used before noticing my mistake was the correct function, but that function was probably meant for uninitialized textures. I was using a initialized one. Oh well, now it works, and that's the main thing .

Re: EOF 3D - bloom implemented [Re: Ambassador] #104152
05/26/07 18:17
05/26/07 18:17
Joined: May 2002
Posts: 2,541
Berlin
EX Citer Offline
Expert
EX Citer  Offline
Expert

Joined: May 2002
Posts: 2,541
Berlin
Hmmm... strange. If you added the blurred picture why there are dark seams around the balls? By adding everything should only get brighter, not more dark.


:L
Re: EOF 3D - bloom implemented [Re: EX Citer] #104153
05/26/07 18:39
05/26/07 18:39
Joined: Jul 2004
Posts: 1,924
Finland
Ambassador Offline OP
Serious User
Ambassador  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,924
Finland
Quote:

Hmmm... strange. If you added the blurred picture why there are dark seams around the balls? By adding everything should only get brighter, not more dark.




I was wondering about that also, but the explanation is pretty simple: when the blur passes are ran, they are ran for the whole scene, that is, for the black parts also. So this creates a "black border" around the balls which is then added to the final result. The catch is here: the area surrounding the border is brighter than the black border itself, so at the black border area, less color gets added, and on the bright area, more color gets in.

Re: EOF 3D - improved bloom [Re: Ambassador] #104154
05/27/07 11:35
05/27/07 11:35
Joined: Jul 2004
Posts: 1,924
Finland
Ambassador Offline OP
Serious User
Ambassador  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,924
Finland
Here it comes! Bloom improved.



Current bloom pipeline:
- Downscale scene and run a high pass to detect high intensities
- Blur downscaled and downscale to half
- Blur downscaled and downscale to half
- Blur downscaled
- Combine the original and the 3 downscaled blurs

Re: EOF 3D - improved bloom [Re: Ambassador] #104155
05/27/07 12:09
05/27/07 12:09
Joined: Jan 2007
Posts: 1,565
innsbruck, austria
achaziel Offline
Serious User
achaziel  Offline
Serious User

Joined: Jan 2007
Posts: 1,565
innsbruck, austria
woooo, nice


Yeah, but... Who is Lu?
Re: EOF 3D - improved bloom [Re: achaziel] #104156
05/27/07 13:02
05/27/07 13:02
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
pluuuum! yesssss! really, i like it.

Re: EOF 3D - improved bloom [Re: broozar] #104157
05/28/07 12:47
05/28/07 12:47
Joined: Aug 2004
Posts: 2,215
I
ISG Offline

Expert
ISG  Offline

Expert
I

Joined: Aug 2004
Posts: 2,215
What kind of framerates are you getting with your physics and collision enabled spheres WITH Bloom?

Just curious.


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE
Page 7 of 8 1 2 3 4 5 6 7 8

Moderated by  aztec, Blink, HeelX 

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