Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Zack V11
16
Years of Service
User Offline
Joined: 1st Sep 2008
Location: Ireland
Posted: 22nd Jan 2009 18:25
Hi all this might be a dumb question but can you use photos you take on a digital camera and use them as textures
Thanks all
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 22nd Jan 2009 20:01
absolutely

Virtual Nomad @ California, USA
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Zack V11
16
Years of Service
User Offline
Joined: 1st Sep 2008
Location: Ireland
Posted: 22nd Jan 2009 21:02
great thanks
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 23rd Jan 2009 00:17 Edited at: 23rd Jan 2009 00:18
Zack V11,

Connect the digital camera to your computer and transfer the image files to your project folder. Once done, use "LOAD IMAGE <imagename.imageextension>, <imagenumber>" to load the image into the DarkBASIC Pro editor.

Once loaded in, I assume that you wish to texture an object. This can be done using "TEXTURE OBJECT <object number>, <imagenumbertotexturewith>

For example, follow this link and save the image in the project folder as "earth_day.jpg"

http://nssdc.gsfc.nasa.gov/planetary/image/earth_day.jpg

Now, using the same project for which the image is in a folder, paste the following code in to see what I mean:

Zack V11
16
Years of Service
User Offline
Joined: 1st Sep 2008
Location: Ireland
Posted: 23rd Jan 2009 12:38
Ya thats great Tom0001 the example was a great help thanks very much

Login to post a reply

Server time is: 2024-11-25 12:49:03
Your offset time is: 2024-11-25 12:49:03