3D rendering demo

Share your games and programs with the community.

Re: 3D rendering demo

Postby DFX2KX » Wed Apr 30, 2014 12:45 am

Myndale wrote:I spent 16 years as a professional game developer, much of which was spent as a 3D graphics/engine programmer, so I've done this stuff a hundred times before.


That... That explains a LOT. I'll have to look around for that PDF or the PCGPE, then. I imagine it'll be informative. I'll be as excited as Rodot to see what you get this thing to do next.

(Also, this preforms pretty well for unoptimized code.)
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: 3D rendering demo

Postby allan175 » Thu May 01, 2014 12:40 pm

Myndale wrote:Sometime around 1994 (I think) when the internet was still in its infancy I collected a series of articles written by myself and others (with their permission) and released them all as "The PC Games Programmers Encycopedia" aka "PCGPE"; it's still archived in various places around the net and covers some of the more basic 3D algorithms.

I remember that! Migth even have a copy on a disk somewhere at home!
allan175
 
Posts: 7
Joined: Thu Apr 03, 2014 9:08 am

Re: 3D rendering demo

Postby Sot0 » Thu May 01, 2014 1:01 pm

Sot0
 
Posts: 31
Joined: Sat Apr 26, 2014 3:31 pm
Location: Germany

Re: 3D rendering demo

Postby Myndale » Thu May 01, 2014 1:21 pm

Yep, that was it. Seems like a lifetime ago now.

I also cringe at the terrible writing style I had in my youth! :)
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: 3D rendering demo

Postby DFX2KX » Tue May 06, 2014 11:34 am



Nice find!

Also, Myndale, Don't we all? I write fiction for fun occasionally, I can't read stuff I've written a decade ago, without wincing at very best.
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: 3D rendering demo

Postby rotyler » Sun May 25, 2014 11:32 pm

I want to use this to make a maze but first i need to know how to change the size of the map,
Should i just make it bigger or (as i'm guessing) i need to change some of the code?
User avatar
rotyler
 
Posts: 22
Joined: Mon Apr 28, 2014 12:24 am

Re: 3D rendering demo

Postby DFX2KX » Mon May 26, 2014 11:07 pm

rotyler wrote:I want to use this to make a maze but first i need to know how to change the size of the map,
Should i just make it bigger or (as i'm guessing) i need to change some of the code?


You'll have to change some of the code, for reasons rather unrelated to the map in particular. Mydale did say it needed optimized, and you'd want to do that to have a map of any real size. depending on how you wanted to make the maze, you could streamline it quite a bit, at the sacrifice of, say, only having four directions.
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am

Re: 3D rendering demo

Postby Myndale » Tue May 27, 2014 2:19 pm

How big do you want your maze, rotyler? My demo assumes a square maze, so increasing the size should simply be a matter of changing the MAP_SIZE define to something larger than 16 and then changing the "theMap" array accordingly. Given the flash memory limitations of Arduino you'll probably run out of memory somewhere around 150x150 (rough guess), but you could extend that to somewhere around 400x400 by changing the code to use 1 bit per block instead of 1 byte. Employing simple compression tricks (e.g. using "palettes" like Ultima 6 did) could extend that even further.
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: 3D rendering demo

Postby rotyler » Tue May 27, 2014 3:32 pm

I was thinking to make it around 100 x 100 in size. thanks for the help! I believe you start in top left, right?
User avatar
rotyler
 
Posts: 22
Joined: Mon Apr 28, 2014 12:24 am

Re: 3D rendering demo

Postby phi » Sat Jul 12, 2014 9:55 am

The 3D-Maze looks a bit weird on my Gamebuino. The view seems to be split in half.
About one third of the right side is shifted over to the left of the screen.
The demo runs fine apart from that.
Has anyone else encountered this problem?

Image
User avatar
phi
 
Posts: 50
Joined: Sun Mar 23, 2014 1:48 pm
Location: Germany

PreviousNext

Return to Games Gallery

Who is online

Users browsing this forum: No registered users and 33 guests

cron