Sponsored Content
Full Discussion: A little help please
Top Forums Shell Programming and Scripting A little help please Post 302145580 by immyakram on Wednesday 14th of November 2007 04:52:33 PM
Old 11-14-2007
Thanks prorter i got it now. Smilie

Any chance you being able to do any of the above scripts and then going through them with me.
 
scene_gap(3alleg4)						  Allegro manual						scene_gap(3alleg4)

NAME
scene_gap - Number controlling the scene z-sorting algorithm behaviour. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern float scene_gap; DESCRIPTION
This number (default value = 100.0) controls the behaviour of the z-sorting algorithm. When an edge is very close to another's polygon plane, there is an interval of uncertainty in which you cannot tell which object is visible (which z is smaller). This is due to cumulative numerical errors for edges that have undergone a lot of transformations and interpolations. The default value means that if the 1/z values (in projected space) differ by only 1/100 (one percent), they are considered to be equal and the x-slopes of the planes are used to find out which plane is getting closer when we move to the right. Larger values means narrower margins, and increasing the chance of missing true adjacent edges/planes. Smaller values means larger margins, and increasing the chance of mistaking close polygons for adjacent ones. The value of 100 is close to the optimum. However, the optimum shifts slightly with resolution, and may be application-dependent. It is here for you to fine-tune. SEE ALSO
create_scene(3alleg4), clear_scene(3alleg4), destroy_scene(3alleg4), render_scene(3alleg4), scene_polygon3d(3alleg4) Allegro version 4.4.2 scene_gap(3alleg4)
All times are GMT -4. The time now is 07:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy