Quick Search for:  in language:    
PSC,makes,landscape,with,bitmaps,need,DirectX
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,011,557. lines
 Jobs: 117. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Files Comperator (the right way)
By Jarry Claessen on 6/30


Simple UDP example
By Mick Walton on 6/30


CAPS Trigger
By Trevor Burley on 6/30


Auto clip picture
By Kenneth. Jakobsen on 6/30


Click here to see a screenshot of this code!Game of life clone (cool math)
By Johannes B on 6/30

(Screen Shot)

String to CHR()
By Nikhil Raj on 6/30


Encryption Decryption Demo
By Nikhil Raj on 6/30


Click here to see a screenshot of this code!Serial Registration
By Christian (eXonite Team) on 6/30

(Screen Shot)

AniViewer
By Jerrame Hertz on 6/30


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

DIRECT3D LANDSCAPE GENERATOR

Print
Email
 
winzip icon
Submitted on: 9/17/2000 12:43:18 PM
By: Simon Price  
Level: Intermediate
User Rating: By 57 Users
Compatibility:VB 6.0

Users have accessed this code 12928 times.
 
(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 Winzipto 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 17 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
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 PM:Simon Price
PLEASE VOTE/GIVE FEEDBACK AND VISIT MY 
SITE BECAUSE I HAVE LOADS MORE COOL 
STUFF THERE! WWW.VBGAMES.CO.UK!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/17/2000 1:33:54 PM:JB
FATAL ERROR!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/17/2000 2:29:09 PM:Simon 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/17/2000 8:06:01 PM:Jason Foral
Awesome Program. You are going to win 
the Code of the month, I know it! Keep 
up the good work!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/17/2000 10:14:45 PM:Brad
wowza, amazing stuff Simon!
getting 
the 5 thumbs up
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 5:48:20 AM:Rik
Very clever.  :-)  (Your windows colour 
scheme is well ugly, mind you).  ;-D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 7:32:06 AM:Krishna Rath
Ok . this code works on my P166.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 8:30:23 AM:Tim 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! 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 1:37:54 PM:xim
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!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 3:45:22 PM:PhoenixX_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 :)!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 4:53:42 PM:Simon 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 6:24:33 PM:Benjo Bartolome
How do you do it Simon Price?
Where 
do you get this awesome codes?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 6:36:17 PM:Michael L. Barker
"...UNLIKE MY PREVIOUS SUBMISSION 
(which won code of the 
month!)..."
lol! :) Nice job.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 6:36:34 PM:JK
WOW!WOW!WOW!WOW!WOW!WOW!WOW!WOW!WOW!WOW!
And again, WOW!
This is awesome!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 6:41:49 PM:Andrew
"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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2000 8:52:57 PM:TheUnrealOne
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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/20/2000 12:50:46 AM:SESoftware
Hi this is Simon Price here. Hope you 
all enjoyed the code!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/20/2000 10:58:44 AM:Simon 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/20/2000 12:53:04 PM:PhoenixX_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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/20/2000 3:28:54 PM:Simon 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/20/2000 5:19:12 PM:Bogdan
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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/22/2000 9:56:46 PM:Digital Vampire
I fail to see the point of this 
software here. nice and all, but as far 
as i can see serves no purpose
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/22/2000 10:00:31 PM:Digital 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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/23/2000 5:02:26 AM:Simon 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/23/2000 10:06:54 AM:Digital 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/23/2000 8:54:37 PM:Jason Foral
It looks likes schran doesn't like your 
code Simon (Voting Log) But I do! I'm 
like you, I can't afford any 3d Studio 
(I'm only 11!) I hope you make a 
program that can make 3ds files. Note 
the SESoftware:
If you think you are 
Simon Price, why did you vote for him? 
The REAL Simon Price wouldn't vote for 
himself. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/24/2000 12:31:54 AM:Digital 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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/24/2000 12:37:36 AM:Digital 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 ;) 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/24/2000 3:19:33 AM:The 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/24/2000 5:12:45 AM:Simon 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...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/26/2000 8:35:38 PM:Digital 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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/26/2000 8:38:42 PM:Digital 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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/28/2000 4:07:11 PM:KKKTipHunter
WIKKID MON
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/12/2000 7:39:48 PM:Bill 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?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/18/2000 6:59:03 PM:Batman
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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/18/2000 7:04:31 PM:Batman!
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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/23/2000 4:17:00 AM:Aslan
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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/23/2000 3:11:34 PM:Mark 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/23/2000 3:29:27 PM:Richard 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/23/2000 6:04:30 PM:jonnysoft
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....
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/27/2000 5:57:32 PM:Richard 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!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/19/2001 9:46:57 AM:Philipp Weidmann
Very cool! Genious graphic effects in 
VB! Excellent vote from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 2:47:07 PM:Simon 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/18/2001 5:13:42 PM:Simon Dann
Great code Im Makeing a game out of it 
:-)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/21/2002 12:10:34 PM:Mr. Man
That code was B*tchin.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
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 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.