[Papervision3D] width height of attached moviematerial reduced..why?

frederik delmotte delmottef at gmail.com
Mon Jan 7 09:29:39 PST 2008


What is the zoom and/or focus from your camera?
try:
 camera.zoom = 10;

cheers,frederik

2008/1/7, Dwayne Neckles <dwayneneckles at hotmail.com>:
>
>
> I imported  a movieclip with the width and height of 130 and 20 in the
> library respectively but when add as a material to a plane in papervision..
>
> the width and hieght come out distorted.. specifically 85.1 17.35 ...
>
> anyone know why this is ?
>
>
>
>
> ------------------------------
> > From: papervision3d-request at osflash.org
> > Subject: Papervision3D Digest, Vol 16, Issue 61
> > To: papervision3d at osflash.org
> > Date: Sun, 6 Jan 2008 14:02:37 -0800
> >
> > 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: Getting started with 3D Panoramas? (Florian F.)
> > 2. Re: pixel3D and Perlin Noise (Andy Zupko)
> > 3. Re: Getting started with 3D Panoramas? (Richard)
> > 4. Re: Getting started with 3D Panoramas? (Richard)
> > 5. Re: Need help, please! (Roy Wiggins)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 6 Jan 2008 12:03:28 -0800 (PST)
> > From: "Florian F." <pezf68 at gmail.com>
> > Subject: Re: [Papervision3D] Getting started with 3D Panoramas?
> > To: papervision3D at osflash.org
> > Message-ID: <14652877.post at talk.nabble.com>
> > Content-Type: text/plain; charset=us-ascii
> >
> >
> > Look at the great wall branch, there is an example there.
> >
> > Sascha Balkau wrote:
> > >
> > > Hi PV3D'ers,
> > >
> > > I have to make a (qtvr-like) panorama with PV3D and I'm not quite sure
> how
> > > to start with this. Are there any tutorials available on this or can
> > > somebody give me some starting hints?
> > >
> > > Sascha
> > >
> > >
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> >
> > --
> > View this message in context:
> http://www.nabble.com/Getting-started-with-3D-Panoramas--tp14651583p14652877.html
> > Sent from the Papervision3D mailing list archive at Nabble.com.
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Sun, 6 Jan 2008 16:00:21 -0500
> > From: "Andy Zupko" <azupko at zupko.info>
> > Subject: Re: [Papervision3D] pixel3D and Perlin Noise
> > To: <papervision3d at osflash.org>
> > Message-ID: <015f01c850a7$26e39a30$74aace90$@info>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > It is easy to get perlin noise as a material. Simply use a
> BitmapMaterial
> > or animate a BitmapMaterial and do a bitmapData.perlinNoise() on the
> source
> > bmpdata. I think all Seb is doing is applying perlinNoise to the
> furthest
> > plane, then cascading it forward (and repeating over and over). Not
> using
> > z-depth noise or any custom packages (like Ron's) I don't think.
> >
> >
> >
> > I don't have anything to map pixels to a DAE - but it wouldn't be overly
> > difficult to do - you just need to subdivide your faces the amount you
> want
> > to have and map a pixel to each spot. Maybe I will throw a demo of that
> > together since it would end up looking pretty cool. In my examples, I'm
> > simply casting pixels from a bitmap to depths specified by a sin wave
> (if
> > that's the experiment you are referring too).
> >
> >
> >
> > From: papervision3d-bounces at osflash.org
> > [mailto:papervision3d-bounces at osflash.org] On Behalf Of Skyler
> Norgenstrom
> > Sent: Sunday, January 06, 2008 12:47 PM
> > To: bungadunga at gmail.com; papervision3d at osflash.org
> > Subject: Re: [Papervision3D] pixel3D and Perlin Noise
> >
> >
> >
> > thanks for your suggestion Roy ... that certainly sounds possible and
> > cool....I was thinking more like a plethora of many pixels almost as a
> > material itself on a DAE. then have the pixels change into perlin like
> > cloud pixels by applying Perlin3D noise
> >
> > just thought the mapping of pixels onto a DAE was something already
> worked
> > out given Andy Z.'s example on his site with that torus like pot ....
> > perhaps he can inform us if there is any existing method or to share
> source?
> >
> > also befuddled as to Seb.'s amazing Perlin Noise 3D example but not sure
> how
> > to do it his way as I just get a jerky anim when I transition the z
> paramter
> > in Ron V.'s Perlin.noise class. and thus I haven't been able to even
> > attempt Seb's next step which would be to put the Perlin bitmapData on
> > planes and shifting them forwards to give his amazing effect:
> >
> >
> > http://www.sebleedelisle.com/?p=140
> >
> > Any tips anyone?
> >
> > _____
> >
> > Date: Sat, 5 Jan 2008 13:01:32 -0800
> > From: bungadunga at gmail.com
> > To: papervision3d at osflash.org
> > Subject: Re: [Papervision3D] pixel3D
> >
> > If you put a pixel at each vertex and at the center of each face... that
> > would be cool. Plus a pixel at the midpoint of each edge. Definite
> > possibilities.
> >
> > I bet you could use a 3d perlin noise + pixel3D to produce a forcemap
> (ie
> > pushing pixels around based on the noise). Could be a cool effect.
> >
> > On Jan 5, 2008 12:33 PM, Skyler Norgenstrom <
> skyler_norgenstrom at hotmail.com>
> > wrote:
> >
> > Is there any way to use a bunch of pixel3ds as the material for a dae
> > object? I think one of Andy's examples had a torus-like pot type object
> > made up of pixels.
> >
> >
> > also, do you think a perlinNoise3D class would work on the pixel3d to
> > produce an effect like this one
> > :
> >
> > http://www.sebleedelisle.com/?p=140
> >
> >
> > thanks,
> >
> > Evan
> >
> > _____
> >
> > HO HO HO, if you've been nice this year, email Santa! Visit asksanta.ca
> > <http://asksanta.ca/?icid=SANTAENCA005> to learn more!
> >
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> >
> >
> >
> > _____
> >
> > Your chance to win great prizes with TELUS and Windows Live Messenger
> for
> > Mobile. Click here for more information!
> > <http://www.telusmobility.com/on/wweb/instant_messaging.shtml>
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080106/60ee9c0c/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Sun, 6 Jan 2008 16:04:40 -0500
> > From: Richard <richard at airgid.com>
> > Subject: Re: [Papervision3D] Getting started with 3D Panoramas?
> > To: papervision3d at osflash.org
> > Message-ID: <530963D2-D41C-4752-9A9A-3A576BAC462F at airgid.com>
> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> >
> > I like that, I think we should remain it great wall too! :)
> > Sorry, slow day :)
> >
> >
> > On 6-Jan-08, at 3:03 PM, Florian F. wrote:
> >
> > >
> > > Look at the great wall branch, there is an example there.
> > >
> > > Sascha Balkau wrote:
> > >>
> > >> Hi PV3D'ers,
> > >>
> > >> I have to make a (qtvr-like) panorama with PV3D and I'm not quite
> > >> sure how
> > >> to start with this. Are there any tutorials available on this or can
> > >> somebody give me some starting hints?
> > >>
> > >> Sascha
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> Papervision3D mailing list
> > >> Papervision3D at osflash.org
> > >> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >>
> > >>
> > >
> > > --
> > > View this message in context: http://www.nabble.com/Getting-started-
> > > with-3D-Panoramas--tp14651583p14652877.html
> > > Sent from the Papervision3D mailing list archive at Nabble.com.
> > >
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Sun, 6 Jan 2008 16:08:20 -0500
> > From: Richard <richard at airgid.com>
> > Subject: Re: [Papervision3D] Getting started with 3D Panoramas?
> > To: papervision3d at osflash.org
> > Message-ID: <936E512D-65FD-4802-9505-DF1A084A5439 at airgid.com>
> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> >
> > See, now look what happened. I tried to be cute, and I can't type now
> > either :)
> > I meant "rename" not "remain" :)
> > Sorry list : ) Slow day :)
> >
> >
> > On 6-Jan-08, at 4:04 PM, Richard wrote:
> >
> > > I like that, I think we should remain it great wall too! :)
> > > Sorry, slow day :)
> > >
> > >
> > > On 6-Jan-08, at 3:03 PM, Florian F. wrote:
> > >
> > >>
> > >> Look at the great wall branch, there is an example there.
> > >>
> > >> Sascha Balkau wrote:
> > >>>
> > >>> Hi PV3D'ers,
> > >>>
> > >>> I have to make a (qtvr-like) panorama with PV3D and I'm not quite
> > >>> sure how
> > >>> to start with this. Are there any tutorials available on this or can
> > >>> somebody give me some starting hints?
> > >>>
> > >>> Sascha
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Papervision3D mailing list
> > >>> Papervision3D at osflash.org
> > >>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >>>
> > >>>
> > >>
> > >> --
> > >> View this message in context: http://www.nabble.com/Getting-started-
> > >> with-3D-Panoramas--tp14651583p14652877.html
> > >> Sent from the Papervision3D mailing list archive at Nabble.com.
> > >>
> > >>
> > >> _______________________________________________
> > >> Papervision3D mailing list
> > >> 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
> > >
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Sun, 6 Jan 2008 14:02:34 -0800
> > From: "Roy Wiggins" <bungadunga at gmail.com>
> > Subject: Re: [Papervision3D] Need help, please!
> > To: "David Lawson" <tech.lawson at gmail.com>, papervision3d at osflash.org
> > Message-ID:
> > <1ad6af930801061402t7bac04c3o21cbec17a4eca2d4 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Got it, using a FreeCamera3D:
> >
> >
> > camera.extra = { goPosition:new DisplayObject3D() };// Put this up
> > where you initialize the camera so it only happens once
> > for(var i=0;i<15;i++){
> > var cube = rootNode.addChild( new Cube( new MaterialsList(
> > {all:new ColorMaterial(0x00FF00)} ), 400, 400, 400 ));
> > cube.x = Math.random()*7000
> > cube.z = Math.random()*7000
> > cube.y = 200;
> > } //Same with this, stick it at the end of init3D(); to give you
> > something to drive around in.
> >
> >
> > var ang = car.rotationY*Math.PI/180-.5*Math.PI;
> > var xOff = Math.cos(ang);
> > var zOff = Math.sin(ang);
> >
> > var goPosition = camera.extra.goPosition;
> >
> > goPosition.x = xOff * radius + car.x; //I think this is exactly what
> > you were doing with copyPosition
> > goPosition.z = zOff * radius + car.z; // but this shows what's
> > actually going on a little better.
> > goPosition.y = 400;
> >
> > camera.lookAt(car);
> > camera.x -= (camera.x - goPosition.x) /ease;
> > camera.y -= (camera.y - goPosition.y); //I'm not sure you need this,
> > probably just ought to set the y only once. Reduces down to camera.y =
> > goPosition.y.
> > camera.z -= (camera.z - goPosition.z) /ease;
> >
> > camera_x.text = camera.x;
> > camera_y.text = camera.y;
> > camera_z.text = camera.z;
> > camera_rotationX.text = camera.rotationX;
> > camera_rotationY.text = camera.rotationY;
> >
> > car_x.text = car.x;
> > car_rotationY.text = car.rotationY;
> >
> > On Jan 6, 2008 12:49 AM, David Lawson <tech.lawson at gmail.com> wrote:
> >
> > > Well it doesn't work...
> > >
> > > The formula is stuffed up:
> > >
> > >
> > > //VARIABLES USED
> > > var ease:Number = 5; //higher = more easing
> > > var radius:Number = 1300; //radius camera floats on
> > > camera.extra = { goPosition:new DisplayObject3D() };
> > >
> > > //ON TICK CODE
> > > camera.extra.goPosition.copyPosition(car);
> > >
> > > //convert rotation to x/z
> > > var ang = car.rotationY * Math.PI / 180 - 1 / 2 * Math.PI;
> > > var xOff = Math.cos(ang);
> > > var zOff = Math.sin(ang);
> > >
> > > var goPosition = camera.extra.goPosition;
> > >
> > > goPosition.x += xOff * radius;
> > > goPosition.z += zOff * radius;
> > > goPosition.y += 400;
> > >
> > > camera.x -= (camera.x - goPosition.x) /ease;
> > > camera.y -= (camera.y - goPosition.y);
> > > camera.z -= (camera.z - goPosition.z) /ease;
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080106/8207c254/attachment.html
> >
> > ------------------------------
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> > End of Papervision3D Digest, Vol 16, Issue 61
> > *********************************************
>
> ------------------------------
> Get the power of Windows + Web with the new Windows Live. Get it now!<http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>


-- 
____________________

Frederik Delmotte
webdesigner/scripter

http://frederikdelmotte.be
info at frederikdelmotte.be

delmottef at gmail.com
+44 790 89 21 775
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080107/6a7d8aad/attachment-0001.html 


More information about the Papervision3D mailing list