eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingminmax(a,b,c)Re: minmax(a,b,c)
  • X-Received: by 10.49.6.41 with SMTP id x9mr460qex.36.1386332118595; Fri, 06 Dec 2013
    04:15:18 -0800 (PST)
    X-Received: by 10.49.6.41 with SMTP id x9mr460qex.36.1386332118595; Fri, 06 Dec 2013
    04:15:18 -0800 (PST)
    Path: news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask
    .pl!news.nask.org.pl!news.unit0.net!news.glorb.com!news-out.readnews.com!news-x
    xxfer.readnews.com!209.85.216.87.MISMATCH!bm17no16044654qab.0!news-out.google.c
    om!p7ni11074qat.0!nntp.google.com!p15no7713321qaj.0!postnews.google.com!glegrou
    psg2000goo.googlegroups.com!not-for-mail
    Newsgroups: pl.comp.programming
    Date: Fri, 6 Dec 2013 04:15:18 -0800 (PST)
    In-Reply-To: <0...@g...com>
    Complaints-To: g...@g...com
    Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.56.76.118;
    posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
    NNTP-Posting-Host: 178.56.76.118
    References: <5...@g...com>
    <l7nqcc$q5f$1@node2.news.atman.pl>
    <5...@g...com>
    <l7nt2e$so1$1@node2.news.atman.pl>
    <5...@g...com>
    <l7o5nr$5v8$1@node2.news.atman.pl>
    <c...@g...com>
    <f...@g...com>
    <1...@g...com>
    <2...@g...com>
    <7...@g...com>
    <0...@g...com>
    User-Agent: G2/1.0
    MIME-Version: 1.0
    Message-ID: <2...@g...com>
    Subject: Re: minmax(a,b,c)
    From: firr <p...@g...com>
    Injection-Date: Fri, 06 Dec 2013 12:15:18 +0000
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable
    Xref: news-archive.icm.edu.pl pl.comp.programming:204773
    [ ukryj nagłówki ]

    W dniu piątek, 6 grudnia 2013 13:07:24 UTC+1 użytkownik firr napisał:
    > >
    >
    > > - dlalej kazy trojkat jest transformowany do
    >
    > >
    >
    > > pozycji kamery rzutowany i clipowany, to zajmuje ze 30% ( z tego klipowania jakos
    chyba wyjatkowo nie jestem zadowolony ale na razie nie mam pomyslu)
    >
    > >
    >
    > >
    >
    >
    >
    > hehe akurat wymyslilem cos (zapisalem wczesniej
    >
    > po angielsku na inne forum)
    >
    >
    >
    >
    >
    > well after some thinking i invented something:
    >
    >
    >
    >
    >
    > precomputing the visiblity, it goes such way:
    >
    >
    >
    > from the given point of view (there are sphere of them) some triangles of the model
    (say 30%) are visible other (70%) are not - Divide this sphere on say 64 patches and
    precompute for every triangle if it is seen from this 'patch'
    >
    >
    >
    > (it would be heavy to precompute, for example cost of rendering a couple of frames
    from couple of places on the patches, the testet traingle the last to check if it
    pass the depth buffer -
    >
    > so this is cost of 64patches x 5 places x noOfTriangles so for example for this
    model 320x300 000 = 90 MFrames this is a lot of precomputing :C but can be done i
    think)
    >
    >
    >
    > then set the corresponding bit in some 64 word of flags 1 means form this patchg of
    visibility this triangle is seen - that should be very simple to use and top eficient
    clipping method :U - though this precomputation time scares me but this can be
    optymized

    (for example it is easy to sign the triangles that goes out for sure, it is harder to
    make sure the one that previously passed will is totaly overvritten so it is also
    goes out, bout
    probably by rendering in changed direction and suming the onet that goes out will
    give the sum of the set that is invisible)

    I will try to implement it and check how it is working after some resting i should
    take

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

  • 07.12.13 16:16 firr

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: