Aug 22
I’m noticing a lot of links coming from Japan lately, they seem to be particularly taken with my Papervision reflections…
But this one particularly caught my eye – this nice chap (or chapess) has made a pretty 3D butterfly, along with its reflection… nice!
And even nicer, they’ve included source.
Have you made something nice with a reflection? Why not send it through? sebleedelisle at gmail dot com.




October 5th, 2008 at 4:52 pm
hey Seb, i have a little bug with the reflectionView that i just cant seem to work around. i took the source code of the butterfly example and i tried to change the earth plane material. every material i tried except the wireframeMaterial made the reflection disappear. i even tried using two planes – one with wireframe and one with bitmapcolor but this attempt failed as well. is there a way around this?
October 9th, 2008 at 8:17 am
matan,
This is because you can not see through the plane you are setting and the reflections are behind it.
Set the material transparency to 0.5 and should be ok
Cheers
October 9th, 2008 at 9:56 pm
just put a issue about the reflectionview class
http://code.google.com/p/papervision3d/issues/detail?id=114
October 14th, 2008 at 9:15 pm
Thanks guys, I promise I’ll take a look as soon as I have a spare minute (not sure when that’ll be!)
October 16th, 2008 at 11:07 am
hey Peter.
sorry for the nob question… but how do i set my material transparent? –> i am using a bitmapColorMaterial like so:
icePlaneMat = new BitmapColorMaterial(0xffffff, .5);
// i have a yelloe background behind the plane. but strangely enough i am getting a fully opaque grey plane instead of white.
October 16th, 2008 at 11:13 am
ok i found a bug… appearantly the reflection view doesn’t work on bitmapColorMaterial – but it does work on BitmapMaterial like so:
iceBMmat = new BitmapMaterial(new BitmapData(10, 10, true, 0×88FFFFFF), false);
// this should be checked for other types of materials