[Papervision3D] mouse coordinates from viewport
Imran Akbar
imran at osg.stanford.edu
Wed Dec 5 16:57:28 PST 2007
thanks Josh,
On Dec 5, 2007 4:43 PM, <papervision3d-request at osflash.org> wrote:
> Send Papervision3D mailing list submissions to
> papervision3d at osflash.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> or, via email, send a message with subject or body 'help' to
> papervision3d-request at osflash.org
>
> You can reach the person managing the list at
> papervision3d-owner at osflash.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Papervision3D digest..."
>
>
> Today's Topics:
>
> 1. Re: Flash Player 9.0.115.0 Released, Performance issues
> (David Crawford)
> 2. Re: Papervision3d Great White Shader (Thomas Saunders)
> 3. Re: Flash Player 9.0.115.0 Released, Performance issues
> (Carlos Ulloa)
> 4. mouse coordinates from viewport (skunkwerk)
> 5. Re: mouse coordinates from viewport (John Grden)
> 6. Re: 2.0alpha DAE bitmap material question (John Grden)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 5 Dec 2007 23:00:53 -0000
> From: "David Crawford" <dcrawford at percypea.com>
> Subject: Re: [Papervision3D] Flash Player 9.0.115.0 Released,
> Performance issues
> To: <papervision3d at osflash.org>
> Message-ID: <A60C638BB9724A17A5DD539DB5730351 at tiggle>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> reply-type=original
>
> Hiya Ugur, (and hi papervision mailing list, i've been a silent member
> for
> while and yet to contribute, some fantastic flash work going on, congrats
> to
> all. :) )
>
> Ugur, I get the same as you, 100 fps on the 64's in firefox, and 60 fps
> ish
> with the new release.
>
> One thing i did notice is that with the 64's, looking in taskmanager,
> firefox was using around 60% CPU in your game
>
> With the new 115 release, its only using 20%. Have no idea why, as you'd
> expect it to keep using more to get more of a framerate.
>
> I also tested mr doobs away3d pink ball test thing
> (http://mrdoob.com/lab/away3d/ball_ao/index_zsort.html). As the frame rate
> jumps around alot it was quite hard to test if there is a speed
> difference,
> but interestingly both the 9,0,64,0 and 9,0,115,0 used around the same
> CPU
> (60 - 70%)
>
> Very odd!!
>
> Pea
>
>
> ----- Original Message -----
> From: "tomsamson" <blumenzuechter at gmx.de>
> To: <papervision3d at osflash.org>
> Sent: Wednesday, December 05, 2007 9:09 PM
> Subject: Re: [Papervision3D] Flash Player 9.0.115.0 Released, Performance
> issues
>
>
> Ok, i have done some more tests now and so far it boils down to this for
> me:
> The release version ( 9.0.115.0 ) pretty much achieves the same
> performance in browser playback as in standalone playback.
> So on that end there is a (big) improvement when comparing the old
> release player and the new one. That is great.
> On the other side the beta player ( 9,0,64,0 ) still achieved way better
> performance than the release player now does for me.
>
> To verify this i tried this game here:
> http://www.stimunationgames.com/previews/radius/n/
> (still in alpha and not even a preloader in there yet, so you?ll have to
> wait till it loads, btw i used Ralph Hauwert?s Bump Demo as base for
> mine, thanks for that :-) )
> on firefox with the latest beta player. It achieved around 100 fps there.
> Then i installed the release player in firefox and now it only achieves
> around 63 fps, also with more drops way below.
> Can anyone with a beta player still installed test this, then install
> the release player and compare the fps?
> I mean its still a great step that the player achieves pretty much the
> same fps in browser playback as in standalone playback but yeah, i
> wonder why there?s a loss of over 35 fps from beta player to release
> player.
>
>
>
>
> --
> __________________________
> Ugur Ister aka Tomsamson
> Co-Founder, Lead, Stimunation
> http://www.stimunationgames.com/
>
> play some games:
> -PowPool, 3D Billiard with a twist:
> http://www.candystand.com/play.do?id=18201
> -KICKFLIP Skateboarding:
> www.candystand.com/play.do?id=18111
> -JayIsAdventure, an oldschool adventure
> game we made for a contest in 2 weeks:
> http://jayisgames.com/cgdc4_redirect.php?gameID=20
>
>
>
>
>
> tomsamson wrote:
> > Hello List,
> > i know this should be a very happy time with PV3d 2.0 released (and i?m
> > thankful and happy to be able to play around with it as everyone i guess
> > :-) )
> > but right now i?m really worried.
> > This is the issue: Adobe has a new Release Player for download (
> > 9.0.115.0.) and as everyone i was very much looking forward to it having
> > tested lots of content with the previously released beta players.
> > Now the problem is all content i tried with the release player so far
> > now runs at way worse performance than with the beta player i used
> > before and partially even at worse performance than the previous release
> > player i had installed.
> > I will test some more content but so far it doesn?t look good at all.
> >
> > My setup is like this:
> > On firefox i had the latest beta player installed, on IE i now installed
> > the just released official release player.
> > Now my content is running at WAY better performance in ff (beta player)
> > than in IE (release player).
> > For some content i tried in IE (now latest release player powered) i
> > have the feeling it even ran better with the previous release player in
> > IE.
> > I?m not sure if the release player acts way better in firefox than in IE
> > (as i haven?t installed it in ff yet), will do that next after doing
> > some more comparisons with the current setup.
> > Have a test everyone and let me know what you?re experiences are.
> >
> >
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 5 Dec 2007 17:12:50 -0600
> From: "Thomas Saunders" <tasaunders at gmail.com>
> Subject: Re: [Papervision3D] Papervision3d Great White Shader
> To: papervision3d at osflash.org
> Message-ID:
> <d21ee0470712051512q36f9a818sdb5f37309a5516cb at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> sorry,
>
> gmail turned "cylinder.as" into a link when i didn't want it to be one.
>
> either way, I'll put it up. check it out
> here:<http://modern-carpentry.com/papervision2/Cylinder.zip>
>
> Thomas
>
>
>
> >
> > Message: 5
> > Date: Wed, 5 Dec 2007 14:17:21 -0800 (PST)
> > From: cybernetix <missing.address at gmail.com>
> > Subject: Re: [Papervision3D] Papervision3d Great White Shader
> > Materials Examples
> > To: papervision3D at osflash.org
> > Message-ID: <14181350.post at talk.nabble.com>
> > Content-Type: text/plain; charset=us-ascii
> >
> >
> > Link for Cylinder.as is wrong.
> >
> >
> >
> > modern-carpentry wrote:
> > >
> > > Hello,
> > >
> > > I've been playing around with some of the new shading materials (which
> > are
> > > pretty awesome, I must say...)
> > >
> > > The screencast from last night demonstrated Phong shading and Gouraud
> > > shading. I've extended that demo a bit and added tried out the
> > FlatShade
> > > material and the CellMaterial.
> > >
> > > Read all about it here <http://modern-carpentry.com/talk/?p=27>, where
> > you
> > > can download the source.
> > >
> > > Oh, and the Cylinder.as that comes in the SVN doesn't work with shader
> > > materials, but I changed a few things with it and now it works.
> > >
> > > Once again, thanks everyone
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/Papervision3d-Great-White-Shader-Materials-Examples-tf4951674.html#a14181350
> > Sent from the Papervision3D mailing list archive at Nabble.com.
> >
> >
> >
> >
> > ------------------------------
> >
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071205/e9ae6c9d/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 05 Dec 2007 23:24:18 +0000
> From: Carlos Ulloa <carlos at papervision3d.org>
> Subject: Re: [Papervision3D] Flash Player 9.0.115.0 Released,
> Performance issues
> To: papervision3d at osflash.org
> Message-ID: <47573322.5000903 at papervision3d.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> They might have fixes some bugs with the timers, like the performance
> boost when coming back from fullscreen. The betas were highly unstable,
> maybe they've been more conservative for the public release.
>
> C4
>
> David Crawford wrote:
> > Hiya Ugur, (and hi papervision mailing list, i've been a silent member
> for
> > while and yet to contribute, some fantastic flash work going on,
> congrats to
> > all. :) )
> >
> > Ugur, I get the same as you, 100 fps on the 64's in firefox, and 60 fps
> ish
> > with the new release.
> >
> > One thing i did notice is that with the 64's, looking in taskmanager,
> > firefox was using around 60% CPU in your game
> >
> > With the new 115 release, its only using 20%. Have no idea why, as you'd
> > expect it to keep using more to get more of a framerate.
> >
> > I also tested mr doobs away3d pink ball test thing
> > (http://mrdoob.com/lab/away3d/ball_ao/index_zsort.html). As the frame
> rate
> > jumps around alot it was quite hard to test if there is a speed
> difference,
> > but interestingly both the 9,0,64,0 and 9,0,115,0 used around the same
> CPU
> > (60 - 70%)
> >
> > Very odd!!
> >
> > Pea
> >
> >
> > ----- Original Message -----
> > From: "tomsamson" <blumenzuechter at gmx.de>
> > To: <papervision3d at osflash.org>
> > Sent: Wednesday, December 05, 2007 9:09 PM
> > Subject: Re: [Papervision3D] Flash Player 9.0.115.0 Released,
> Performance
> > issues
> >
> >
> > Ok, i have done some more tests now and so far it boils down to this for
> me:
> > The release version ( 9.0.115.0 ) pretty much achieves the same
> > performance in browser playback as in standalone playback.
> > So on that end there is a (big) improvement when comparing the old
> > release player and the new one. That is great.
> > On the other side the beta player ( 9,0,64,0 ) still achieved way better
> > performance than the release player now does for me.
> >
> > To verify this i tried this game here:
> > http://www.stimunationgames.com/previews/radius/n/
> > (still in alpha and not even a preloader in there yet, so you?ll have to
> > wait till it loads, btw i used Ralph Hauwert?s Bump Demo as base for
> > mine, thanks for that :-) )
> > on firefox with the latest beta player. It achieved around 100 fps
> there.
> > Then i installed the release player in firefox and now it only achieves
> > around 63 fps, also with more drops way below.
> > Can anyone with a beta player still installed test this, then install
> > the release player and compare the fps?
> > I mean its still a great step that the player achieves pretty much the
> > same fps in browser playback as in standalone playback but yeah, i
> > wonder why there?s a loss of over 35 fps from beta player to release
> player.
> >
> >
> >
> >
> >
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 5 Dec 2007 16:04:19 -0800
> From: skunkwerk <skunkwerk at gmail.com>
> Subject: [Papervision3D] mouse coordinates from viewport
> To: papervision3d at osflash.org
> Message-ID:
> <5f3bf4d20712051604u34345783qaaf7b7bfa9f6d6a6 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> i'm using the new 2.0 branch, and am trying to do something like this:
>
> var vecX :Number = viewport.mouseX/magnitude;
>
> however the mouseX that i'm tracing does not seem to change when I move
> the
> mouse... any ideas?
>
> thanks
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071205/3da57bd5/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Wed, 5 Dec 2007 18:39:49 -0600
> From: "John Grden" <neoriley at gmail.com>
> Subject: Re: [Papervision3D] mouse coordinates from viewport
> To: papervision3d at osflash.org
> Message-ID:
> <814c1ea20712051639l5f346062o9f8f2fc2abed8953 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> you just want where in 2D the mouse is? or are you trying to map 3D to 2D
> where your mouse is in 3D space?
>
> try viewport.containerSprite if you're just after 2D. You might have to
> convert coordinates to stage though. Can you describe what you're trying
> to
> accomplish?
>
> On Dec 5, 2007 6:04 PM, skunkwerk <skunkwerk at gmail.com> wrote:
>
> > i'm using the new 2.0 branch, and am trying to do something like this:
> >
> > var vecX :Number = viewport.mouseX/magnitude;
> >
> > however the mouseX that i'm tracing does not seem to change when I move
> > the mouse... any ideas?
> >
> > thanks
> >
> > _______________________________________________
> > 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/20071205/7b9c834c/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Wed, 5 Dec 2007 18:43:36 -0600
> From: "John Grden" <neoriley at gmail.com>
> Subject: Re: [Papervision3D] 2.0alpha DAE bitmap material question
> To: papervision3d at osflash.org
> Message-ID:
> <814c1ea20712051643y56cfe031t3fb7df9c317974a2 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> when you create your materials to pass to the DAE object in the
> materialsList, just set precise = true at that moment and you should be
> fine
>
> On Dec 5, 2007 4:04 PM, Lunneberg Paul <LunnebergPaulA at johndeere.com>
> wrote:
>
> > is there a way to do that for all objects loaded in a collada file
> > easily? or will i need to cycle through all the objects and do it
> > individually?
> >
> > ------------------------------
> > *From:* papervision3d-bounces at osflash.org [mailto:
> > papervision3d-bounces at osflash.org] *On Behalf Of *John Grden
> > *Sent:* Wednesday, December 05, 2007 3:46 PM
> > *To:* papervision3d at osflash.org
> > *Subject:* Re: [Papervision3D] 2.0alpha DAE bitmap material question
> >
> > on your material, try:
> >
> > myMaterial.precise = true;
> >
> > if you don't want to have it do precision for you, you can always add
> more
> > segments (triangles) to your cube. That's why it's distorting the image
> >
> > On Dec 5, 2007 3:37 PM, Lunneberg Paul <LunnebergPaulA at johndeere.com>
> > wrote:
> >
> > > Hey there,
> > > I'm trying my hands at the new 2.0 alpha and have my file loading a
> DAE
> > > file exported from blender with materials properly. My question
> revolves
> > > around the material settings. My test file is a simple cube with
> numbers on
> > > each side from a bitmap. When rotating the cube the texture is
> distorted on
> > > the sides of the cube.
> > > http://www.pablosbrain.com/flash/flash3d/pv3d2/defaultflash93d.html
> > > The version posted there has the cube scaled sorta small.. its more
> > > apparent when the objects are scaled up more.
> > > Is there anything I can do to fix this or change how it maps materials
> > > when loading a DAE file?
> > > Thanks in advance,
> > > paul lunneberg
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> >
> >
> > --
> > [ JPG ]
> >
> > _______________________________________________
> > 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/20071205/a0fd8150/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
> End of Papervision3D Digest, Vol 15, Issue 55
> *********************************************
>
--
http://www.akbars.net/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: http://firegpg.tuxfamily.org
iQEVAwUBRr3mUn+UBd2XY0QZAQKJIwf+M4l8cnswODqW21zEYmuw5a3MKXvSHegp
SaKpEXAmelCr4ckae5GNfs5WUfcdZZPBqBxfOruCVlfdtaYmGFpkiUhFmjZvrLHR
8K1QEhfLB6s8LtD3NrAqGvPhEVmGUpuyHRiWBUhkRQVqT+7qOtsgrRnrDrQDI3LD
nsdagKYF5OeUEmg4IkzHnk1o70oV9CImN1Ly/AZzPn3ohN9BTf40A3GzWjog0ug0
55Nioa9PypYNzHue8afMiDxwB9h2y2YMEoG1C46uuND5bNnTxdLP0Lt14llUiVni
uYRfntLv6EbEgi+CIbNRMO3W8hDU4mHkTF6UDTas0CHtbwm9K/NdzA==
=By1b
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071205/e75792d2/attachment-0001.html
More information about the Papervision3D
mailing list