ah good point, you are using F9 branch... Just commited it to f9 trunk. Fabrice On Mar 8, 2010, at 9:28 AM, Stefan wrote:
> Hi Fabrice, > thanks for the explanation! > > I'm stuck with the AwayConnector class. It tries to import > away3d.events.ExporterEvent. But this class is missing in my > installation. > I checked online docs and the tree at > http://away3d.googlecode.com/svn/tags/3.4.0/src/away3d/events > - could not find ExporterEvent. > > May I ask for advice again? > > Stefan > > > > On 7 Mrz., 20:12, Fabrice3D <[email protected]> wrote: >> Hi Stephan, >> Thats easy. Open Prefab, open menu 'file' >> select 'import from Away connection" >> press connection class and savethe as3 file in "away3d.material.utils.data" >> >> open you flash project, import this class >> after your objects are loaded/generated, in your code >> declare the class and pass your object(s) >> >> like this >> >> var connector:AwayConnector = AwayConnector(); >> connector.send(myObject3D); >> >> few secs later, the object3d(s) are in Prefab >> with no materials tho... >> >> also shapes might be inversed, this is an issue i'm busy fixing >> if its the case, select your mesh, in properties, set scalex to -1 and apply >> scale >> >> in upcomming version, it will no longer be necessary to do so. >> >> Fabrice >> >> On Mar 7, 2010, at 10:21 AM, Stefan wrote: >> >>> Thanks Pete! I certainly will, but it's still far from beeing >>> cool ... =) >> >>>>> If you throw that room in Preb you might be able to put some realist >>>>> lighting and shadow on that room, just a thought! >> >>> I know I could export the whole thing and then load it into Prefab. >>> But can't find this post anymore where I guess Fabrice3D explained how >>> to connect your movie and Prefab "on the fly". What would be a good >>> search term to start? >> >>> Stefan >> >>> On 6 Mrz., 16:36, Peter Kapelyan <[email protected]> wrote: >>>> You are welcome! >> >>>> If you have something playable/testable etc at some point, just keep us >>>> informed! It looks like a cool project! >> >>>> If you throw that room in Preb you might be able to put some realist >>>> lighting and shadow on that room, just a thought! >> >>>> -Pete >> >>>> On Sat, Mar 6, 2010 at 7:05 AM, Stefan <[email protected]> wrote: >> >>>>> Hello Pete, that works! =) >> >>>>> This is the normal browser view: >>>>> http://away3d-dev.googlegroups.com/web/screenshot01.jpg >> >>>>> When I switch to fullscreen just using this single line ... >>>>> stage.displayState=StageDisplayState.FULL_SCREEN; >> >>>>> ... it looks like this (and frame rate drops to some 13 FPS): >>>>> http://away3d-dev.googlegroups.com/web/screenshot02.jpg >> >>>>> But if I add your code ... >> >>>>> var scalingRect:Rectangle=new Rectangle(0,0,500,375); >>>>> stage["fullScreenSourceRect"]=scalingRect; >>>>> stage.displayState=StageDisplayState.FULL_SCREEN; >> >>>>> ... it looks like this (with the same framerate as in normal browser >>>>> view =): >>>>> http://away3d-dev.googlegroups.com/web/screenshot03.jpg >> >>>>> Thank you! >>>>> Stefan >> >>>>> On 5 Mrz., 18:23, Peter Kapelyan <[email protected]> wrote: >>>>>> I dug up some old code that was never used, maybe it might help or make >>>>>> sense: >> >>>>>> var scalingRect:Rectangle=new Rectangle(0,0,768,432); >>>>>> stage["fullScreenSourceRect"]=scalingRect; >>>>>> if (stage.displayState==StageDisplayState.NORMAL) { >>>>>> stage.displayState=StageDisplayState.FULL_SCREEN;} else { >> >>>>>> stage.displayState=StageDisplayState.NORMAL; >> >>>>>> } >> >>>>>> Notice the rectangle which should be the size of your swf now...don't >>>>> know >>>>>> if this is all the code you'll need but obviously it's very different >>>>> that >>>>>> just plain fscommand("fullscreen", "true"); >> >>>>>> -Pete >> >>>>>> On Fri, Mar 5, 2010 at 12:15 PM, Peter Kapelyan <[email protected]> >>>>> wrote: >>>>>>> There is an option to turn off scaling and such, try to play around. I >>>>>>> don't see why frame rate would increase if the SWF stays the same >>>>>>> resolution, in fact it *should* be faster since there is nothing else >>>>> on >>>>>>> screen. >> >>>>>>> -Pete >> >>>>>>> On Fri, Mar 5, 2010 at 12:09 PM, Stefan <[email protected] >>>>>> wrote: >> >>>>>>>> Hello Pete, Hello all, >>>>>>>> just tried in fullscreen (with standalone player and embedded in >>>>>>>> website). Also chews up frames. >> >>>>>>>> Well, worth a try =) >>>>>>>> Thanks for your help! >> >>>>>>>> On 5 Mrz., 17:27, Stefan <[email protected]> wrote: >>>>>>>>> Thanks Pete! I will give fullscreen a try =) >> >>>>>>>>> On 5 Mrz., 16:38, Peter Kapelyan <[email protected]> wrote: >> >>>>>>>>>> No, the more "stage" the flash player has to render, the slower it >>>>>>>> would be. >>>>>>>>>> You can try the reverse, make the SWF in the HTML smaller, and see >>>>> it >>>>>>>> go >>>>>>>>>> faster. This has to do with redraw regions also. >> >>>>>>>>>> As an alternative, try using the fullscreen function, that would >>>>>>>> maintain >>>>>>>>>> your resolution, but scale your monitor down, and it should run >>>>> just >>>>>>>> as >>>>>>>>>> fast. >> >>>>>>>>>> -Pete >> >>>>>>>>>> On Fri, Mar 5, 2010 at 10:24 AM, Stefan < >>>>> [email protected]> >>>>>>>> wrote: >>>>>>>>>>> Hello all, >>>>>>>>>>> created a scene with the size of 500x375 pixels. Then embedded >>>>> it >>>>>>>> into >>>>>>>>>>> a html page and set the width an hight properties 1000x750. >> >>>>>>>>>>> Actually I thought that this would not affect the framerate (as >>>>> it's >>>>>>>>>>> only scaling the already rendered objects, right?) - but it >>>>> does. >>>>>>>>>>> Frames per second dropped from average 35 frames to 15 frames. >> >>>>>>>>>>> What am I doing wrong? Could somebody please explain? Is there a >>>>> way >>>>>>>>>>> to scale the movie without loosing frames? >> >>>>>>>>>>> Thanks in advance, >>>>>>>>>>> Stefan >> >>>>>>>>>> -- >>>>>>>>>> ___________________ >> >>>>>>>>>> Actionscript 3.0 Flash 3D Graphics Engine >> >>>>>>>>>> HTTP://AWAY3D.COM >> >>>>>>> -- >>>>>>> ___________________ >> >>>>>>> Actionscript 3.0 Flash 3D Graphics Engine >> >>>>>>> HTTP://AWAY3D.COM >> >>>>>> -- >>>>>> ___________________ >> >>>>>> Actionscript 3.0 Flash 3D Graphics Engine >> >>>>>> HTTP://AWAY3D.COM >> >>>> -- >>>> ___________________ >> >>>> Actionscript 3.0 Flash 3D Graphics Engine >> >>>> HTTP://AWAY3D.COM
