Raycasting (Doom like graphics)

Graphic based area of development (Graphics Processing Unit), including the Geometry Transform Engine (GTE), TIM, STR (MDEC), etc.
Post Reply
User avatar
kirito1910
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: December 9th, 2014, 8:54 am
I am a: Programmer, Student
Looking to: Creating a simple fps game
Location: Italy
Contact:

Raycasting (Doom like graphics)

Post by kirito1910 » February 27th, 2017, 1:15 am

Hello!
Does anyone knows if there's a way to recreate a doom like (raycasting) graphic system?

Image

Thanks a lot!

User avatar
LameGuy64
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 349
Joined: April 10th, 2013, 3:47 pm
I am a: Hobbyist Game Developer
Motto: Commercial or not, play it!
PlayStation Model: H2000/7000
Skype: lameguy64
Location: Philippines

Re: Raycasting (Doom like graphics)

Post by LameGuy64 » February 28th, 2017, 12:03 am

Using raycasting on the PSX would be very inefficient, you're better off rendering the 'world' as a model like what I'm doing for my upcoming Project Scarlet 3D engine.
Please don't forget to include my name if you share my work around. Credit where it is due.

Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.

DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.

User avatar
kirito1910
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: December 9th, 2014, 8:54 am
I am a: Programmer, Student
Looking to: Creating a simple fps game
Location: Italy
Contact:

Re: Raycasting (Doom like graphics)

Post by kirito1910 » February 28th, 2017, 3:40 am

LameGuy64 wrote:Using raycasting on the PSX would be very inefficient, you're better off rendering the 'world' as a model like what I'm doing for my upcoming Project Scarlet 3D engine.
Thanks :)

Can we know more about this 3D engine?

User avatar
CosmoGuy
Serious PSXDEV User
Serious PSXDEV User
Posts: 90
Joined: May 30th, 2012, 1:22 am
I am a: Student, Programmmer, graphic 3d+2d
PlayStation Model: SCPH-7502
Skype: kamilm1222
Steam: amiga3000

Re: Raycasting (Doom like graphics)

Post by CosmoGuy » March 1st, 2017, 7:23 am

Hi

Bisqwit makes an example about how it works while coding it and showing examples:
Image

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2233
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: Raycasting (Doom like graphics)

Post by Shadow » March 1st, 2017, 3:41 pm

That's actually a really cool channel. Thanks CosmoGuy :)

Problem with the PSX is there is no FPU, so using floats will result in absolute horrible performance.
Everything will have to be int based.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

User avatar
kirito1910
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: December 9th, 2014, 8:54 am
I am a: Programmer, Student
Looking to: Creating a simple fps game
Location: Italy
Contact:

Re: Raycasting (Doom like graphics)

Post by kirito1910 » March 2nd, 2017, 4:00 am

CosmoGuy wrote:Hi

Bisqwit makes an example about how it works while coding it and showing examples:
Amazing! Thanks :)
Matt wrote:That's actually a really cool channel. Thanks CosmoGuy :)

Problem with the PSX is there is no FPU, so using floats will result in absolute horrible performance.
Everything will have to be int based.
Yea, that's a shame..
But I think it could be possible to create a map system like doom for psx. I doubt they remodelled or converted maps into TMDs when ID software created doom for PSX instead of creating a WAD file handler

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2233
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: Raycasting (Doom like graphics)

Post by Shadow » March 2nd, 2017, 4:44 am

They would have written a program to convert WAD's into the required data for the PSX. Take a look at the DOOM CD-ROM image and see what files are present. If you run some PSX scanner tools (PSound, PSicture, etc), it will spit out the data and tell you what it is according to those files :)
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

likeabaus
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 135
Joined: July 27th, 2016, 2:26 am

Re: Raycasting (Doom like graphics)

Post by likeabaus » March 2nd, 2017, 5:23 am

This should be entirely doable. There's actually a port of doom for the psx (I have it in my collection) it's an official release and everything. That being said, how it was done is beyond me, but it can be done

Edit: here's a link to a random eBay listing for it, just to show you it's a legit game http://www.ebay.com/p/Doom-Sony-PlaySta ... 5/79224814
Buy and sell Bitcoins:
https://localbitcoins.com/?ch=rkv4

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest