eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingminmax(a,b,c)Re: minmax(a,b,c)
  • X-Received: by 10.49.59.17 with SMTP id v17mr61770qeq.3.1386331644556; Fri, 06 Dec
    2013 04:07:24 -0800 (PST)
    X-Received: by 10.49.59.17 with SMTP id v17mr61770qeq.3.1386331644556; Fri, 06 Dec
    2013 04:07:24 -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!newsfeed.pionier.net.pl!news.glorb.com!bm17no16032578qab.0
    !news-out.google.com!p7ni11074qat.0!nntp.google.com!p15no7701613qaj.0!postnews.
    google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
    Newsgroups: pl.comp.programming
    Date: Fri, 6 Dec 2013 04:07:24 -0800 (PST)
    In-Reply-To: <7...@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>
    User-Agent: G2/1.0
    MIME-Version: 1.0
    Message-ID: <0...@g...com>
    Subject: Re: minmax(a,b,c)
    From: firr <p...@g...com>
    Injection-Date: Fri, 06 Dec 2013 12:07:24 +0000
    Content-Type: text/plain; charset=ISO-8859-1
    Content-Transfer-Encoding: quoted-printable
    Xref: news-archive.icm.edu.pl pl.comp.programming:204772
    [ ukryj nagłówki ]

    >
    > - 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

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

  • 06.12.13 13:15 firr
  • 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: