[Papervision3D] Scene disappearing

Thomas Saunders tasaunders at gmail.com
Tue Nov 6 08:55:08 PST 2007


Hello list,

I've got a problem I really just don't know where to start with, and I'm
wondering if anyone has experienced anything similar-

Using version 1.5, I've got an Interactive scene with anywhere between 200
and 1200 primitives, and most of the times everything is dandy.

But in the browser window, if you click out of the window or open up another
application's window, going back to the browser leaves you without anything
in the scene.

Any ideas as to what is going on?  Any help would be greatly appreciated-

thomas

http://modern-carpentry.com/talk

On 11/6/07, papervision3d-request at osflash.org <
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: Blender to collada, what version combination of software?
>       (Emil Korngold)
>    2. Re: Using Tweener to rotate Z axis (pokypin)
>    3. Re: How to draw a border around a plane? (azupko at zupko.info)
>    4. Re: Using Tweener to rotate Z axis (pokypin)
>    5. Re: Blender to collada, what version combination of software?
>       (David Mill?n Escriv?)
>    6. Re: Rotating around world axis (pokypin)
>    7. Re: Using Tweener to rotate Z axis (Zeh Fernando)
>    8. Re: How to draw a border around a plane? (grapefruitlips)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 6 Nov 2007 07:26:44 -0800 (PST)
> From: Emil Korngold <emilkorngold at hotmail.com>
> Subject: Re: [Papervision3D] Blender to collada, what version
>         combination of software?
> To: papervision3D at osflash.org
> Message-ID: <13608874.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Ha!
>
> After a full day of trial and error I finally got this baby running!
> Here's the info, in case others experience the same problem:
>
> - get python 2.4.4 from here:
> http://www.python.org/download/releases/2.4.4/
>
> - get Blender 2.4.1 from this old version depot:
> http://download.blender.org/release/
>
> - Install Python, and after installation finished do the following;
> right-click on "My Computer",
> select Properties,
> click the Advanced tab,
> click Environment Variables,
> click New,
> for variable name type: PYTHONPATH
> for variable value type: C:\Python24\lib
> click OK
>
> - Now reboot your system
>
> - After reboot install Blender 2.4.1
>
> - Fire up blender
>
> - collada export can be found under file -> export -> collada, and should
> be
> working!
>
> Cheers :)
> Emil
>
>
> Emil Korngold wrote:
> >
> > I've been trying to get the illusoft collada exporter to work,
> > but keep ending up with error messages in the Blender console.
> >
> > For those of you who use Blender as their preferred 3D model to collada
> > exporter,
> > - what version of Blender,
> > - what version of Python, and
> > - what version of the illusoft collada 1.4.0 exporter plug-in do you
> use?
> >
> > I'm using PC/WINXP/SP2.
> > I have installed these:
> >
> > From http://www.blender.org/download/get-blender/:
> > - Windows Blender 2.45 Installer (8 MB)
> >
> > From
> >
> http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
> > - Microsoft Visual C++ 2005 Redistributable Package (x86)
> >
> > From http://www.python.org/download/
> > - Python 2.5.1 Windows installer
> >
> > From http://colladablender.illusoft.com/cms/content/blogcategory/25/29/
> > - Version 0.3.159
> >
> > with all of the above installed and rebooting my system,
> > Blender even breaks down when I try to save the standard cube startup
> > scene.
> > I'm pulling hairs heer guys! Please help. :)
> >
> >
> > Thanks for your time!
> >
> > Cheers,
> > Emil Korngold
> >
>
> --
> View this message in context:
> http://www.nabble.com/Blender-to-collada%2C-what-version-combination-of-software--tf4756725.html#a13608874
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 6 Nov 2007 07:30:38 -0800 (PST)
> From: pokypin <dustin at curiousmedia.com>
> Subject: Re: [Papervision3D] Using Tweener to rotate Z axis
> To: papervision3D at osflash.org
> Message-ID: <13608878.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Thanks for your help Zeh...
>
> That's what my theory told me too. However the problem is rotating 90
> degrees in one direction, say the Y-axis, and then rotating on the Z-axis.
> for some reason the Z and X axis are the same at this point.
>
> If you read previous posts I have explained the issue. But to put it
> simply
> the following two examples produce rotations on the same axis, when in
> "theory" they should not.
>
> 1:
> Tweener.addTween(myobj, {rotateY:90, time:1});
> Tweener.addTween(myobj, {rotateX:90, time:1});
>
> 2:
> Tweener.addTween(myobj, {rotateY:90, time:1});
> Tweener.addTween(myobj, {rotateZ:90, time:1});
>
> Thanks,
>
> Dustin
> --
> View this message in context:
> http://www.nabble.com/Using-Tweener-to-rotate-Z-axis-tf4749370.html#a13608878
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 6 Nov 2007 07:31:30 -0800 (PST)
> From: azupko at zupko.info
> Subject: Re: [Papervision3D] How to draw a border around a plane?
> To: papervision3d at osflash.org
> Message-ID: <33532.65.205.39.146.1194363090.squirrel at zupko.info>
> Content-Type: text/plain;charset=iso-8859-1
>
> I think i read someone suggested this already - but I never saw anything
> else on it.  WHy don't you just draw the border onto the material's
> bitmap?  Or for that matter just draw the border onto the loaded bitmap
> before you use it in the material?
>
> > I think i cant use moviescene3d. I can't just change the scene variable
> > names to MovieScene3D. cuz now i have another errors. its now not
> > working like it was before if i just change the scene to MovieScene3D.
> > events.. and stuff... damnit..what a problem......
> > i dont want to use a php script that draws a border around image cuz its
> > very slowwwwwww
> >
> > John Dyer wrote:
> >> To do this you need to use a MovieScene3D rather than a Scene3D. The
> >> MovieScene3D draws every DisplayObject3D (such as a Plane) in its own
> >> MovieClip (the .container property) to which you can apply filters.
> >>
> >> >>> On 11/6/2007 at 5:48 AM, in message <473054A4.6060402 at mail.ru>,
> >> grapefruitlips <grapefruitlips at mail.ru> wrote:
> >> it gives an error:
> >> 1119: Access of possibly undefined property filters through a
> >> reference with static type org.papervision3d.objects:Plane.
> >> and this too:
> >> p.container.filters=.....
> >> (
> >>
> >> o renken wrote:
> >>> and iam missing this line of code:
> >>>
> >>> var glow:GlowFilter = new GlowFilter(0xCC0000, 0.5, 10, 10, 2, 3);
> >>> p.filters = [glow]; <---------- (!!)
> >>>
> >>> its AS2 but i guess its the same in AS3
> >>>
> >>> 2007/11/6, jlm at justinfront.net <mailto:jlm at justinfront..net>
> >>> <jlm at justinfront.net <mailto:jlm at justinfront.net>>:
> >>>
> >>>     >From AS2 experiance
> >>>
> >>>     filters can be applied to plane.container
> >>>     lineTo's can be drawn and applied to the material.bitmap
> >>>
> >>>     I am sure similar in AS3
> >>>
> >>>
> >>>     Justin
> >>>
> >>>
> >>>     Quoting o renken <renkster at gmail.com <mailto:renkster at gmail.com>>:
> >>>
> >>>     > I thought about the same some days before. my idea was to use
> the
> >>>     > glow-filter with full-alpha... but i havent tried it. maybe it
> >>>     worth it to
> >>>     > have a try?
> >>>     > olee
> >>>     >
> >>>     > 2007/11/6, grapefruitlips <grapefruitlips at mail.ru
> >>>     <mailto:grapefruitlips at mail.ru>>:
> >>>     >>
> >>>     >>  Hi!
> >>>     >> Does anybody know how to draw a white border (20px) around a
> >>>     plane with
> >>>     >> precise bitmap material?
> >>>     >>
> >>>     >> var material:PreciseBitmapMaterial =  new
> PreciseBitmapMaterial(
> >>>     >> LoadedImage.bitmapData);
> >>>     >> material.interactive = true;
> >>>     >> material.oneSide = true;
> >>>     >> material.smooth = true;
> >>>     >> p = new Plane( material, 500, 350);
> >>>     >> _rootNode.addChild(p);
> >>>     >>
> >>>     >> Thanks
> >>>     >>
> >>>     >> _______________________________________________
> >>>     >> Papervision3D mailing list
> >>>     >> Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> >>>     >> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >>>     >>
> >>>     >>
> >>>     >
> >>>     >
> >>>     > --
> >>>     > http://www.renkster.de/#/about/
> >>>     >
> >>>
> >>>
> >>>
> >>>
> >>>     _______________________________________________
> >>>     Papervision3D mailing list
> >>>     Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> >>>     http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> http://www.renkster.de/#/about/
> >>>
> ------------------------------------------------------------------------
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 6 Nov 2007 07:34:30 -0800 (PST)
> From: pokypin <dustin at curiousmedia.com>
> Subject: Re: [Papervision3D] Using Tweener to rotate Z axis
> To: papervision3D at osflash.org
> Message-ID: <13609166.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Justin,
>
> Am I understanding correctly that you are suggesting modifying the Tweener
> class in order to tween yaw as a property?
>
> If so, my guess is that this might be possible, but my knowledge is
> limited
> in that area. I would really like to stick to tweening the set
> papervision3d
> properties. It appears that in papervision yaw is a method, not a
> property.
>
> If I am missunderstanding could you clarify for me?
>
> Thanks for you help! :)
>
> Dustin
> --
> View this message in context:
> http://www.nabble.com/Using-Tweener-to-rotate-Z-axis-tf4749370.html#a13609166
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 06 Nov 2007 16:33:18 +0100
> From: David Mill?n Escriv? <david at artresnet.com>
> Subject: Re: [Papervision3D] Blender to collada, what version
>         combination of software?
> To: papervision3d at osflash.org
> Message-ID: <4730893E.5050607 at artresnet.com>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL:
> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071106/6710e06a/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Tue, 6 Nov 2007 07:49:26 -0800 (PST)
> From: pokypin <dustin at curiousmedia.com>
> Subject: Re: [Papervision3D] Rotating around world axis
> To: papervision3D at osflash.org
> Message-ID: <13609314.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> I am trying to solve this problem as well. I am wondering if there was
> ever a
> solution given without using yaw, pitch, roll? I know that those methods
> work, but I need to tween the rotation properties, not go directly to a
> given yaw.
>
> --
> View this message in context:
> http://www.nabble.com/Rotating-around-world-axis-tf4486910.html#a13609314
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 06 Nov 2007 14:02:28 -0300
> From: Zeh Fernando <zehfernando at zeh.com.br>
> Subject: Re: [Papervision3D] Using Tweener to rotate Z axis
> To: papervision3d at osflash.org
> Message-ID: <47309E24.70102 at zeh.com.br>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> > Thanks for your help Zeh...
> > That's what my theory told me too. However the problem is rotating 90
> > degrees in one direction, say the Y-axis, and then rotating on the
> Z-axis.
> > for some reason the Z and X axis are the same at this point.
> > If you read previous posts I have explained the issue. But to put it
> simply
> > the following two examples produce rotations on the same axis, when in
> > "theory" they should not.
> > 1:
> > Tweener.addTween(myobj, {rotateY:90, time:1});
> > Tweener.addTween(myobj, {rotateX:90, time:1});
> > 2:
> > Tweener.addTween(myobj, {rotateY:90, time:1});
> > Tweener.addTween(myobj, {rotateZ:90, time:1});
> > Thanks,
> > Dustin
>
> Oh yeah, I think I remember the issue now; it seems to me that rotation
> is tied to the parent axis, so one axis is dependent on the other unless
> you use yaw/pitch/roll.
>
> There may be other solutions to this, and I've only done some quick
> tests, but I believe one quick (if slightly dirty) solution would be
> having the object inside other parent displayobjects. You would wrap the
> object, and then, instead of rotating the object, you would rotate each
> of the wrapper parents - one for each specific axis.
>
> This does sound strange though, so I'd like to hear other options to see
> what we can do to remedy the situation as other people have approached
> me with the same problem.
>
> Unless I'm missing something, a perfect solution would be the option to
> have the object axis tied to other scope (for example, the world, or the
> object itself), which would be more of a internal change to PV3D than
> anything.
>
>
> Zeh
>
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 06 Nov 2007 19:36:49 +0300
> From: grapefruitlips <grapefruitlips at mail.ru>
> Subject: Re: [Papervision3D] How to draw a border around a plane?
> To: papervision3d at osflash.org
> Message-ID: <47309821.6060605 at mail.ru>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks for the idea. I almost did it. but
>
> var glowFilter:GlowFilter = new GlowFilter(0xFFFFFF, 1, 5, 5, 10);
> Loaded_Image.filters = [glowFilter];
> i see the effect if i use addChild(Loaded_Image);
> but we use Loaded_Image.bitmapData to use it in this kind of material:
> var material:PreciseBitmapMaterial =  new
> PreciseBitmapMaterial(Loaded_Image.bitmapData);
> so i don't see the effect. maybe i can apply the filter to the
> Loaded_Image.bitmapData somehow?
>
>
> azupko at zupko.info wrote:
> > I think i read someone suggested this already - but I never saw anything
> > else on it.  WHy don't you just draw the border onto the material's
> > bitmap?  Or for that matter just draw the border onto the loaded bitmap
> > before you use it in the material?
> >
> >
> >> I think i cant use moviescene3d. I can't just change the scene variable
> >> names to MovieScene3D. cuz now i have another errors. its now not
> >> working like it was before if i just change the scene to MovieScene3D.
> >> events.. and stuff... damnit..what a problem......
> >> i dont want to use a php script that draws a border around image cuz
> its
> >> very slowwwwwww
> >>
> >> John Dyer wrote:
> >>
> >>> To do this you need to use a MovieScene3D rather than a Scene3D. The
> >>> MovieScene3D draws every DisplayObject3D (such as a Plane) in its own
> >>> MovieClip (the .container property) to which you can apply filters.
> >>>
> >>>
> >>>>>> On 11/6/2007 at 5:48 AM, in message <473054A4.6060402 at mail.ru>,
> >>>>>>
> >>> grapefruitlips <grapefruitlips at mail.ru> wrote:
> >>> it gives an error:
> >>> 1119: Access of possibly undefined property filters through a
> >>> reference with static type org.papervision3d.objects:Plane.
> >>> and this too:
> >>> p.container.filters=.....
> >>> (
> >>>
> >>> o renken wrote:
> >>>
> >>>> and iam missing this line of code:
> >>>>
> >>>> var glow:GlowFilter = new GlowFilter(0xCC0000, 0.5, 10, 10, 2, 3);
> >>>> p.filters = [glow]; <---------- (!!)
> >>>>
> >>>> its AS2 but i guess its the same in AS3
> >>>>
> >>>> 2007/11/6, jlm at justinfront.net <mailto:jlm at justinfront..net>
> >>>> <jlm at justinfront.net <mailto:jlm at justinfront.net>>:
> >>>>
> >>>>     >From AS2 experiance
> >>>>
> >>>>     filters can be applied to plane.container
> >>>>     lineTo's can be drawn and applied to the material.bitmap
> >>>>
> >>>>     I am sure similar in AS3
> >>>>
> >>>>
> >>>>     Justin
> >>>>
> >>>>
> >>>>     Quoting o renken <renkster at gmail.com <mailto:renkster at gmail.com
> >>:
> >>>>
> >>>>     > I thought about the same some days before. my idea was to use
> the
> >>>>     > glow-filter with full-alpha... but i havent tried it. maybe it
> >>>>     worth it to
> >>>>     > have a try?
> >>>>     > olee
> >>>>     >
> >>>>     > 2007/11/6, grapefruitlips <grapefruitlips at mail.ru
> >>>>     <mailto:grapefruitlips at mail.ru>>:
> >>>>     >>
> >>>>     >>  Hi!
> >>>>     >> Does anybody know how to draw a white border (20px) around a
> >>>>     plane with
> >>>>     >> precise bitmap material?
> >>>>     >>
> >>>>     >> var material:PreciseBitmapMaterial =  new
> PreciseBitmapMaterial(
> >>>>     >> LoadedImage.bitmapData);
> >>>>     >> material.interactive = true;
> >>>>     >> material.oneSide = true;
> >>>>     >> material.smooth = true;
> >>>>     >> p = new Plane( material, 500, 350);
> >>>>     >> _rootNode.addChild(p);
> >>>>     >>
> >>>>     >> Thanks
> >>>>     >>
> >>>>     >> _______________________________________________
> >>>>     >> Papervision3D mailing list
> >>>>     >> Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> >>>>     >> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >>>>     >>
> >>>>     >>
> >>>>     >
> >>>>     >
> >>>>     > --
> >>>>     > http://www.renkster.de/#/about/
> >>>>     >
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>     _______________________________________________
> >>>>     Papervision3D mailing list
> >>>>     Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> >>>>     http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> http://www.renkster.de/#/about/
> >>>>
> ------------------------------------------------------------------------
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>>
> >>>
> >> _______________________________________________
> >> 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
> >
> >
> >
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071106/e1892429/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
> End of Papervision3D Digest, Vol 14, Issue 48
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071106/bcc74a99/attachment-0001.html 


More information about the Papervision3D mailing list