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.

DarkBASIC Discussion / matrix help!

Author
Message
code master
21
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 23rd May 2004 22:52
well im makin a game where(in summary,) you run around and shoot guns at each other.problem:i load a matrix in db (made in magic world)then i load an object but the object is huge!!! #2:when i get close to the matrix i see right through but far away its fine.already tried set camera FOV but it didnt work out.please help!
and i would like(read really realyy like!) someone to make me some code for a Large matrix with a sand texture please?!

dbc 1.13 non enhanced oh and im 11 didnt know that did ya?
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 23rd May 2004 23:13
scale object will sort out the huge object, just rescale it to something like the size you want, it works in percent, so 50 is 1/2 size (50% of full size) you can use fractions to get the exact size you want (eg 22.234), for your other problem you want set camera range, and make the near value very small so that anything near to the camera like your matrix does not get clipped, as for the sand textured matrix, surely you can load a sand image and use prepare matrix texture and set matrix tile, just copy the code from the help file example, hope thats some help.

Mentor.

PC1: P4 hyperthreading 3ghz, 1gig mem, 2x160gig hd`s, Nvidia FX5900 gfx, 6 way surround sound, PC2: AMD 1.2ghz, 512mb ram, FX5200 ultra gfx, stereo 16 bit soundblaster, ups.

Login to post a reply

Server time is: 2025-05-24 00:30:18
Your offset time is: 2025-05-24 00:30:18