look outside a window and flickering lines

15 views
Skip to first unread message

le_unam

unread,
Sep 28, 2010, 10:17:13 AM9/28/10
to Away3D.dev
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_oiSNNWYeLEU5Hm9-zYV

how can i remove them, cause when i walk through my building
everything is kind of flickering ... thats not really nice

le_unam

unread,
Sep 29, 2010, 4:09:14 AM9/29/10
to Away3D.dev
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 <le_u...@hotmail.de> 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...

le_unam

unread,
Sep 30, 2010, 3:11:58 AM9/30/10
to Away3D.dev
no ideas? :-(

joebass

unread,
Sep 30, 2010, 8:54:17 AM9/30/10
to Away3D.dev
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.
> > > everything is kind of flickering ... thats not really nice- Hide quoted text -
>
> - Show quoted text -

Freddie schroots

unread,
Sep 30, 2010, 9:18:51 AM9/30/10
to away3...@googlegroups.com
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 <moderat...@gmail.com>

Rob Bateman

unread,
Oct 4, 2010, 10:15:44 AM10/4/10
to away3...@googlegroups.com
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
--
Rob Bateman
Flash Development & Consultancy

rob.b...@gmail.com
www.infiniteturtles.co.uk
www.away3d.com
Reply all
Reply to author
Forward
0 new messages