Papervision QuadTree Support

View: New views
5 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: Papervision QuadTree Support

by Andy Zupko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh yes, i forgot to mention.  Gouraud and Phong filters won't work with the QuadRenderEngine.  The shaders current implementation will have to be  redone a little to get it to work.  Hopefully we can get it figured out in the next few weeks.

-andy


On Oct 14, 2008, at 7:52 PM, John Brookes wrote:

I make it break
http://www.shrewballooba.co.uk/pv/hop/nothingset.jpg
When it first loads I get the above, press R twice and it works.
The material is a gourada material with primitive sphere body and the rest DAE if that's any help.

Tried it in another script with ALLFILTERS got same effect.

tis a bit of a cpu hog (badum tish)


2008/10/14 Loockas <loockas@...>

Great job as always Andy, I couldn't wait for this any more! :)

However, is it me or the InteractiveScene3D events stopped responding?

Andy Zupko wrote:
>
> Hey All -
>
> I've update the SVN (754) with QuadTree support.  Yes, this is
> corrective z-sorting.  You can read up on it here:
> http://blog.papervision3d.org/2008/10/14/papervision-quadtree-support/
> , and get a more thorough walkthrough and some demos here:
> http://blog.zupko.info/?p=177
>
> Report any bugs that might have been created, as there were a fair
> number of revisions to the code base to get things running faster and
> to get this functionality integrated.
>
> enjoy!
>
> -Andy
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>


-----
Łukasz Raszyk

http://devblog.toras.pl http://devblog.toras.pl
--
View this message in context: http://www.nabble.com/Papervision-QuadTree-Support-tp19966840p19982781.html
Sent from the Papervision3D mailing list archive at Nabble.com.


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Papervision QuadTree Support

by Andy Zupko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have just committed a fix for ISM with QuadTree.  let me know if you  
still have problems.


On Oct 14, 2008, at 4:40 PM, Loockas wrote:

>
> Great job as always Andy, I couldn't wait for this any more! :)
>
> However, is it me or the InteractiveScene3D events stopped responding?
>
> Andy Zupko wrote:
>>
>> Hey All -
>>
>> I've update the SVN (754) with QuadTree support.  Yes, this is
>> corrective z-sorting.  You can read up on it here:
>> http://blog.papervision3d.org/2008/10/14/papervision-quadtree- 
>> support/
>> , and get a more thorough walkthrough and some demos here:
>> http://blog.zupko.info/?p=177
>>
>> Report any bugs that might have been created, as there were a fair
>> number of revisions to the code base to get things running faster and
>> to get this functionality integrated.
>>
>> enjoy!
>>
>> -Andy
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D@...
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>
>
> -----
> Łukasz Raszyk
>
> http://devblog.toras.pl http://devblog.toras.pl
> --
> View this message in context: http://www.nabble.com/Papervision-QuadTree-Support-tp19966840p19982781.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Papervision QuadTree Support

by Loockas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Andy, it works great! Now I'll be waiting for the shader fix ;)
Andy Zupko wrote:
I have just committed a fix for ISM with QuadTree.  let me know if you  
still have problems.


On Oct 14, 2008, at 4:40 PM, Loockas wrote:

>
> Great job as always Andy, I couldn't wait for this any more! :)
>
> However, is it me or the InteractiveScene3D events stopped responding?
>
> Andy Zupko wrote:
>>
>> Hey All -
>>
>> I've update the SVN (754) with QuadTree support.  Yes, this is
>> corrective z-sorting.  You can read up on it here:
>> http://blog.papervision3d.org/2008/10/14/papervision-quadtree- 
>> support/
>> , and get a more thorough walkthrough and some demos here:
>> http://blog.zupko.info/?p=177
>>
>> Report any bugs that might have been created, as there were a fair
>> number of revisions to the code base to get things running faster and
>> to get this functionality integrated.
>>
>> enjoy!
>>
>> -Andy
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D@osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>
>
> -----
> Łukasz Raszyk
>
> http://devblog.toras.pl http://devblog.toras.pl
> --
> View this message in context: http://www.nabble.com/Papervision-QuadTree-Support-tp19966840p19982781.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
Papervision3D@osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Papervision QuadTree Support

by Carl Gloria :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So Very Sweeeeeeeeeet!

Should I be able to integrate with viewport layers and render layers? Like render only certain layers with a certain render engine, then other layers with another rendererererer (wow thats fun to say) I'm gonna experiment either way, but like all of you, time is of the essence....

Andy Zupko wrote:
Hey All -
s
I've update the SVN (754) with QuadTree support.  Yes, this is  
corrective z-sorting.  You can read up on it here: http://blog.papervision3d.org/2008/10/14/papervision-quadtree-support/ 
, and get a more thorough walkthrough and some demos here: http://blog.zupko.info/?p=177

Report any bugs that might have been created, as there were a fair  
number of revisions to the code base to get things running faster and  
to get this functionality integrated.

enjoy!

-Andy

_______________________________________________
Papervision3D mailing list
Papervision3D@osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Carl Gloria - 2livelarge.com - cgvelocity.com

Maya, Flash and Papervision - no particular order, just love them all!

Re: Papervision QuadTree Support

by Andy Zupko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unfortunately layers are not supported at the moment.  They wouldn't be
terribly hard to integrate, but there would be a performance hit for
general quadtree use that i feel is more than necessary for those not using
layers, esp. since quadtree removes one of the main purposes of layers.

IF you are interested in using VPLs in quadtree however, you will need to
make a change in QuadTreeNode.as.

In rev. 755, on line 276, replace:

pri.render(renderSessionData, graphics);

with

var vpl:ViewportLayer = renderSessionData.viewPort.accessLayerFor(pri,
true);
pri.render(renderSessionData, vpl.graphicsChannel);
vpl.processRenderItem(pri);

This *should* render to ViewportLayers, although i haven't tried it... but
give it a shot :)

If you do this, i would recommend setting testQuad to false on objects that
don't need it - this will save some time if you are utilizing the VPLs.

hth.

-andy



On Thu, 16 Oct 2008 16:26:59 -0700 (PDT), Carl Gloria <carl@...>
wrote:
>
> So Very Sweeeeeeeeeet!
>
> Should I be able to integrate with viewport layers and render layers?
Like
> render only certain layers with a certain render engine, then other
layers

> with another rendererererer (wow thats fun to say) I'm gonna experiment
> either way, but like all of you, time is of the essence....
>
>
> Andy Zupko wrote:
>>
>> Hey All -
>> s
>> I've update the SVN (754) with QuadTree support.  Yes, this is
>> corrective z-sorting.  You can read up on it here:
>> http://blog.papervision3d.org/2008/10/14/papervision-quadtree-support/
>> , and get a more thorough walkthrough and some demos here:
>> http://blog.zupko.info/?p=177
>>
>> Report any bugs that might have been created, as there were a fair
>> number of revisions to the code base to get things running faster and
>> to get this functionality integrated.
>>
>> enjoy!
>>
>> -Andy
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D@...
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>
>
> -----
> Carl Gloria - 2livelarge.com - cgvelocity.com
>
> Maya, Flash and Papervision - no particular order, just love them all!
> --
> View this message in context:
>
http://www.nabble.com/Papervision-QuadTree-Support-tp19966840p20019758.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
< Prev | 1 - 2 | Next >