Papervision3d Effect Classes for Great White
After finding the very good Papervision Effect Classes from tink I recognized that they are build with Papervision 1.5. I’m using Papervision 2.0 in my Project so fixed them for use with Great White.
I hope they are useful for someone you can download them here.
IMPORTANT UPDATE:
The Classes are now checked for the known memory leaks and thanks to Flex Professional I think I fixed them all.
RSS-Feed für Kommentare dieses Beitrags.
veera schrieb am Juni 26, 2008:
Hi,
It is exelletn effect. I was download the files.
But it is getting runtime errors.
Severity and Description Path Resource Location Creation Time Id
1046: Type was not found or was not a compile-time constant: BitmapMaterial. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 202 1214467578871 1176
1046: Type was not found or was not a compile-time constant: Camera3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 37 1214467578871 1171
1046: Type was not found or was not a compile-time constant: DisplayObject3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 38 1214467578871 1172
1046: Type was not found or was not a compile-time constant: Scene3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 36 1214467578871 1170
1172: Definition org.papervision3d.cameras:Camera3D could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 17 1214467578871 1179
1172: Definition org.papervision3d.materials:BitmapMaterial could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 18 1214467578871 1180
1172: Definition org.papervision3d.objects:DisplayObject3D could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 19 1214467578871 1181
1172: Definition org.papervision3d.scenes:Scene3D could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 16 1214467578871 1178
1180: Call to a possibly undefined method BitmapMaterial. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 202 1214467578871 1177
1180: Call to a possibly undefined method Camera3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 160 1214467578871 1174
1180: Call to a possibly undefined method DisplayObject3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 164 1214467578871 1175
1180: Call to a possibly undefined method Scene3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 158 1214467578871 1173
Pleae give me suggetions on erros.
Thank you,
veera
Sagar schrieb am Juni 29, 2008:
hi,
I guess you need to download the latest version with branch called GreatWhite, this may solve your problem
joerg schrieb am Juni 30, 2008:
you’re right these classes are specially edited for Great White
joerg
veera schrieb am Juli 1, 2008:
Hi friends,
I was install the all branch called GreatWhite. But still it is not working.
Please give me more suggestions.
Severity and Description Path Resource Location Creation Time Id
1046: Type was not found or was not a compile-time constant: BitmapMaterial. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 202 1214467578871 1176
1046: Type was not found or was not a compile-time constant: Camera3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 37 1214467578871 1171
1046: Type was not found or was not a compile-time constant: DisplayObject3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 38 1214467578871 1172
1046: Type was not found or was not a compile-time constant: Scene3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 36 1214467578871 1170
1172: Definition org.papervision3d.cameras:Camera3D could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 17 1214467578871 1179
1172: Definition org.papervision3d.materials:BitmapMaterial could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 18 1214467578871 1180
1172: Definition org.papervision3d.objects:DisplayObject3D could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 19 1214467578871 1181
1172: Definition org.papervision3d.scenes:Scene3D could not be found. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 16 1214467578871 1178
1180: Call to a possibly undefined method BitmapMaterial. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 202 1214467578871 1177
1180: Call to a possibly undefined method Camera3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 160 1214467578871 1174
1180: Call to a possibly undefined method DisplayObject3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 164 1214467578871 1175
1180: Call to a possibly undefined method Scene3D. CubeExample/src/ws/tink/flex/pv3dEffects/effectClasses EffectInstance.as line 158 1214467578871 1173
Pleae give me suggetions on erros.
Thank you,
veera
Thank you,
veera
joerg schrieb am Juli 2, 2008:
hi veera,
did you add the src folder of great white to your classpath?
joerg
joerg schrieb am Juli 17, 2008:
Update
I did make the classes compatible with the latest revision of GW especially the camera changes.
joerg
Jason H schrieb am Juli 17, 2008:
Hi joerg, I am wondering if you added to your code the fix for the memory leak issue mentioned on tink’s blog comments?
joerg schrieb am Juli 18, 2008:
hi jason
i did a quick try but i get an invalid bitmapdata error after adding your code.
and didn’t have the time to look deeper into it. does it work for you with GW?
i tried to add it in the ws.tink.flex.pv3dEffects.effectClasses.EffectInstance
joerg
Jason H schrieb am Juli 22, 2008:
Hey Joerg, (there are two ‘Jason’ users on tink’s blog, btw - I am ‘Jason H’ and ‘Jason’ is one who wrote the patch
I did put in Jason’s patch in your original code for GW and it works just fine for me - in fact if you watch your activity monitor you will see that without this patch there is a serious memory leak - in my case 2Mb every time I do a transition. So the patch is pretty critical.
I did not try the patch yet with your new code as of July 18 - that is what I wondered if you already did it or not.
Thanks! - Jason H
joerg schrieb am Juli 26, 2008:
Hi Jason H,
I didn’t add the patch yet because for me it doesn’t work with the cube effect.
I wil try to fix this too next week.
Joerg
joerg schrieb am Juli 31, 2008:
Hi all,
As I wrote above, all Effects should now be wthout Memory Leaks.
Joerg
Tink schrieb am Juli 31, 2008:
good stuff
Andrew schrieb am August 12, 2008:
Hello - I have used this updated library, specifically the flip effect and it works great. However, when I use a component that has no background color and is transparent, when it flips the entire background color changes to black. I can’t seem to find why this is happening, would you have any thoughts? To test, just use the flipexample.mxml and remove the background color, and make it transparent and you’ll see.
Thanks!
joerg schrieb am August 14, 2008:
Hi
try setting the transparent value of the effect to true
cheers
joerg
xiaoxin schrieb am August 20, 2008:
thanks for your source code ,it is very cool
Jason H schrieb am September 2, 2008:
hey Jorge, I just upgraded to the public release of papervision 2 beta 1 (posted on aug 21). Just wanted to let you know that everything works fine with your code. nice work!
maohao schrieb am Oktober 13, 2008:
Hi Jorge, Thanks much first. I am trying out the zoomeffect.mxml and since I just want straight-forward style zoom, i get rid of the rotation effect. Everything seems to be working except that now there is flickering of the component who shows up fully briefly at the very beginning of “showZoom”, when its alpha is supposed to be 0 ans scale 0, instead it’s alpha=1 and scale=1.
My code is nothing fancy, just FYI in case:
maohao schrieb am Oktober 13, 2008:
My code wasn’t go through;) Basically I got rid of the rotationXFrom=”0″ rotationXTo=”450″ parts in both effect components. Thanks.
Kyle Burke schrieb am Dezember 31, 2008:
Well done Joerg, and thanks to Tink.
Kyle Burke schrieb am Dezember 31, 2008:
BTW, not sure if it’s still referred to as “Great White”, but this code works with trunk too.
Royce schrieb am Juni 29, 2009:
Thanks so much for these. Your tink code is more updated than the one I had and fixed a bug that was causing us a lot of troubles. Thankfully now with this code everything is working well
Büla schrieb am Juli 17, 2009:
Danke sehr. I haven’t tried this yet, am looking forward to using your new effect classes.
tao schrieb am Mai 7, 2010:
thank you