3D view of dungeon from above

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

3D view of dungeon from above

Post by Zyx »

George, I already asked you this, but I'd like to understand it better: what's the importance of the graphic engine in RTC?
i'm talking about the dungeon view only (the window with walls, objects and creatures).
I guess the data of your dungeon is principally hold in matrices and lists of variables.
With this data, RTC draws the correct view with the function drawviewdungeon(); for example.

Question 1: Now, is it possible to make it external? I mea, would the data still be accessible by an external function?
What I have in mind is the possibility for any good programmer to create alternate drawviewdungeon() functions.
For example, for a map view, an eagle view, and specially, a 3d view.

The only thing needed is where to find data of the dungeon, the core programm would still be unknown. If I remember well, Ryan suggested something like this a long time ago on the Dm Clone board.

Of course I'm just interested in the possibility, I'd just like to understand: I won't program it myself!
Though, if you find the idea worth it, and if a coder is willing to do it, well, the idea was sounding too interesting to be not mentionned.

I know the loading of the bitmaps is a problem, but a simple(is it?) option in the .ini would allow then to choose the drawviewdungeon().

Hmmm, I hope I'm not talking nonsense!
User avatar
Gambit37
Should eat more pies
Posts: 13770
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: more than a suggestion, a question to George

Post by Gambit37 »

I know this is a question for George, but just had to post a reply.

I think the functionality that you describe would be way too complicated to achieve using this kind of 2D engine. The problem is that the engine relies so heavily on all the data files (bitmaps) to be drawn with one perspective only - the two work together and you can't really separate them out. To write a function to draw the view using a different perspective would also require ALL the bitmaps to be re-drawn by hand for that view. Add on top of that the layer ordering, etc, and it's quite a job.

I'm sure what you're asking isn't impossible, but doesn't really seem worthwhile. For the amount of work involved, you'd be better off coding a true 3D engine from scratch...
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: more than a suggestion, a question to George

Post by beowuuf »

Hmm interesting idea though - having a 3-d isometric view (leave everythign else intact, including icons around and picking up things close to the party with mouse, and movement, etc
You could have the party visible, and the surrounding 7x7 squares (ghosted out if needs be) around them.

Hmm, having other engines that also ran off of the RTC text files could be nice...so dungeons could be portable between engines, and you almost choose your display mode/style of gaming.
Was unable to (permenantly) kill off ian_scho (Haynuus), Ameena, oh_brother (Westian), money (Falkor), raixel (Petal) and Lord_Bones (Aurek) in the DM D&D game Time's Champions!

CONGRATULATIONS TO THOSE WHO MADE THE GAME WHAT IT WAS - GREAT!
User avatar
amaprotu
Adept
Posts: 211
Joined: Thu Jan 25, 2001 9:47 pm
Location: California, USA
Contact:

Re: more than a suggestion, a question to George

Post by amaprotu »

the problem would be graphics - you would have to design a new set of textures for each engine...but once the code is released i suppose a RTC clone (hehehehe) could be started lol :P
- Amaprotu
User avatar
amaprotu
Adept
Posts: 211
Joined: Thu Jan 25, 2001 9:47 pm
Location: California, USA
Contact:

Re: more than a suggestion, a question to George

Post by amaprotu »

dagnabit george I want to be able to edit my own posts. I know you can set that, I have my own EZ boards =p

Anyways by code I meant the dungeon txt file format.
- Amaprotu
Post Reply