Poof! No more errors :)

Fabrice

On Jan 25, 2010, at 4:28 PM, aleph1 wrote:

> Fabrice, can you see if you still experience the problems here:
> 
> http://clients.aleph-1.com/frontier/
> 
> Thanks.
> 
> d
> 
> On Jan 22, 3:46 am, Fabrice3D <[email protected]> wrote:
>> ah yes, might be player, i'm running the 10.1 that comes with the cs5 beta.
>> on other hand, the null pointer should be easy to spot as i imagine you do 
>> not have much in "_externalMouseEvent" callback.
>> 
>> the second also let me think you have a loop, where the iterator is not 
>> updated.
>> so there too, should not be too much of a problem to catch this even if the 
>> player you have do not reproduce.
>> 
>> I also can imagine the second error will be fixed the moment #1 is fixed 
>> since its triggered after first one with similar actions on screen.
>> Fabrice
>> 
>> On Jan 22, 2010, at 4:31 AM, aleph1 wrote:
>> 
>> 
>> 
>>> Fabrice, I can't seem to reproduce these no matter what I try. Have
>>> used the mousewheel while the Flash movie is loading and once it is
>>> complete, with and without clicking on the Flash movie or house. Can
>>> you confirm which version of the Flash plugin you have installed?
>> 
>>> Can anyone else see if they can reproduce this behaviour in Safari on
>>> 10.6.2? I'd like to try to fix it asap.
>> 
>>> Thanks!
>> 
>>> d
>> 
>>> On Jan 21, 3:34 pm, Fabrice3D <[email protected]> wrote:
>>>> this one occurs on wheel at first load if you do not press the roof, and 
>>>> directly mousewheel
>> 
>>>> TypeError: Error #1009: Cannot access a property or method of a null 
>>>> object reference.
>>>>         at com.pixelbreaker.ui.osx::MacMouseWheel/_externalMouseEvent()
>>>>         at Function/http://adobe.com/AS3/2006/builtin::apply()
>>>>         at flash.external::ExternalInterface$/_callIn()
>>>>         at Function/<anonymous>()
>> 
>>>> and here's another one: this one happends by combo press/wheel/move
>> 
>>>> Error: Error #1503: A script failed to exit after 30 seconds and was 
>>>> terminated.
>>>>         at away3d.containers::ObjectContainer3D/traverse()
>>>>         at away3d.containers::Scene3D/update()
>>>>         at away3d.containers::Scene3D/onUpdate()
>>>>         at flash.events::EventDispatcher/dispatchEventFunction()
>>>>         at flash.events::EventDispatcher/dispatchEvent()
>>>>         at away3d.containers::View3D/notifySceneUpdate()
>>>>         at away3d.containers::View3D/render()
>>>>         at com.frontier::TileEditorApplication/eEnterFrame()
>> 
>>>> Fabrice
>> 
>>>> On Jan 21, 2010, at 9:06 PM, aleph1 wrote:
>> 
>>>>> Fabrice, do you get that error consistently? I am running Safari on
>>>>> 10.6.2 as well, and haven't seen it. Were you in roof or detail view?
>>>>> Did it trigger when you used your mousewheel? Trying to recreate it so
>>>>> I can fix it.
>> 
>>>>> Yes, the tutorials will take some time. Unfortunately, they have to be
>>>>> slotted between client work. Soon…
>> 
>>>>> d
>> 
>>>>> On Jan 21, 3:54 am, Fabrice3D <[email protected]> wrote:
>>>>>>> Fabrice, can you confirm which OS and browser you experienced that
>>>>>>> error with. I haven't seen it on the Mac…
>> 
>>>>>> OSX 10.6.2. Safari.
>> 
>>>>>>> The windows and sky reflections are just a CompositeMaterial that
>>>>>>> consists of an EnviroBitmapMaterial and a BitmapMaterial with
>>>>>>> transparency. It is very easy to underestimate how powerful the
>>>>>>> materials system in Away3D is, and I am hoping to see some better
>>>>>>> tutorials on the site for new users. Who should I speak to about
>>>>>>> creating some new demos to show what is possible?
>> 
>>>>>> We cannot do it all, please make this tut (and more) and publish it, 
>>>>>> we'll be happy to feature it on the away3d.com tutorials page.
>> 
>>>>>>> To construct the UV maps the tiled roof, I built a simple tool that
>>>>>>> allows for the manipulation of textures on a model in real-time. It is
>>>>>>> very ugly, and is nothing compared to the beauty of Prefab.
>> 
>>>>>> Actually the UVmapper will be enhanced in future releases as its not 
>>>>>> doing all I want
>>>>>> plus the interface is not friendly/handy enough yet... Here same rule, 
>>>>>> if you have (improvements )ideas
>>>>>> Please them over.
>> 
>>>>>>> it works, and I could see this functionality being very useful to
>>>>>>> Away3D users who are trying to optimize large textures being reused
>>>>>>> across one or many models.
>> 
>>>>>> Reusing data or improving mapping is indeed too often forgotten.
>>>>>> While the bitmapdata capabilties in flash are so powerfull...
>> 
>>>>>>> I've been so negligent in terms of getting a blog together, and will
>>>>>>> try to get on this asap. There are a dozen or so demos I have put
>>>>>>> together on things from simulating specular highlights to fake
>>>>>>> lighting.
>> 
>>>>>> You're gonna be busy with all these tutorials! :))
>> 
>>>>>> Fabrice
>> 
>>>>>> On Jan 21, 2010, at 5:07 AM, aleph1 wrote:
>> 
>>>>>>> Fabrice, can you confirm which OS and browser you experienced that
>>>>>>> error with. I haven't seen it on the Mac…
>> 
>>>>>>> In terms of some more details, I am working on a blog post but here
>>>>>>> are a few items worth mentioning.
>> 
>>>>>>> The windows and sky reflections are just a CompositeMaterial that
>>>>>>> consists of an EnviroBitmapMaterial and a BitmapMaterial with
>>>>>>> transparency. It is very easy to underestimate how powerful the
>>>>>>> materials system in Away3D is, and I am hoping to see some better
>>>>>>> tutorials on the site for new users. Who should I speak to about
>>>>>>> creating some new demos to show what is possible?
>> 
>>>>>>> To construct the UV maps the tiled roof, I built a simple tool that
>>>>>>> allows for the manipulation of textures on a model in real-time. It is
>>>>>>> very ugly, and is nothing compared to the beauty of Prefab. However,
>>>>>>> it works, and I could see this functionality being very useful to
>>>>>>> Away3D users who are trying to optimize large textures being reused
>>>>>>> across one or many models. If I find some time in the next while I
>>>>>>> would like to clean this up and open-source it, but right now the code
>>>>>>> is a mess and a bit buggy.
>> 
>>>>>>> I've been so negligent in terms of getting a blog together, and will
>>>>>>> try to get on this asap. There are a dozen or so demos I have put
>>>>>>> together on things from simulating specular highlights to fake
>>>>>>> lighting. Away3D is very powerful at its core, but it is important to
>>>>>>> remember that the art of bluffing is often essential in terms of real-
>>>>>>> time 3D, especially with Flash.
>> 
>>>>>>> d
>> 
>>>>>>> On Jan 18, 5:41 pm, Fabrice3D <[email protected]> wrote:
>>>>>>>> Pitty these guys doesn't sale full houses! Very nice piece!
>> 
>>>>>>>> Fabrice
>> 
>>>>>>>> PS: you left this little one on the roof
>>>>>>>> TypeError: Error #1009: Cannot access a property or method of a null 
>>>>>>>> object reference.
>>>>>>>>         at com.pixelbreaker.ui.osx::MacMouseWheel/_externalMouseEvent()
>>>>>>>>         at Function/http://adobe.com/AS3/2006/builtin::apply()
>>>>>>>>         at flash.external::ExternalInterface$/_callIn()
>>>>>>>>         at Function/<anonymous>()
>> 
>>>>>>>> On Jan 18, 2010, at 10:19 PM, Peter Kapelyan wrote:
>> 
>>>>>>>>> Amazing, performs really fast here. The self shadows make it look 
>>>>>>>>> realistic. I also love whatever trick you used to simulate the sky 
>>>>>>>>> reflection! Nice job.
>>>>>>>>> -Pete
>> 
>>>>>>>>> On Mon, Jan 18, 2010 at 4:13 PM, aleph1 <[email protected]> 
>>>>>>>>> wrote:
>>>>>>>>> We recently launched an application for our client that utilizes the
>>>>>>>>> same model with two UV maps to allow for the simulation of self-
>>>>>>>>> shadows.
>> 
>>>>>>>>> The tiled version of the roof consists of heavily optimized UV
>>>>>>>>> coordinates that allow for the reuse of a dynamically created high res
>>>>>>>>> roof tile pattern. This was essential to the success of our project as
>>>>>>>>> users would be able to adjust the ratio of the tile colours, and pre-
>>>>>>>>> building this texture was not possible.
>> 
>>>>>>>>> The shadowed version of the roof consists of a greyscale image that is
>>>>>>>>> used to multiply the tiled roof model. We tried to find a solution
>>>>>>>>> that allows for real-time dynamic lighting, but it simply wasn't
>>>>>>>>> possible. One option that showed some promise was to render the shadow
>>>>>>>>> map into a video that simulated lighting from sunrise to sunset with
>>>>>>>>> the user being able to drag a slider to control the lighting. By
>>>>>>>>> interpolating between the frames in the video it is possible to
>>>>>>>>> simulate sunlight from almost any time of day by creating sample
>>>>>>>>> images at 30-minute to 1-hour increments. If anyone is interested I
>>>>>>>>> can try to assemble a demo showcasing this approach.
>> 
>>>>>>>>> You can see the final application here:
>> 
>>>>>>>>> Thank you to the Away3D team for making this possible.
>> 
>>>>>>>> http://frontiertiles.com/
>> 
>>>>>>>>> --
>>>>>>>>> ___________________
>> 
>>>>>>>>> Actionscript 3.0 Flash 3D Graphics Engine
>> 
>>>>>>>>> HTTP://AWAY3D.COM

Reply via email to