Hey le_unam

sometimes, these lines appear when the edge of a face borders two other face
edges. You can imagine this happening with a large floor plane (two faces)
and smaller wall planes to create things like windows or other features.
Where the face split meets the continuous face of the floor, you will see
these artifacts due to rounding errors caused by the internal Bresenham
algorithms used to rasterise tris in the flash player. One way of
alleviating this is to turn on high quality rendering in the player, but
this is obviously something that could slow down the rendering depending on
the complexity of your scene. but a reliably way of dealing with this is at
the geometry creation stage - just make sure each triangle in your geometry
have face edges that exactly match other face edges. so this:
   /\
  /  \
 /    \
/___\
\      /
 \    /
  \  /
   \/
is fine, but this:


 /\  /\
/_\/_\
\      /
 \    /
  \  /
   \/

will cause problems

hth

Rob


On Thu, Sep 30, 2010 at 2:18 PM, Freddie schroots <[email protected]>wrote:

> Sometimes doing a uvcrop in prefab removes the lines, you can try baking
> the textures on a colored background so the edges are less visible.
>
> 2010/9/30 joebass <[email protected]>
>
> I had a similar problem.  I worked around it by subdividing the area
>> that was flickering.  Hard to describe so I put a picture called
>> FlickerFix.png in the files section.
>>
>> On Sep 30, 3:11 am, le_unam <[email protected]> wrote:
>> > no ideas? :-(
>> >
>> > On 29 Sep., 10:09, le_unam <[email protected]> wrote:
>> >
>> >
>> >
>> > > i`ve tried a few times again and the only thing i can say is that the
>> > > problems only appears when two planes are side by side looking in the
>> > > same direction. i dont get this lines in normal cubes when two planes
>> > > build an edge. but when they are side by side, for example to build a
>> > > window then these renderlines are shown :-(
>> > > does nobody has an answer? Fabrice? In your bunker demo, i dotn see
>> > > these lines ... why??? how did you get it looking so good ^^
>> >
>> > > On 28 Sep., 16:17, le_unam <[email protected]> wrote:
>> >
>> > > > Hey Fabrice,
>> >
>> > > > it would be nice if you could help me with my environment issue. i
>> > > > wnat to be able to look outside the windows of my building so that i
>> > > > can see whats outside. for this i tried to place a inverted big cube
>> > > > outside my bsp tree, but this doesnt work. do you know why? how
>> would
>> > > > you do that?
>> >
>> > > > But i still have another problem. i think i told you about this
>> before
>> > > > and you explained how to use the blur. do you think the blur can
>> > > > remove the lines between nearly planes? in the picture you can see
>> > > > which lines i mean.
>> http://away3d-dev.googlegroups.com/web/error.jpg?gsc=0BV0VQsAAADa_oiS...
>> >
>> > > > how can i remove them, cause when i walk through my building
>> > > > everything is kind of flickering ... thats not really nice- Hide
>> quoted text -
>> >
>> > - Show quoted text -
>
>
>


-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to