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: 8
Joined: Dec 09, 2014
I am a: Developer
Location: Italy

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
Verified
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 388
Joined: Apr 10, 2013
I am a: Hobbyist Game Developer
Motto: Commercial or not, play it!
PlayStation Model: H2000/7000
Location: Philippines
Contact:

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: 8
Joined: Dec 09, 2014
I am a: Developer
Location: Italy

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: 91
Joined: May 30, 2012
I am a: Hell knows who I am
PlayStation Model: SCPH-7502
Location: Polska, Wroclaw
Contact:

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

Hi

Bisqwit makes an example about how it works while coding it and showing examples:
[youtube]http://www.youtube.com/watch?v=HQYsFshbkYw[/youtube]
Image

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » 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), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
kirito1910
Interested PSXDEV User
Interested PSXDEV User
Posts: 8
Joined: Dec 09, 2014
I am a: Developer
Location: Italy

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:
[youtube]http://www.youtube.com/watch?v=HQYsFshbkYw[/youtube]
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
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2686
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » 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), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

likeabaus
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 133
Joined: Jul 27, 2016

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests