Hi John,
Prefab code is a bit alienated from official away, its more or less a big mix
of 2.5 up to 3.6 with many added Prefab only features.
as I need to cover most of the exiting features regarding imports and exports.
but when it comes to BSP, it should be 1/1 tho
the BSP preview uses simply these two lines to define the View3D
_view = new View3D({x:centerX, y:centerY, clipping: new NearfieldClipping()});
_view.camera.lens = new PerspectiveLens();
if you try the svn/branches/bsp away version, do you get the same issues?
Fabrice
On Dec 8, 2010, at 10:03 AM, John Wilson wrote:
> Hi Again,
>
> I have discovered another wierd thing. When I view the BSP/PVS model
> in the preFab preview I cannot see through the walls, but when I run
> it within my project I can. I have reset all the BSP constants, camera
> settings, etc in my project to those in the .as file preFab exports,
> but still I can see through the walls. However, it is only those
> walls that lie on the z axis and that I collide with when my camera's
> z position is decreasing. In other words it is the walls I hit when
> the camera has a rotation between 90 and 270 degrees. Just to be
> clear, I can't pass through the walls, I can just see through them.
>
> I can only think there is a difference between the Away3D Graphs or
> Physics code that preFab is using and the same libraries in the latest
> SVN.
>
> Any help would be greatly appreciated.
>
> Regards,
>
> John Wilson
>
> On Dec 7, 4:40 pm, John Wilson <[email protected]>
> wrote:
>> Hi,
>>
>> This is an odd problem. When I collide with a some walls I can see
>> through them, but I cannot walk through them. It only happens with
>> walls that are aligned North to South that the camera approaches from
>> the East. You can see it happening at:
>>
>> http://john-wilson.110mb.com/walford.html
>>
>> When the model loads, go forward a few steps, turn to your right and
>> take a few steps towards the railway bridge, then turn right again so
>> that you are facing a wall with a large advertising poster. Walk into
>> the wall. When you hit it you will be able to see though it.
>>
>> Any advice would be most welcome.
>>
>> Regards,
>>
>> John Wilson