[Papervision3D] Adding filters to objects in a DAE
info at jeffwinder.nl
Fri Jul 3 08:08:38 PDT 2009
The way you did it should work, but do you wait for the model to be loaded?
and then add your code inside a modelLoaded handler?
> Hi, wondering if anyone can answer my question.
> I have a DAE file that has several objects inside it, (Box01, Box02,
> ...), 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
> however nothing seems to work.
> Papervision3D mailing list
> Papervision3D at osflash.org
View this message in context: http://www.nabble.com/Adding-filters-to-objects-in-a-DAE-tp24309324p24324649.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D