[Papervision3D] DOF help
Daniel O' Brian
daniel.obrian at lida.com
Fri Apr 11 04:36:40 PDT 2008
Hi,
I'm new to Papervision so excuse any ignorance of what are seemingly
simple concepts to you all.
I'm trying to build a project with a similar depth of field effect to
the Absolut clouds in the submitted visions section at
http://www.absolut.com/iaaw
I've seen the impressive Mr d00b DOF demo, but this approach (of
creating a sequence of preblurred materials) will not work in ttis
instance as I understand it as each blurred object needs to contain
interactive material.
So, I went down the route of applying blur based on distanceTo(camera)
and have a function triggering on ENTER_FRAME which runs a for loop to
update the blur on each item in the scene.
Problem is that this seems to only be taking a value from the last item
accessed in the for loop and changing the materials for all items based
upon this.
If I blur one item will this also blur any other item with the same
material or is each instance treated as a separate entity? I have tried
creating one material bper object but this slows things down to a crawl
and the same problem as above still applies.
Any ideas? Anyone?
Cheers
Danny O'Brian
This email transmission is confidential and intended solely
for the person or organisation to whom it is addressed. If you
are not the intended recipient, you must not copy, distribute
or disseminate the information, or take any action in relation
to it and please delete this e-mail. Any views expressed in
this message are those of the individual sender, except where
the sender specifically states them to be the views of any
organisation or employer. If you have received this message
in error, do not open any attachment but please notify the
sender (above). This message has been checked for all known
viruses powered by Messagelabs. For further information
visit www.messagelabs.com/stats.asp Please rely on your own
virus check as no responsibility is taken by the sender for
any damage rising out of any virus infection this communication
may contain.
LIDA Ltd 36 Golden Square, Soho, London, W1F 9EE, United Kingdom
Reg No. 03860916, registered in the United Kingdom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080411/9a62b850/attachment.html
More information about the Papervision3D
mailing list