13.01.2013 Views

Hands On DarkBASIC Pro - Digital Skills

Hands On DarkBASIC Pro - Digital Skills

Hands On DarkBASIC Pro - Digital Skills

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Summary<br />

Activity 32.24<br />

In your last program, add the line<br />

GHOST OBJECT ON 1,0<br />

immediately before the DO..LOOP structure.<br />

How does this affect the cube?<br />

There's still more to be said about texturing objects but we'll leave that to a later<br />

chapter after we've covered other basic concepts such as cameras and lighting.<br />

� Use COLOR OBJECT to tint the surface of a 3D object.<br />

� Use GHOST OBJECT ON to make an object transparent.<br />

� Use GHOST OBJECT OFF to make a transparent object opaque.<br />

� Use FADE OBJECT to reduce the amount of light reflected by an object.<br />

� When used on a transparent object, FADE OBJECT can make that object<br />

invisible.<br />

� When used on an opaque object, FADE OBJECT can make that object<br />

completely black.<br />

<strong>DarkBASIC</strong> <strong>Pro</strong>: Texturing 819

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!