[Papervision3D] Adding filters to objects in a DAE

Dav dav at funkdaweb.com
Thu Jul 2 08:45:12 PDT 2009


Hi, wondering if anyone can answer my question.

I have a DAE file that has several objects inside it, (Box01, Box02, Box03,
...), and let's say I would like to add a outer glow filter to "Box01".

How would I go about it in Papervision 2?

I have seen lot's of posts on using viewport layers, but that seems to be
for people who are loading several DAE's, not a single DAE with multiple
objects inside.

I thought I would try this:

	model.getChildByName("Box01", true).useOwnContainer = true;
	model.getChildByName("Box01", true).filters = [new
BlurFilter(3,3,3)];

however nothing seems to work.

Thanks,
Dav




More information about the Papervision3D mailing list