Keresés

Aktív témák

  • tomcs

    őstag

    válasz J.J. András #6 üzenetére

    jozan paraszti esszel gondolkodva.. 16 bit az 65536 ertek 24 bit ennek 256-szorosa , 16777216. tehat a keppontok melysegkoordinatai par nagysagrenddel pontosabban lesznek leirva. sejtesem szerint olyasmi le7 a kulonbseg mint pl 16-32-meg tobb bit szinmelyseg eseten, az se a tobb lathato szin miatt kell hanem elvegez rajta 1 csomo szamitast akkor nem mindegy hogy lepesenkent mekkora nagysagrendben kerekit

  • tomcs

    őstag

    válasz RECSKA #4 üzenetére

    eloszoris.. jaaaaaaaj... nem az volt a kerdes hogy a 16 a tobb vagy a 24 :) 2. utananeztem, semmi koze a szinekhez.

    ''What is z-buffer?

    The principal problem of 3D objects is that they must be drawn on a 2D surface (that of the screen in computer art). The z-buffer is a part of the memory (usually an array) where the positions of each point in the depth dimension are stored. This information is then used to determine what parts of the object are visible and what parts are hidden by those in front of them. In ray-tracing programs, this information is also used to calculate the distance of each point to the light source and therefore its brightness.''

    magyarul kb:
    a 3d objektumokat 2d feluletre kell lekepezni (szamgepen monitorra) a z-buffer altalaban egy tomb a memoriaban, ahol a pontok melyseg koordinatai vannak tarolva. arra hasznaljak hogy melyik pixel lathato es melyik van hatterben. ray-tracing eseten arra is, hogy a pont fenyforrastol valo tavolsagat meghatarozzak, azaz a fenyesseget

Aktív témák