CodeBase - textures

Return to the CodeBase listing

Category: Complete Applications

Version: 1.0

0
0

Information

Uploaded: 23rd Jan 2009 06:46

Modified: 1st Jan 1970 01:00

Author:  Zack V11

Summary

textures using photos

Full Description

Zack V11, <br /> <br /> Connect the digital camera to your computer and transfer the image files to your project folder. Once done, use &quot;LOAD IMAGE &lt;imagename.imageextension&gt;, &lt;imagenumber&gt;&quot; to load the image into the DarkBASIC Pro editor.<br /> <br /> Once loaded in, I assume that you wish to texture an object. This can be done using &quot;TEXTURE OBJECT &lt;object number&gt;, &lt;imagenumbertotexturewith&gt;<br /> <br /> For example, follow this link and save the image in the project folder as &quot;earth_day.jpg&quot;<br /> <br /> http://nssdc.gsfc.nasa.gov/planetary/image/earth_day.jpg<br /> <br /> Now, using the same project for which the image is in a folder, paste the following code in to see what I mean:<br />

Comments

No comments yet.