Nice! Looks awesome btw, hopefully you'll let us see it when you are done :)

-Pete

On Thu, Apr 2, 2009 at 1:58 PM, charlesgallant <[email protected]>wrote:

>
> SUCCESS!  Found it for FP10:
>
> line 448:
> layerGraphics.beginBitmapFill(bitmap, m, repeat, smooth && area > 50);
>
> line 455:
> graphics.beginBitmapFill(bitmap, m, repeat, smooth && area > 50);
>
> AWESOME!!!!!  THANK YOU!!!!!!
>
>
> On Apr 2, 1:50 pm, charlesgallant <[email protected]> wrote:
> > Woah... thanks for looking so deep into this!!!  Unfortunately for
> > this, I've gotta use Flash Player 10.
> >
> > On Apr 2, 1:44 pm, Peter Kapelyan <[email protected]> wrote:
> >
> > > Look for this line in away3d/core/render/AbstractRenderSession.as for
> > > version 9:
> >
> > > line 636
> > > graphics.beginBitmapFill(bitmap, m, repeat, smooth && (v0x*(d2 - b2) -
> > > v1x*d2 + v2x*b2 > 400));
> >
> > > The 400 at the end, change it to a lower number, say 50 or something.
> I'm
> > > thinking this will resolve your problem.
> >
> > > Let me know
> >
> > > -Pete
> >
> > > On Thu, Apr 2, 2009 at 1:39 PM, Peter Kapelyan <[email protected]>
> wrote:
> > > > I have the answer to your question, what version are you using? 9 or
> 10?
> >
> > > > -Pete
> >
> > > >   On Thu, Apr 2, 2009 at 1:26 PM, charlesgallant <
> [email protected]
> > > > > wrote:
> >
> > > >> Thanks for the quick reply Peter.
> >
> > > >> In the below screenshot I resized the entire cylinder, in both it's
> 3d
> > > >> shape (redrawn completely, not using scale() ) and the dimensions of
> > > >> it's material.  In other words, it's a smaller bitmap, and a smaller
> > > >> object.  All other circumstances are the same; the left cylinder is
> > > >> just pushed back a bit in z space.  Unfortunately, it seems like it
> > > >> had no effect:
> >
> > > >>http://rd4t.com/away_question_2.jpg
> > > >> Things closer to the camera are still smooth, while things further
> > > >> away aren't.
> >
> > > >> It seems like the problem specifically lies in the object's distance
> > > >> from the camera.  As I move each cylinder back and forth, you can
> see
> > > >> it passing through that smooth threshold (below).
> >
> > > >>http://rd4t.com/away_question_3.jpg*note that these distortions
> > > >> aren't caused by the curvature of the cylinder; moving it closer to
> > > >> the camera smooths them out.
> >
> > > >> Creating a smaller object and moving it towards the camera (and
> > > >> therefore inside this smoothing threshold that seems to exist) isn't
> > > >> an option for my particular project; it has to sit back in z-space.
> >
> > > >> Any thoughts?  Anyone else have these issues?  I just need to get an
> > > >> object that's far away to appear smooth!
> >
> > > >> On Apr 2, 10:03 am, Peter Kapelyan <[email protected]> wrote:
> > > >> > Whoopsie I meant to say two bitmaps. If you take a large bitmap
> and size
> > > >> it
> > > >> > down in Flash, you should see the same thing you are seeing in
> Away3D.
> >
> > > >> > The solution might be to have a smaller resolution bitmap, or one
> that
> > > >> > matches the size of the smaller one you are viewing.
> >
> > > >> > Another thing that might work is a small touch of blur, although
> blurry
> > > >> text
> > > >> > isn't a good thing, and I haven't tried it, it might help a bit,
> but
> > > >> > shouldn't help as much as the latter idea (for text).
> >
> > > >> > -Pete
> >
> > > >> > On Thu, Apr 2, 2009 at 8:04 AM, Peter Kapelyan <
> [email protected]>
> > > >> wrote:
> > > >> > > Flash does not "smooth down" nearly as good as it smooths up.
> >
> > > >> > > Can you try this experiment with just two movieclips in Flash
> and see
> > > >> if
> > > >> > > you get the same results?
> >
> > > >> > > -Pete
> > > >> > >   On Thu, Apr 2, 2009 at 5:19 AM, charlesgallant <
> > > >> [email protected]
> > > >> > > > wrote:
> >
> > > >> > >> Hi!
> >
> > > >> > >> I'm having problems with smoothing on materials.  Does Away3D
> have a
> > > >> > >> specific viewing distance that governs when a material is
> smoothed?
> > > >> > >> If seems like if I move my object far enough away from the
> camera in
> > > >> z
> > > >> > >> space, all the aliasing is lost.
> >
> > > >> > >>http://rd4t.com/away_question.jpg
> >
> > > >> > >> Above is a screenshot of two identical objects, each at
> different
> > > >> > >> distances.  See what I mean?  Any way to get around this, or
> adjust
> > > >> > >> this threshold?
> >
> > > >> > >> Thanks in advance,
> > > >> > >>   C
> >
> > > >> > > --
> > > >> > > ___________________
> >
> > > >> > > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > > >> > > HTTP://AWAY3D.COM <http://away3d.com/> <http://away3d.com/> <
> http://away3d.com/>
> >
> > > >> > --
> > > >>  > ___________________
> >
> > > >> > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > > >> > HTTP://AWAY3D.COM <http://away3d.com/> <http://away3d.com/>
> >
> > > > --
> > > >  ___________________
> >
> > > > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > > > HTTP://AWAY3D.COM <http://away3d.com/> <http://away3d.com/>
> >
> > > --
> > > ___________________
> >
> > > Actionscript 3.0 Flash 3D Graphics Engine
> >
> > > HTTP://AWAY3D.COM <http://away3d.com/>
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to