[Papervision3D] Acid cubes

John Grden neoriley at gmail.com
Thu Jan 18 09:53:08 EST 2007


You're sick.  "padded room with a box of crayons" is what you need my
friend.  Don't worry, i'll visit often ;)

On 1/18/07, ricardo cabello ! mr.doob <info at mrdoob.com> wrote:
>
> Here you have the snippet...
>
> texture.draw(container, null, null, null, new
> Rectangle(0,0,textureSize*2,textureSize*2));
> texture.applyFilter(texture, new
> Rectangle(0,0,textureSize,textureSize), new Point(0, 0), new
> BlurFilter());
> texture.colorTransform(new Rectangle(0,0,textureSize,textureSize), new
> ColorTransform(1, 1, 1, 1, -25, -10, -10, 0));
> texture.fillRect(new Rectangle(0,0,lineSize,textureSize),0xFFFFFF);
> texture.fillRect(new Rectangle(0,0,textureSize,lineSize),0xFFFFFF);
> texture.fillRect(new
> Rectangle(textureSize-lineSize,0,lineSize,textureSize),0xFFFFFF);
> texture.fillRect(new
> Rectangle(0,textureSize-lineSize,textureSize,lineSize),0xFFFFFF);
>
> (I know i know, it can be much more optimised...)
>
> On 1/18/07, ricardo cabello ~ mr.doob <info at mrdoob.com> wrote:
> > :D
> >
> > Well, it was easy, tho a little bit out of control...
> >
> > Create a bitmapData of any resolution, apply it to all the faces, an
> then:
> > texture.draw(container); in each frame :P
> >
> > More or less... I would upload the sources, but I had to hack a little
> > bit PV3D source for this example (mainly change the clipping parameter
> > instead > 0, had to change to > -100, otherwise the box of the middle
> > wasn't being shown.
> >
> > --
> > Ricardo Cabello ~ Mr.doob
> > Designer + Developer
> >
> > Web: http://mrdoob.com
> > RSS feed: http://mrdoob.com/rss.php
> > Skype: r08028
> >
> >
> > Carlos Ulloa wrote:
> > > How on earth have you done this?
> > >
> > > I need drugs now.
> > >
> > > C4RL05
> > > // noventaynueve.com <http://noventaynueve.com>
> > > // papervision3d.org <http://papervision3d.org>
> > >
> > >
> > >
> > > On 18/01/07, *ricardo cabello ~ mr.doob* <info at mrdoob.com
> > > <mailto:info at mrdoob.com>> wrote:
> > >
> > >     I just thought... now that I'm on it.. let's test something
> else... ;)
> > >
> > >     http://www.mrdoob.com/lab/PV3D/acid_cubes.html
> > >
> > >     Who need drugs? :D
> > >
> > >     --
> > >     Ricardo Cabello ~ Mr.doob
> > >     Designer + Developer
> > >
> > >     Web: http://mrdoob.com
> > >     RSS feed: http://mrdoob.com/rss.php
> > >     Skype: r08028
> > >
> > >
> > >     _______________________________________________
> > >     Papervision3D mailing list
> > >     Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> > >     http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> > >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> >
>
>
> --
> _ ricardo cabello | trace | mr.doob
> _ web: http://ricardocabello.com
> _ rss: http://ricardocabello.com/rss.php
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070118/5289063d/attachment.htm


More information about the Papervision3D mailing list