Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 1, 2012, 17:31   #1
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,672
PowerWyrm is on a distinguished road
3D Angband?

I remember some time ago a thread about porting Angband to 3D. Sounds like the idea was abandoned... Would it be hard to implement?
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 1, 2012, 18:35   #2
ghengiz
Adept
 
ghengiz's Avatar
 
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
ghengiz is on a distinguished road
I'm not an expert, but perhaps the code of vulture's eye, an isometric GUI for nethack, could be adapted...
ghengiz is offline   Reply With Quote
Old January 1, 2012, 20:29   #3
getter77
Adept
 
Join Date: Dec 2009
Location: GA, USA
Age: 35
Posts: 233
getter77 is on a distinguished road
Send a message via AIM to getter77 Send a message via MSN to getter77 Send a message via Yahoo to getter77
That'd be Blengband, which, IIRC, was aimed at Blender's 3D capabilities. It got kind of decently far along as per my foggy recollections---too bad it just kinda stopped.

Easier targets would probably be: Most any modern, game oriented 3D engines like Unity3D and such or some of the non-commercial underdogs of which there are many hard at it still.

However, another option that could perform as a dark horse of sorts: Necklace of the Eye

http://www.roguetemple.com/z/noteye.php
getter77 is offline   Reply With Quote
Old January 4, 2012, 13:54   #4
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,672
PowerWyrm is on a distinguished road
I checked the Blengband thread, but I still can't figure out how to replace Angband's 2D display with 3D without rewriting the whole game...

Necklace of the Eye seems something to investigate, although it has very little documentation. Unfortunately, it does not work with roguelikes which create their own ASCII displays like Angband. Using Necklace of the Eye would mean writing a new port with direct output to the console.

From what I see from Vulture's Eye's description, it's an isometric GUI using SDL for drawing. This could work with the SDL port... I'll check it too.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 4, 2012, 17:19   #5
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,672
PowerWyrm is on a distinguished road
I just checked Vulture's Eye's source code... The ISO display is nothing more than:
- get tile info at (x,y): feature, object, monster...
- use a big switch to map tile info with tile name
- open corresponding png file (one per tile...) and create a surface
- compute the ISO position (i,j) for the tile
- draw the tile at (i,j)

Should be quite trivial to implement in the SDL port...
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 4, 2012, 17:52   #6
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
I know Hajo was working on a version of Iso-Angband about a year ago, although unfortunately the website seems to have disappeared.
Nomad is offline   Reply With Quote
Old January 5, 2012, 04:03   #7
zaimoni
Knight
 
zaimoni's Avatar
 
Join Date: Apr 2007
Posts: 590
zaimoni is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
Necklace of the Eye seems something to investigate, although it has very little documentation. Unfortunately, it does not work with roguelikes which create their own ASCII displays like Angband. Using Necklace of the Eye would mean writing a new port with direct output to the console.
The curses port already exists....
__________________
Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011
zaimoni is offline   Reply With Quote
Old January 5, 2012, 13:25   #8
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,672
PowerWyrm is on a distinguished road
Quote:
Originally Posted by zaimoni View Post
The curses port already exists....
You're absolutely right lol... I'll check that too.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 5, 2012, 16:12   #9
BreathesFire
Rookie
 
Join Date: Aug 2011
Posts: 9
BreathesFire is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
I remember some time ago a thread about porting Angband to 3D. Sounds like the idea was abandoned... Would it be hard to implement?
This works as long as you maintain a birds eye view over the same 2D viewing area. I just don't see 3D as an improvement unless you are able to change the perspective angle and increase the viewable range, which requires some major UI editing. Otherwise, you either just not render tiles outside of 2D visiongrid or angle it down close and lose surrounding information behind you.

-edit
-I actually don't know how large you can make the 2D viewable area, so this might not be as problematic as I originally thought

Last edited by BreathesFire; January 5, 2012 at 17:04.
BreathesFire is offline   Reply With Quote
Old January 9, 2012, 14:50   #10
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,672
PowerWyrm is on a distinguished road
I plugged the GCU port to my variant and downloaded NotEye. The result is... interesting (see attached screenshot).

The big problems I'm facing with that are:
- pressing keys doesn't seem to work 99% of the times (GCU port alone does that... pressing the key works, it is even processed by the game, but nothing happens)
- key presses in NotEye are hardcoded in QWERTY mode (using AZERTY keyboard, the UI is a PitA)
Attached Images
File Type: jpg 2012-01-09-14-45-58.jpg (20.3 KB, 604 views)
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:30.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.