[GSoC 2012] Off-Screen Particles project - continuation

Threads related to Google Summer of Code
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Re: [GSoC 2012] Off-Screen Particles project - Failed

Post by syedhs »

Looks like the project is confirmed dead...
A willow deeply scarred, somebody's broken heart
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me
Karol Badowski 1989
Google Summer of Code Student
Google Summer of Code Student
Posts: 185
Joined: Fri Apr 06, 2012 3:04 pm
x 18

Re: [GSoC 2012] Off-Screen Particles project - continuation

Post by Karol Badowski 1989 »

I'd like to send this message after that pronounced update is ready and working. This is the hardest change in project (even if final change effect will be visible only in one place between 2 passes), but most important one, because gives the highest acceleration.

After exam session that is comming up in end of january I'll have time for project again. I really hope I'll finally be able to finish replacing current stenciling to hardware one in main project that week. However I really would like to say it after it is really done and working without mistakes, not before it is done.

Configuration of stencil buffer flagues to set is ready, also tets of this is done on entire objects rendering (however here it needs towork only selectively - that is the hard nut to crack). It still needs to be active only in two moments (just before and just after "discard" operation - and this is the thing that most likely needs material swap or render group swap in listener that will recognise specific passes by their identificators).
My biggest concern is whether "discard" operation really will turn out to work (that means - do not activate change of stencil buffer bits for discarded pixels). I can see if it really brings supposed effect after I manage to finish preparing it.

Hardware stenciling works simply in simple OpenGL programs - I am only 85% sure that there would be expected effect here. If not ' Ill continue looking for other solution how to use this technique.
Google Summer of Code 2012 Student
Topic: "Implementation of Off-Screen Particles"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman
Karol Badowski 1989
Google Summer of Code Student
Google Summer of Code Student
Posts: 185
Joined: Fri Apr 06, 2012 3:04 pm
x 18

Re: [GSoC 2012] Off-Screen Particles project - continuation

Post by Karol Badowski 1989 »

I've started revisioning material (by creating documentation) - to refresh everything and prepare for next update.

Today I've started with creating presentation - I'll translate it to English language version
(this link will be substituted)
: Off Screen Particles: description of rendering order

I'll update this post with new links as new documents are ready.


http://http.developer.nvidia.com/GPUGem ... _ch23.html confirms now clearly that discard operation will help me avoid stencil writes even if PS for specified pixel was accessed (so mentioned solution should be working properly).
Google Summer of Code 2012 Student
Topic: "Implementation of Off-Screen Particles"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman