PDA

View Full Version : TILES



iNeedNewsox
04-11-2001, 01:33 PM
hey,
hey do i make tles for mt engine i dont even now how to print them on to the screen is it just a box at like some degree or what

Michael Steinberg
04-11-2001, 02:27 PM
There's an interresting thread running on the advanced board covering the quality of your english. http://www.opengl.org/discussion_boards/ubb/smile.gif

iNeedNewsox
04-11-2001, 03:36 PM
sorry i was in a hurry i had to go somewhere and i wanted to send this before i went ?? Here the question goes again. How do i make a terian in gl for a isomap it seems that there are no examples im looking at one right now, nice code too .

Michael Steinberg
04-11-2001, 09:32 PM
The simplest way might be to just use quads. But you can't interpolate the height values with this easy attempt, so if the density of your iso-map is not high enough and the values change heavily you'll get ugly results.
There are however great (and complicated) algorithms to interpolate an iso-map (ever heard about "surfer"?). You could then increase the resolution only at places where necessary.

iNeedNewsox
04-12-2001, 12:57 AM
no i havnt, im thinking about going and buying a book but when ever i have the money dont have a job right now

Michael Steinberg
04-12-2001, 01:00 AM
Surfer is a software which can create smooth height-diagrams out of a raster of height values. It's a great example for what I mean.

lpVoid
04-12-2001, 04:13 AM
might want to take a look at this (http://www.gamedev.net/reference/programming/features/gpgenesis8/) . It's based on DirectX ( i think ), but the theory there is pretty solid. If you're looking to make your standard tile engine, the link above will probably be a good start. I agree with Michael that simple quads will work just fine, but that nagging voice in my head always screams "triangle strips!"

Dave

Michael Steinberg
04-12-2001, 06:38 AM
Yes of course you'll be doing strips, but the theory stays the same... http://www.opengl.org/discussion_boards/ubb/smile.gif=

iNeedNewsox
04-13-2001, 04:13 AM
THANKS FOR YOUR HELP, i will be back and with better questions or harder i mean.