Inferno #05
30 апреля 2004

For Coderz - Nuances Raycasting-a.

<b>For Coderz</b> - Nuances Raycasting-a.
Raycasting note


   Article Shiru Otaku pro reykasting was
removed from the unpublished material
Adventurer # 14. In accordance with the traditions of our 
publication (or rather, his Guide-part;), it also features my 
remarks. Naturally, my opinion is not true

of last resort. By the way, this material, laced with enough 
personal misunderstanding on the part of the lecturers, taught 
on the course "Computer Graphics" in the area third-year 
specialty software providing something something and something 
something. "Spektrumistam study at university to I do not 
advise this specialty. 


   Initially, the article contained an opinion
that the character can not rotate on an axis perpendicular to 
the screen. Here's how: 



   However, my part, I believe that
possible. To do this, build a picture, though the hero does not 
revolved around this axis, and then transfer the image onto the 
screen in the rotated form.



   Of course, this can rarely be necessary,
but suddenly? In the demo, for example ...



   Wall at 45 ° (ie, NE to SW or NW
on the SE) can be realized in the standard
reykastinge, and in my version, where a continuous scan. In the 
second case it otniet not so much CPU time, but This number 
teoreticheski.Poskolku the scan will be very difficult. At the 
entrance in each block to check whether there

diagonal wall, and if so, what -
according to its type must occur
transition to the desired option of the inner loop. In 
processing the diagonal options one of the coordinates to be 
distorted: X = X + Y, or X = XY, or Y = X + Y, or Y = XY, in

Depending on the type of wall and directions
entrance to the cube. The same should be done with variables 
that contain step. Then the cycle will work as usual, 
t.e.slozhenie with access to overflow. 



   Actually, the standard reykastinge,
if the type of dice to the wall to know in advance
the rate of fall was not a factor of 2. But the algorithm seems 
even wiser. 


                               Alone Coder




Other articles:

CacheVox - The code for import and subsequent playback of digital music from floppy disks.

For Coderz - RAYCASTING - make yourself a little DOOM'a. Tracing algorithm 3D maze in the game WOLF.

Inferno - O magazine.

DIY - Fits the mouse from the Amiga to the ZX Spectrum.

Softinka - an overview screen wrappers for ZX Spectrum.

Inferno - The authors and editorial contacts.

Gameland - description of the game Stronghold (Bastion).

Softinka - Package CacheVox v1.0 to import and play digital music from floppy disks.

Interview - an interview with Disabler'om - coder, artist and zhelezyachnikom from Rostov-on-Don.

Others - Bugs writing to floppy disks. Causes and methods of struggle.

Gameland - Short description of the problems the game Dune: Imperia 2.

Inferno - Errors in the previous numbers.

For Coderz - Small programmers' tricks.

Spectrum - compressed data format on the ZX Spectrum.

Gameland - the game Hexagonal Filler.

Softinka - Hrum 3.5i - the fastest LZ-extractor with the bit stream.

DIY - Production of the tail for the mouse.

Iron - We investigate the chip K561IE10A.

Iron - We investigate the chip KR1533IE7.

Iron - We investigate the chip K561TL1. .

Softinka - display compressor Laser Compact 4.0.

Inferno - Letters to the Editor.

Softinka - Compressor texts MS Pack 01.96.

Inferno - On the shell.

Softinka - the benefits archiver Rar.

Softinka - Packer RGB images Powerful Code Decreaser v6.2.

Likbez - What are the plus and minus voltage.

Likbez - How does the protection of the circuit elements.

For Coderz - Nuances Raycasting-a.

Softinka - Real Information Packer 0.2x - one of the most powerful compressor on the ZX.

For Coderz - autobuild program. Optimize the assembly process.

Inferno - Intro.

Others - The results of the survey.

Others - The Compo. On the survey.

About Spectrum - thinking about the future of the Spectrum.

Iron - Once again, the protection circuits KR1818VG93.


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Advertising - Advertising and announcements.
solid jokes - Collected sayings of Soviet officers (continued).
Mailbox - GENERAL SOUND - ready.
Advertising - Advertisements and announcements ...
System - a detailed analysis of the music editor for AY - "Sound Tracker".

В этот день...   2 May