Click to See Complete Forum and Search --> : OpenGL Landscapes
Sastraxi
Mar 10th, 2001, 03:19 PM
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
Sastraxi
Mar 10th, 2001, 03:23 PM
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!
kedaman
Mar 10th, 2001, 04:12 PM
Are you going to make polygons this time too or do you want smooth elevations?
Sastraxi
Mar 10th, 2001, 04:47 PM
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.
Sastraxi
Mar 10th, 2001, 04:51 PM
Kedaman: Axiom?!?!?!?
God, I HAVE to get 4500 posts.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.