Important alert: (current site time 7/16/2013 3:30:07 AM EDT)
 

winzip icon

DIRECT3D LANDSCAPE GENERATOR

Email
Submitted on: 9/17/2000 12:43:18 PM
By: Simon Price  
Level: Intermediate
User Rating: By 58 Users
Compatibility: VB 6.0
Views: 28244
(About the author)
 
     This makes a 3D landscape with bitmaps. You need DirectX7 to run this. Please note that I have 2 accounts with PSC, both in the name of Simon Price, so to see my other submissions, do a search for my name.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 15 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

9/17/2000 12:47:20 PMSimon Price

PLEASE VOTE/GIVE FEEDBACK AND VISIT MY SITE BECAUSE I HAVE LOADS MORE COOL STUFF THERE! WWW.VBGAMES.CO.UK!
(If this comment was disrespectful, please report it.)

 
9/17/2000 1:33:54 PMJB

FATAL ERROR!
(If this comment was disrespectful, please report it.)

 
9/17/2000 2:29:09 PMSimon Price

JB, please be more specific! If anyone else gets an error reported by the program, it will save the problem in the error log text files in the/main/log files folder. It's be helpful to send me that file, it'll tell me the exact cause of the problem. Keep the votes and feedback coming! Thanks.
(If this comment was disrespectful, please report it.)

 
9/17/2000 10:14:45 PMBrad

wowza, amazing stuff Simon!

getting the 5 thumbs up
(If this comment was disrespectful, please report it.)

 
9/18/2000 5:48:20 AMRik

Very clever. :-) (Your windows colour scheme is well ugly, mind you). ;-D
(If this comment was disrespectful, please report it.)

 
9/18/2000 7:32:06 AMKrishna Rath

Ok . this code works on my P166.

(If this comment was disrespectful, please report it.)

 
9/18/2000 8:30:23 AMTim Talma

WOW, All I can say is WOW! Now for some info on how to improve in the future. It was a little choppy on my PII 400 but I only have software rendering. You might want to convert this into C++ I wrote some CAD programs using DX7 and it was to slow and choppy in VB, I rewrote the program in C++ same algorithms and everything and it was as smooth as can be. (You can see my initial stuff if you look for my name Tim Talma on PSC). But this program is great you get a 5!
(If this comment was disrespectful, please report it.)

 
9/18/2000 1:37:54 PMxim

Smooth Simon! Performed well on my PII-450, 256 RAM, GForce Annihilator Pro in both WIN98SE and WIN2K Pro. It ran equivalently in both software and hardware modes (hdware maybe slightly better W98SE). I may not have updated drivers for W2K, so it became choppy on huge.bmp, but software mode is excellent. Just needs a slight tweak in collision to avoid penetration of objects. Congratulations!
(If this comment was disrespectful, please report it.)

 
9/18/2000 3:45:22 PMPhoenixX_2

All I can say is I've seen and made better. This is nice and all, but you have so little features in it. Such as texture. I have made one, and you can chose 4 different ways of texturing, texture tiling, you can chose the quality of the bitmap, the width, the height, the max height, the min height, and finally the position. Other than the bad stuff, I like it that you gave away your source to everyone for free and how the camera stays leveled on the certain tile. So good luck on improving this :)!
(If this comment was disrespectful, please report it.)

 
9/18/2000 4:53:42 PMSimon Price

Hi PhoenixX_2, if you look close at enough at the code, you'll see that the engine already supports all the texturing and lighting effects you might need, just the program doesn't call those functions. Why? Well, it has to render up to 65000 polys in real time, I reckon it'd be too slow. So where's your program? It'd be interesting to see it.
(If this comment was disrespectful, please report it.)

 
9/18/2000 6:24:33 PMBenjo Bartolome

How do you do it Simon Price?

Where do you get this awesome codes?
(If this comment was disrespectful, please report it.)

 
9/18/2000 6:36:17 PMMichael L. Barker

"...UNLIKE MY PREVIOUS SUBMISSION (which won code of the month!)..."

lol! :) Nice job.
(If this comment was disrespectful, please report it.)

 
9/18/2000 6:36:34 PMJK

WOW!WOW!WOW!WOW!WOW!WOW!WOW!WOW!WOW!WOW!
And again, WOW!
This is awesome!
(If this comment was disrespectful, please report it.)

 
9/18/2000 6:41:49 PMAndrew

"and it's only fair you VOTE FOR THIS, WHETHER YOU THINK IT'S GOOD OR NOT. "
Do you mean vote a good score for you or not? Because if you mean vote a good score for you I find this line personally offensive. It's like saying VOTE FOR ME WHETHER YOU WANT TO OR NOT BECAUSE YOU HAVE TO AND ITS THE ONLY FAIR WAY TO DO IT! The whole PURPOSE of voting is to determine whether a program is liked by others besides the author.
(If this comment was disrespectful, please report it.)

 
9/18/2000 8:52:57 PMTheUnrealOne

The HUGE.BMP runs slow on my p3 800 w/ GF2 GTS. I wonder how you would make a game on something that runs as choppy as this. I give it a 4 for choppy performance. Otherwise, GREAT CODE. This is pretty incredible. If only it would go faster.
(If this comment was disrespectful, please report it.)

 
9/20/2000 12:50:46 AMSESoftware

Hi this is Simon Price here. Hope you all enjoyed the code!
(If this comment was disrespectful, please report it.)

 
9/20/2000 10:58:44 AMSimon Price

[To the feedback above this one]
I don't know who you are but I know you're not me. Why are you trying to convince people that I am SESoftware? We are not the same person. If I did write the above feedback, why would I deny it here? Just go annoy someone else.
(If this comment was disrespectful, please report it.)

 
9/20/2000 12:53:04 PMPhoenixX_2

Heh, Simon, I wasn't saying it in a bad way actually, I guess it came out that way. But I also said

(I like it that you gave
away your source to everyone for free
and how the camera stays leveled on the
certain tile. So good luck on
improving this :)!)

and my program, I don't give it out. Like you, it's a whole engine, and mine would be kinda hard to put into another program.
(If this comment was disrespectful, please report it.)

 
9/20/2000 3:28:54 PMSimon Price

Thanks PhoenixX_2, and you've raised a good point. My eventual plan, when the engine has become simple and flexible enough to apply to any application, is to make it into an activex control which you can slap onto any form and make a 3D program with... you won't need to know any D3D stuff to make a 3D app! Also, the main prob with this prog is that (on large maps) it loads + draws 65000+ triangles at once! I've already improvements that cuts this number down to 5000 by loading and unloading the polys as you come to them. Ofcourse this loading + unloading has some overhead, but overall it's worth it, because then I can make the worlds a huge as I like... expect a similar, but bigger, faster, better demo soon.
(If this comment was disrespectful, please report it.)

 
9/20/2000 5:19:12 PMBogdan

Hey. Didn't quite work on my computer that well. But that is probably the computer. Very nice work. Keep it up.
Vote of 5
(If this comment was disrespectful, please report it.)

 
9/22/2000 9:56:46 PMDigital Vampire

I fail to see the point of this software here. nice and all, but as far as i can see serves no purpose
(If this comment was disrespectful, please report it.)

 
9/22/2000 10:00:31 PMDigital Vampire

Simon - You should really start on the basics first, aka fix *BUGS* find a *PURPOSE* and *OPTIMISE* your code before you even begin! to think of "neat"o active X resource hungry controls
(If this comment was disrespectful, please report it.)

 
9/23/2000 5:02:26 AMSimon Price

There are alot of uses for this code. You can make worlds for games easily in paint - I can't afford 3D studio max! It's also a way of compressing the 3D data - a jpeg would be much smaller than any 3D file format. In fact I've already made a start on a game using this idea, a boat racing game. Even if this code has no actual use, I'm giving it to people who would learn something from it. Bug wise, it's had 1477 downloads and only one bug report, and that was because the geezer's monitor only had 8 bit color. It didn't crash but actually warned the user of the problem and saved it in an error log. The code isn't that well optimised I admit, but I'm not looking for speed, I'm trying to make it simple for me to use. If I need more speed for my games I'll write more inline code. I'm learning C++ now so maybe I'll translate it one day.
(If this comment was disrespectful, please report it.)

 
9/23/2000 10:06:54 AMDigital Vampire

Very Interesting :) note if above feedback sounded harsh, it wasn't meant to, i just don't like to flaff around these days aka Im blunt.
(If this comment was disrespectful, please report it.)

 
9/24/2000 12:31:54 AMDigital Vampire

After being inspired by simon's statement about purpose - I thought I'd very wearily try this code out.

points to note -

it worked - GOOD !
it was slow(on a pII 300 MHz) - BAD !

note (No hardware acceleration was used


(If this comment was disrespectful, please report it.)

 
9/24/2000 12:37:36 AMDigital Vampire

if you could *somehow* combine this and the amazeing 3d (DX7 version) technology that would open up a whole new horizon for vb game development ! I'd love to see something like that and have a few interesting ideas for it's use too ;)
(If this comment was disrespectful, please report it.)

 
9/24/2000 3:19:33 AMThe Real SESoftware

To the SESoftware Intruder---
I've got ur IP, ya wanna-be, so I suggest you go back to developing aol progs with the rest of the pu§§y's.
(If this comment was disrespectful, please report it.)

 
9/24/2000 5:12:45 AMSimon Price

CAN WE CLEAR SOMETHING UP. IT'S QUITE SIMPLE. I AM SIMON PRICE. THERE IS ONLY ONE SIMON PRICE. SESOFTWARE IS SOMEONE ELSE. THERE IS ONLY ONE OF HIM TOO. I DID NOT PRETEND TO BE HIM. HE DID NOT PRETEND TO BE ME. LIKE I SAID, SIMPLE. I DON'T KNOW WHAT ALL THE FUSS IS ABOUT. To Jason Foral, it's not only I wouldn't vote for myself, but I actually can't. Try and vote for one of your own programs, it doesn't work. I dunno how to make .3ds files either, but I can make my own file format...
(If this comment was disrespectful, please report it.)

 
9/26/2000 8:35:38 PMDigital Vampire

forgot to vote for this code LOL anyway you got yourself a good vote, as it's good code, but slow on my machine
(If this comment was disrespectful, please report it.)

 
9/26/2000 8:38:42 PMDigital Vampire

simon - im wokring on my site as we speak and i do know about the current bugs :( however im updating it shortly with even some cool source code available - www.ic-crypt.org.uk you may delete this feedback as it's not really related to this code LOL
(If this comment was disrespectful, please report it.)

 
9/28/2000 4:07:11 PMKKKTipHunter

WIKKID MON
(If this comment was disrespectful, please report it.)

 
10/12/2000 7:39:48 PMBill Soo

Good code as usual. However, I had found that the bitmaps were mirror imaged on my computer. That is, the bitmap that was displayed was a mirror image of the 3d view. For example, on the huge map I walked from the crater to the river. I then turned left and walked along the river. On the bitmap, it showed me moving down instead of up. I had the same experience with your 3d cube thing. When I replaced your car bmps with my own bmps, they were mirror images. I haven't seen anybody else comment on this so I wonder if it is something to do with my system?
(If this comment was disrespectful, please report it.)

 
10/18/2000 6:59:03 PMBatman

BATMAN!!! Nanananananananana! Nice job Mr. Price. Your up there with Mohammad, you know that guy who makes all those good web design programs.

.... Batman will return again
(If this comment was disrespectful, please report it.)

 
10/18/2000 7:04:31 PMBatman!

Batman has just noticed in the feedback there's some bad blood in the SE Stuff... hmmmm... wait a second! A run a company who's initials are S.E. (Simonson Enterprises)! Coincidence? I think not!!! And what's up with all this IP crap??? I know what it is, but how the heck did that guy lock on to the other guy's IP???? This is weird
(If this comment was disrespectful, please report it.)

 
10/23/2000 4:17:00 AMAslan

There is a nice word for all this mess going on in this feedback (and it's the same in my language than in yours):
KINDERGARTEN
(If this comment was disrespectful, please report it.)

 
10/23/2000 3:11:34 PMMark Hamilton

I have seen a lot of your VB apps. You do good with 3d, but I think C or C++ is better when working with games and graphics. I especially liked your VB Doom, and I think you could develop it a little more. I found that once you work with C a bit, you start to develop different habbits and percieve things different ways. I have had never made any games in VB, but when I switched to C, I started making a lot of games. Maybe if you work with C a bit (if you don't already), you can figure out a way to add Monsters, different elevations, etc.

-Mark H.
(If this comment was disrespectful, please report it.)

 
10/23/2000 3:29:27 PMRichard C

Hmmmm, this is begining to turn into a chat room.

Nice work looks very coooooooool.
I tried some thing like this before using someone elses activeX conrol, not much succes though.
(If this comment was disrespectful, please report it.)

 
10/23/2000 6:04:30 PMjonnysoft

Nicely done. I remember writing such a program with various optimising loops using RM once, but it took 1-2 hours to load a bitmap!!! (MICRO$OFT!). Yes, the finishing touches would be rewriting the render loop in C++ even ASM, it would be smoooooooooooth....
(If this comment was disrespectful, please report it.)

 
10/27/2000 5:57:32 PMRichard Banks

FATAL ERROR

'SI3D LANDSCAPE V1.0 LOADING ERROR LOG FILE

Loading DirectDraw 7...
DirectDraw 7 loaded successfully
Loading Primary And Backbuffer Surfaces...
Surfaces Loaded OK
Loading Direct3D 7...
Loading Z-Buffer...
Z-Buffer Loaded Successfully
Direct3D 7 Loaded Successfully
Loading SI3D Graphics Engine...
Loading Complete...'

this is what was in the log file. Hop this helps you fix the bugs. From what I have seen, this program is excellent. Keep it up!
(If this comment was disrespectful, please report it.)

 
1/19/2001 9:46:57 AMPhilipp Weidmann

Very cool! Genious graphic effects in VB! Excellent vote from me.
(If this comment was disrespectful, please report it.)

 
1/22/2001 2:47:07 PMSimon Price

Hey, guess what, this old program is getting a (somewhat forced) update! As part of my IT coursework at school, I have to make a teaching tool for the Geography department. The next version will be more educational, with lots of features, but it will only be wireframe and no DirectX! It might even be C++. Who knows. Deadline is in April.
(If this comment was disrespectful, please report it.)

 
2/18/2001 5:13:42 PMSimon Dann

Great code Im Makeing a game out of it :-)
(If this comment was disrespectful, please report it.)

 
7/21/2002 12:10:34 PMMr. Man

That code was B*tchin.
(If this comment was disrespectful, please report it.)

 
10/29/2002 1:57:15 AM

I'm using some of this code in a game I'm writing. You can check it out at
www.geocities.com/idharssi/lomexe.html
(If this comment was disrespectful, please report it.)

 
1/27/2003 12:01:07 PM

Yeah, I agree with batman. It isn't possible to track someones i.p without actualy hacking this server, watching the uploads, and doing an i.p crack. All of the above(just babout) is illegal. If i were u
(If this comment was disrespectful, please report it.)

 
1/27/2003 12:05:01 PM

Carrying on from above ^

if i were you, "The real SE software", i'd admit i didnt get the i.p and shut up! Otherwise you could get sewed by SE Software and PSC!

P.S: Good code
(If this comment was disrespectful, please report it.)

 
1/2/2004 8:01:16 AMNecron

Lotaa Comments Gee i am Downloading!!!!

Good Code! i Wanna be you(in the brain i mean) good even better good job Simon Rocks in 3D!
(If this comment was disrespectful, please report it.)

 
2/9/2004 5:27:14 AM

This programm would be perfect, if instead a bitmap, you could walk on a .x file in 3d, to avoid to go on the darkness, when you go out of the margin of the picture.

I tried, but got no result ...
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.