|
View:
New views
19 Messages
—
Rating Filter:
Alert me
|
|
|
shadowcaster classI was experimenting with Andy's shadow caster class and testing my animation controls here:
As you can see the shadow plane is visible despite my best efforts to hide it. How can I hide the shadow plane without making it gigantic while keeping the shadow?
-Nate
_______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classhey Nate dragon look nice!, about shadow I'm not
sure is that's possible to use own container + blend mode (maybe multiply)
there
From: warner.nathaniel@...
Sent: Tuesday, July 22, 2008 06:14
Subject: [Papervision3D] shadowcaster class I was experimenting with Andy's shadow caster class and testing my
animation controls here:
As you can see the shadow plane is visible despite my best efforts to hide
it. How can I hide the shadow plane without making it gigantic while
keeping the shadow?
-Nate
_______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org _______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classlink seems to be dead - can you repost?
On Mon, Jul 21, 2008 at 6:14 PM, Nathaniel Warner <warner.nathaniel@...> wrote:
-- [ JPG ] _______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classhttp://dynamicnetcreations.com/experiments/dragon/source/dragon.html
OK, posted it again above. I also took the chance to smooth out and add animations. On Mon, Jul 21, 2008 at 6:22 PM, John Grden <neoriley@...> wrote:
_______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classHey Nathaniel, is your website pv3d? if so would you like a little plug in dailypv3d? cheers, Pedro. On 7/22/08, Nathaniel Warner <warner.nathaniel@...> wrote:
-- Pedro Furtado http://www.dreaminginflash.com http://dailypv3d.wordpress.com _______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classunfortunately ill get a script-timeout. (MacBokPro 2,4Ghz)
olee Here is the bunch of errors that will be throwed: Error: Error #1502: Ein Skript wurde länger als die Standard-Timeout-Zeit von 15 Sekunden ausgeführt. at org.ascollada.core::DaeEntity/getFloats() at org.ascollada.types::DaeArray/::getData() at org.ascollada.types::DaeArray/read() at org.ascollada.core::DaeEntity$iinit() at org.ascollada.types::DaeArray$iinit() at org.ascollada.core::DaeSource/read() at org.ascollada.core::DaeEntity$iinit() at org.ascollada.core::DaeSource$iinit() at org.ascollada.core::DaeMesh/read() at org.ascollada.core::DaeEntity$iinit() at org.ascollada.core::DaeMesh$iinit() at org.ascollada.core::DaeGeometry/read() at org.ascollada.core::DaeEntity$iinit() at org.ascollada.core::DaeGeometry$iinit() at org.ascollada.core::DaeDocument/::readLibGeometries() at org.ascollada.core::DaeDocument/read() at org.ascollada.core::DaeEntity$iinit() at org.ascollada.core::DaeDocument$iinit() at org.ascollada.io::DaeReader/loadDocument() at org.ascollada.io::DaeReader/::completeHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete()
2008/7/22 Pedro Furtado <pedro.furtado@...>:
-- http://www.renkster.de/ _______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classPedro,
Sure, thanks. Maybe that will motivate me to spend my free time finishing it up. -Nate On Mon, Jul 21, 2008 at 11:34 PM, Pedro Furtado <pedro.furtado@...> wrote:
_______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classthis is awesome ;) you gonna keep that link live?
On Tue, Jul 22, 2008 at 5:54 AM, Nathaniel Warner <warner.nathaniel@...> wrote:
-- [ JPG ] _______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classYes, I'll keep it live. Thanks for the nice comment. Now I'm motivated to work out the kinks!
I'll start with trying to figure out how to embed the DAE easily in CS3 so people don't get timeouts...tomorrow...yawn
On Tue, Jul 22, 2008 at 1:07 AM, John Grden <neoriley@...> wrote:
_______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classHey Nathaniel - its looking cool :)
What is the plane material you are drawing on? It looks like there might be a problem with the transparency, etc. Can you post your material info? Also - i see you are using backface culling - it makes the shadows look weird sometimes as i realize now i made a pretty dumb mistake. I have a fix but haven't tried it yet (just a few lines of replacement code). Basically i'm culling against the plane right now - instead of against the light - so there are some issues. Try turning it off and the model will appear more exact. Anyways - if you can post some code for your material we can probably figure it out. (does the plane itself have any blendMode?) -andy On Jul 22, 2008, at 7:55 AM, Nathaniel Warner wrote:
_______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classOn 7/22/08, Andy Zupko <azupko@...> wrote:
_______________________________________________ Papervision3D mailing list Papervision3D@... http://osflash.org/mailman/listinfo/papervision3d_osflash.org |
|
|
Re: shadowcaster classI actually managed to figure out the shadow problem, Andy. I'm kind of embarrassed to share what I was doing wrong because it was a silly mistake but I'll paste the working code below in case someone else wants to do something similar. It's pretty much an exact copy of your demo with a few minor changes. Thanks for your help, Andy...something you mentioned in your reply led me to the solution. I turned off back face culling at your suggestion and it did help those issues you mentioned. Yes, the plane did (past tense) have its own blend mode. I removed it when I figured out the proper solution though. The still incomplete experiment/test has been updated and you can see it at the same location here. -Nate Code: ----------------------------------------------------------------------------------------------------- //setup shadow and light shadowCaster = new ShadowCaster("shadow1", 0, BlendMode.NORMAL, .7, [new BlurFilter(4, 4, 2)]); shadowCaster.setType(ShadowCaster.SPOTLIGHT); var movie:Sprite = new Sprite(); movie.graphics.beginFill(0xffffff, 0); movie.graphics.drawRect(0, 0, 900, 900); movie.graphics.endFill(); var shadowMat = new MovieMaterial(movie, true, true); shadowMat.doubleSided = true; shadowPlane = new Plane(shadowMat, 900, 900, 1, 1); shadowPlane.pitch( 90); viewport.getChildLayer(shadowPlane).layerIndex = -100; scene.addChild(shadowPlane); light = new PointLight3D(); ----------------------------------------------------------------------------------------------------- On Tue, Jul 22, 2008 at 3:12 AM, Andy Zupko <azupko@...> wrote:
|