2 registered members (7th_zorro, dr_panther),
1,211
guests, and 1
spider. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: What are you working on?
[Re: ventilator]
#394492
02/13/12 18:43
02/13/12 18:43
|
Joined: Apr 2005
Posts: 3,076 Germany, NRW
rvL_eXile
3D Artist
|
3D Artist
Joined: Apr 2005
Posts: 3,076
Germany, NRW
|
Also you could bake the AO / LM into an second UV Layer...
Tutorials: [Blender]Terrain creation ENG/GER [Blender]Low Poly Tree Modeling [GIMP]Create a Texture for Terrains CLICK HERE
|
|
|
Re: What are you working on?
[Re: rvL_eXile]
#394500
02/13/12 21:31
02/13/12 21:31
|
Joined: Mar 2006
Posts: 2,252
Hummel
Expert
|
Expert
Joined: Mar 2006
Posts: 2,252
|
Managed to build a relatively fast (as fast a the hexagonal filter of same size) separable disc shaped filter. I put a small demo together showing the hex and disc filter in action: Demo DownloadThe different kernels of the filter passes: It requires one more pass with one more sample than the hex version to blur out the resulting pattern, but the hex filter requires one additional RT.
Last edited by Hummel; 02/14/12 00:02.
|
|
|
Re: What are you working on?
[Re: HeelX]
#394507
02/13/12 22:11
02/13/12 22:11
|
Joined: Mar 2006
Posts: 2,252
Hummel
Expert
|
Expert
Joined: Mar 2006
Posts: 2,252
|
This is sort of a Bokeh filter, right? Actually, Bokeh is just the result of blurring image parts with high brightness contrast using the right kind of filter kernel (f.i. disc or hex, gaussian wont work->too soft). HDR DoF is the usual application. Building larger kernels isn´t such a prob with the hex filter since it has linear complexity. Adding additional passes with the right sampling offsets can give you quite a large radius. But I´m not sure in how far this works well for the disk kernel. A common technique is to render sprites to achieve the bokeh effect where it is necessary. This way you can have quite large, arbitrarily formed results.
|
|
|
Re: What are you working on?
[Re: Hummel]
#394509
02/13/12 22:54
02/13/12 22:54
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
I wondered, because corresponding to your original image (the 2px particles), there is no blurry mish-mash like with regular gauss- or box-blurs. I'm just asking, because in the long run I'm looking for better and faster alternative to blur my SSAO images, the better if the kernel is dynamically sizeable I think I have a run at the moment; instead of playing Skyrim I coded a contour tracing and region segmentation algorithm in Lite-C. Even though I didn't fought against dragons and took some Skoma, it was quiet fun, too: The changing color in the contour image indicates the order of contour points, stored in a linked list. It can handle degenerated cases, too (1px lines).
Last edited by HeelX; 02/13/12 22:55.
|
|
|
Re: What are you working on?
[Re: Hummel]
#394540
02/14/12 06:03
02/14/12 06:03
|
Joined: Aug 2002
Posts: 2,183 Germany, BaW�
Rondidon
Expert
|
Expert
Joined: Aug 2002
Posts: 2,183
Germany, BaW�
|
@Hummel: That`s amazing. (Very nice particle effect, too) Finally exported a first version of my new level to Gamestudio. Still a WIP. Some sprite trees in the background have to be replaced, normal mapping on the stones is missing and the water needs some color adjustments and a better coastmap. + HDR / no PSSM + HDR / no PSSM + HDR / + PSSM + HDR / + PSSM + HDR / + PSSM (Problems with grass ) no HDR / no PSSM
|
|
|
Re: What are you working on?
[Re: Rondidon]
#394548
02/14/12 09:03
02/14/12 09:03
|
Joined: Apr 2008
Posts: 2,488
ratchet
OP
Expert
|
OP
Expert
Joined: Apr 2008
Posts: 2,488
|
@Rondidon : you are becoming a great level designer and creator HDR + PPSM looks great ! The trees shadows are done from where ? it is shadow on trees, texture projector or some other shader ?
|
|
|
Re: What are you working on?
[Re: ratchet]
#394550
02/14/12 09:16
02/14/12 09:16
|
Joined: Aug 2002
Posts: 2,183 Germany, BaW�
Rondidon
Expert
|
Expert
Joined: Aug 2002
Posts: 2,183
Germany, BaW�
|
The trees are split into two different meshes. The leaves are animated and use an alpha test material and the trunks are the standard gouraud-shaded "mat_model" material with a custom ambient lighting formula. There`s nothing special about it . For the future I`m planning to use some normalmapping. you are becoming a great level designer and creator laugh Thanks a lot. I`m glad you like it.
|
|
|
Re: What are you working on?
[Re: Rondidon]
#394551
02/14/12 09:22
02/14/12 09:22
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
What applications do you have in mind for your shown algorithm? I am going to extraxt pixels from a map that belong to harbour areas and auto-generate meshes for it. After getting to know these pixels, the next logical step to take is to get to know how many regions the binary image has and what contours each region has. Then, I'll filter the contours and place walls at the water-sides of the harbour areas and generate meshes for the floor parts. Finally exported a first version of my new level to Gamestudio. This looks really cool, is this a portfolio project or work for a client?
|
|
|
|