|
-
Mar 10th, 2001, 04:19 PM
#1
Thread Starter
Good Ol' Platypus
I need some answers....
I can get the elevations for the landscape, but I need to be able to draw them in OGL. What code would I use to draw a scene textured with the bmp "grass1.bmp"??? This scene must use the elevations (tmpElev(0 to 5,0 to 5))
Thankyouinadvance
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 10th, 2001, 04:23 PM
#2
Thread Starter
Good Ol' Platypus
If I am not being clear enough, it needs to be an elevation matrix, if you use that term.
I need a subroutine to call...
DrawMatrix X [center X], Y [center Y], Z [center Z], tmpElev(0,0) [refrence to array]
and it would draw it for me....
Thank you!
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 10th, 2001, 05:12 PM
#3
transcendental analytic
Are you going to make polygons this time too or do you want smooth elevations?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Mar 10th, 2001, 05:47 PM
#4
Thread Starter
Good Ol' Platypus
I was going to start with polygons, but would smooth them out. OpenGL has a function for that, doesn't it? If it doesn't, I intend to smooth it out (a good example of terrain i want to do is Zelda: Ocarina or Zelda: Mask.
To answer your Q, smooth.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Mar 10th, 2001, 05:51 PM
#5
Thread Starter
Good Ol' Platypus
Kedaman: Axiom?!?!?!?
God, I HAVE to get 4500 posts.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|