What's the better for PS1-3D?

Graphic based area of development (Graphics Processing Unit), including the Geometry Transform Engine (GTE), TIM, STR (MDEC), etc.
Post Reply
User avatar
NITROYUASH
Serious PSXDEV User
Serious PSXDEV User
Posts: 89
Joined: January 7th, 2018, 12:03 am
PlayStation Model: PSone
Steam: NITROYUASH
Location: Russian Federation
Contact:

What's the better for PS1-3D?

Post by NITROYUASH » January 12th, 2019, 3:00 am

Hi PSXDEV. I have a dilemma. I can't decide what i'll use more often. PS1 can read Triangles (F3) and Quads (F4). Sure, i want to use both, but what's better as a basis for level geometry?

User avatar
gwald
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 256
Joined: September 18th, 2013, 8:44 am
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

Re: What's the better for PS1-3D?

Post by gwald » January 12th, 2019, 8:55 am

level geometry:
#Quads = if you're using like a doom style (texture brush I think it's called, ie BSP), where the texture (TIM) is the tile(wall/floor), everything is easier (level, coding) and faster and if enabled, can do auto division (into tris, to stop texture warping) when the camera gets closer (it's called something which I forgot :( )!

#Tri's = portable and better for complex stuff, ie painting on geometry and exporting model & image (for UV), like they do things now days.

It just depends on what you can and want to code. :roll:
I used just a simple text file with quads, worked well.. for what it is: :lol:


https://youtu.be/LA2_-AExHWY

https://youtu.be/8XHARDpN9M0

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: What's the better for PS1-3D?

Post by LameGuy64 » January 12th, 2019, 11:16 am

Quads still have some uses even though they still appear as a pair of affine textured triangles when drawn. Namely in optimization as you only have to compute 4 vertices for quads whereas an equivalent comprised of triangles will have 6 vertices to compute. Quads also take up less packet space than a pair of triangles.

So if you want to go for optimization, supporting both primitive types is most preferred (use quads on flat planes and triangles on shapes where it is most appropriate).
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
NITROYUASH
Serious PSXDEV User
Serious PSXDEV User
Posts: 89
Joined: January 7th, 2018, 12:03 am
PlayStation Model: PSone
Steam: NITROYUASH
Location: Russian Federation
Contact:

Re: What's the better for PS1-3D?

Post by NITROYUASH » January 12th, 2019, 6:26 pm

Thanks guys! c:
My code is supporting F3+F4 right now, but after your advice, i choose F4 as a basis and F3 for secondary stuff.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest