Search found 124 matches
- Tue Dec 04, 2007 2:29 pm
- Forum: General Discussion
- Topic: small window/picklist routines?
- Replies: 2
- Views: 7374
- Tue Dec 04, 2007 12:55 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: View a vehicle track on a ground grid
- Replies: 4
- Views: 8788
Well, I don't that anybody from this site will give you the code, but let me give you a little advice. First: do you know ANYTHING about 3d? No -> Get a tutorial(look on the tutorials section of Petes site). Yes -> Read on. First, try to code it yourself. If you don't know where to start, describe w...
- Tue Dec 04, 2007 12:35 pm
- Forum: General Discussion
- Topic: Is it possible to do 3d math with only integers?
- Replies: 4
- Views: 11418
Since I eliminated the floating point calculation by creating a matrix of precalculated variables I was a little curious if this approach would actually be faster or not. Much to my suprise, after comparing the routine using my optimizations, to the same routine using the floating point calculation...
- Mon Dec 03, 2007 1:53 pm
- Forum: General Discussion
- Topic: Is it possible to do 3d math with only integers?
- Replies: 4
- Views: 11418
Is it possible to do 3d math with only integers?
Since I'm very into optimizing my code, I want to use as much integers as much (only instead of other types of variables of course :P). I looked in Mono & Disco's code, and there it uses single variables to calculate the screen coordinates for 3d models. Is it also possible to get a 3d model run...
- Mon Dec 03, 2007 1:42 pm
- Forum: News and Announcements
- Topic: Announcing Gflux
- Replies: 15
- Views: 43061
- Mon Dec 03, 2007 9:54 am
- Forum: News and Announcements
- Topic: Announcing Gflux
- Replies: 15
- Views: 43061
- Sun Dec 02, 2007 12:55 pm
- Forum: News and Announcements
- Topic: Announcing Gflux
- Replies: 15
- Views: 43061
Haha, didn't mean to offend you, because I am coding too in good ol' Qbasic. Mostly because Freebasic actually IS different on some points. For example, you can't use POKE/PEEK with it, and that's the fastest way to put graphics on the screen, so... Freebasic is much more for 'modern' programmers wh...
- Sun Dec 02, 2007 6:31 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: reversible hex dump
- Replies: 6
- Views: 13503
I don't understand you problem either. Is it in accessing the RAM/hdd (what is hdd? Harddisk?). Well I only know about PEEK and POKE, and BINARY files. They both handle numbers from 0-255. Is your problem that want only binary numbers, that are 0 or 1? I don't think that it is because you seem to be...
- Sun Dec 02, 2007 6:26 am
- Forum: General Discussion
- Topic: What's the best way to fill in a triangle?
- Replies: 11
- Views: 28148
Well, I thibk it has something to do with interpolation and flat bottom and flat top triangles. Check out this article: http://www.petesqbsite.com/sections/tutorials/tuts/relsoft3d/Chapter3/Chapter3.htm If you scroll a bit down, to: 'III. Different Polygon fillers', there is MUCH info on how to make...
- Sun Dec 02, 2007 6:17 am
- Forum: Pete's QB Site News
- Topic: QB Express #26 Deadline: November 24th
- Replies: 37
- Views: 235335
Well, that sucks... I hope the next issue will be larger again, I will try to finish my (very large!) tutorial on special effects for the next issue, but I'm not sure it will be done. Im not that far with it, but all the subjects are things I already did in the past. I will be very proud when I fini...
- Sun Dec 02, 2007 6:12 am
- Forum: News and Announcements
- Topic: Announcing Gflux
- Replies: 15
- Views: 43061
- Sun Dec 02, 2007 6:04 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Trying to get a Battleship Program ASAP
- Replies: 29
- Views: 39074
I think you can better start to code fast and hand in some code that is full of bugs, than hand in nothing or hand in someone elses code and get caught. You can better do your best yourself(that's the only way you'll learn something) or admit to your teacher that you don't got got the time. Now if y...
- Sat Nov 24, 2007 10:44 am
- Forum: Pete's QB Site News
- Topic: QB Express #26 Deadline: November 24th
- Replies: 37
- Views: 235335
- Tue Nov 20, 2007 2:52 pm
- Forum: Pete's QB Site News
- Topic: QB Express #26 Deadline: November 24th
- Replies: 37
- Views: 235335
I've submitted two tutorials, one on the worms-like engine and one, a bit useless, about writing tutorials. :roll: Anyway, I'm still bizzy with a BIG tutorial about special effects. It's about every special effect that I know: particles, fire, water, clouds using prelin noise but also polygon stuff ...
- Mon Nov 12, 2007 10:32 am
- Forum: Pete's QB Site News
- Topic: QB Express Article Requests
- Replies: 140
- Views: 837686
- Mon Nov 12, 2007 10:21 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Slow fixed point math
- Replies: 4
- Views: 8063
OK, let me clearify: I converted the program into fixed point math. Now, the program is much slower. But I used ffix (speeds floating point math up) for the floating point. So is floating point faster then fixed point when you use ffix? (I admit that the julia fractal thing is a bit complex :P). BTW...
- Thu Nov 01, 2007 4:57 pm
- Forum: Pete's QB Site News
- Topic: QB Express #25
- Replies: 11
- Views: 94521
It works fine for me. Nice issue! The tutorial about angles (prt 2) was cool. I checked only the final compiled exe and everything seems really well explained and controlling the space ship is great. The camera movements are good too, and the AI is well done. If you can make a story behind it and ma...
- Wed Oct 31, 2007 3:45 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: return from dos screen to window screen
- Replies: 12
- Views: 23444
Are you sure? On my old pentium II windows 98 I was able to run a compiled program in windowed mode. (Indeed with Alt+Enter). It runned t much lower framerate though (not the speed sucked, but the refresh rate of the window). I have dumped the computer to my younger brother now, but I'm sure I could...
- Mon Oct 29, 2007 4:26 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Slow fixed point math
- Replies: 4
- Views: 8063
Slow fixed point math
I wrote a Julia animator a while ago, and yesterday I decided to optimize it with fixed point math. But when I used ffix with the floating point math, it was much faster then when I used integer or long integer fixed point math. I though that this was maybe because of the extra multipications and (i...
- Thu Oct 25, 2007 12:08 pm
- Forum: General Discussion
- Topic: I need a tileset to test my platform engine
- Replies: 8
- Views: 15994