[Papervision3D] Michael:Moving on top of Sphere

fredfoc contact at fredfoc.com
Tue Aug 4 12:41:42 PDT 2009


Spherical coordinates are good for that :-)
Regards
Fred

Michael Iv a écrit :
> How can I move an Object on top of Sphere so that the sphere's surface used
> as it's floor?
>
> On Tue, Aug 4, 2009 at 10:00 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. Event for Know when object is outside to the scene (ths otra)
>>   2. Re: Event for Know when object is outside to the scene
>>      (nospam at therossman.org)
>>   3. How to capture events from a MXLM component in a
>>      MovieMaterial? (aboteler)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 4 Aug 2009 12:26:18 +0000 (GMT)
>> From: ths otra <ths_otra at yahoo.fr>
>> Subject: [Papervision3D] Event for Know when object is outside to the
>>        scene
>> To: papervision3D at osflash.org
>> Message-ID: <509729.4763.qm at web24406.mail.ird.yahoo.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hello Papervision List !
>>
>> I'm new in papervision and i need to use the class Text3D and
>> LetterMaterial.
>>
>> For optimizing better, i would like to know if it exists an Event could say
>> to me when an Text3D object was outside  scene ... like the Event:
>> Event.ACTIVATE for example ?
>>
>> Thanks in advance and sorry for my english... ;-)
>>
>>
>>
>> Thomas
>>
>>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090804/6290dbf9/attachment-0001.html
>>     
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 4 Aug 2009 07:37:56 -0700
>> From: nospam at therossman.org
>> Subject: Re: [Papervision3D] Event for Know when object is outside to
>>        the scene
>> To: papervision3d at osflash.org
>> Message-ID:
>>        <089affc224a91760cc27ca48e2bb7513.squirrel at webmail.therossman.org>
>> Content-Type: text/plain;charset=iso-8859-1
>>
>>
>> Maybe this will help?
>>
>>
>> http://pv3d.org/2009/07/01/test-if-a-plane-is-within-the-view-of-the-camera-aka-testing-if-culled/
>>
>> Cheers
>>
>>     
>>> Hello Papervision List !
>>>
>>> I'm new in papervision and i need to use the class Text3D and
>>> LetterMaterial.
>>>
>>> For optimizing better, i would like to know if it exists an Event could
>>> say to me when an Text3D object was outside  scene ... like the Event:
>>> Event.ACTIVATE for example ?
>>>
>>> Thanks in advance and sorry for my english... ;-)
>>>
>>>
>>>
>>> Thomas
>>>
>>>
>>>       _______________________________________________
>>> Papervision3D mailing list
>>> Papervision3D at osflash.org
>>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>>
>>>       
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 4 Aug 2009 10:05:47 -0700 (PDT)
>> From: aboteler <aboteler at harris.com>
>> Subject: [Papervision3D] How to capture events from a MXLM component
>>        in a MovieMaterial?
>> To: papervision3D at osflash.org
>> Message-ID: <24812045.post at talk.nabble.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>> Hello,
>>
>> I have a 3D virtual world containing 50+ objects where each has a separate
>> instantiation of an MXML Canvas component attached to a MovieMaterial
>> painted on the objects front face. The component has a button, slider,
>> checkbox, and a radio button. Also in that MXML file I specify an event
>> handler for when a click happens.
>>
>> Unfortunately, the event handler is never called. I need help with
>> understanding the eventing flow in this case and how to fix it.  I believe
>> it has to do with the event going to PV3D and then somehow needs to flow to
>> the particular instantiation.
>>
>> Thanks,
>>
>> Aaron
>>
>> FYI,
>>
>> Here's the MXML class
>> <?xml version="1.0" encoding="utf-8"?>
>> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
>>        width="200" height="200" backgroundColor="#FFEA00">
>>
>>        <mx:VBox>
>>                <mx:Button id="btn" label="button" width="80" />
>>                <mx:HSlider width="230" />
>>        <mx:CheckBox label="Checkbox" />
>>        <mx:RadioButton label="Radio" />
>>        </mx:VBox>
>>    <mx:Script>
>>    <![CDATA[
>>    public function youClicked(evt : MouseEvent) : void
>>    {
>>        trace("mouse button clicked");
>>    }
>>    ]]>
>>    </mx:Script>
>> </mx:Canvas>
>>
>> And, here's the section of code that adds it to the stage and cube:
>>
>> var material:MovieMaterial;
>> material = new MovieMaterial(new MXMLNode(),false,true,true);
>> material.smooth = true;
>> material.interactive = true;
>> material.allowAutoResize = false;
>>
>> // Material list with MovieMaterial used on the front, the rest being flat
>> shaded
>> var colorMaterial:MaterialObject3D = new ColorMaterial(0x02AABB);
>> colorMaterial.interactive = true;
>>
>> var materialList:MaterialsList = new
>> MaterialsList({"all":colorMaterial,"front":material});
>>
>> // create a new interactive projector
>> var projector:ProjectorCube = new ProjectorCube(id,materialList,
>> NODE_WIDTH,
>> NODE_DEPTH, NODE_HEIGHT);
>> projector.addEventListener(InteractiveScene3DEvent.OBJECT_DOUBLE_CLICK,
>> onMouseDoubleClickOnObject);
>> projector.addEventListener(InteractiveScene3DEvent.OBJECT_OVER,
>> onMouseOverObject);
>> projector.addEventListener(InteractiveScene3DEvent.OBJECT_OUT,
>> onMouseOutObject);
>>
>> // add it to the display list
>> node.visible=false;
>> this.addChild(node);
>>
>> // add the projector to the scene, being part of the object group
>> scene.addChild(projector);
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-capture-events-from-a-MXLM-component-in-a-MovieMaterial--tp24812045p24812045.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
>>
>>
>> End of Papervision3D Digest, Vol 35, Issue 6
>> ********************************************
>>
>>     
>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4306 (20090804) __________
>
> Le message a été vérifié par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4306 (20090804) __________
>
> Le message a été vérifié par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>   



More information about the Papervision3D mailing list