|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: teh intarweb
Posts: 1,718
|
Texture warping
Well, I just got into PSX emulation, and I must say, ePSXe looks much nicer than a real PSX.
![]() But I have one problem. Whenever a texture is viewed from an angle, it usually gets skewed. When it is viewed head-on, it is fine. Is it just me, or the emu? I've got a Voodoo Banshee and Lewpy's Glide plugin 1.35. I've tried other plugins as well, and it seems to do it on all of them. |
|
|
|
|
#2 (permalink) |
|
&-)---|--<
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2001
Location: Smallville
Posts: 7,587
|
Post a screenshot and lets see what your talking about..
__________________
Play emulated games online Main Rig||Intel Q6600@3.2 ghertz|4x1gb DDR2 1066|Asrock 1600sli 110db LGA 775|EVGA 8800gtx@620/1450/975|2x Seagate 160gb SATA150 Raid0|250 gb Samsung SATA2 HD|Seagate 7000.10 500gb HD|NEC 3520 4x/8x DVD+R/RW DL burner|Antec TP 650 watt|40" Sony Bravia 1080p|20.1" 5ms LCD 1680x1050 Native|Logitec 5.1 Speaker System w/15" Sub|Dual Boot Winows XP Pro/Vista 64bit|| 2nd Rig||Athlon64 x2 3800+|2x1 gig PC3200|BFG Geforce 6800 Ultra OC @450/1250 agp|60 gig Maxtor IDE HD 7200 RPM|40 gig Maxtor IDE HD|Asrock Dual SATA2|Silver Aluminum ATX|17" LCD|| 3rd Rig||Athlon Xp 2800+|1.5 gig PC2700|BFG GeforceFx 5900 Ultra OC agp|100 gig Maxtor SATA HD|NF7-s rev2.0|Nvidia Soundstorm MCP|19" CRT|| |
|
|
|
|
#3 (permalink) | |
|
Guest
Posts: n/a
|
Re: Texture warping
Quote:
|
|
|
|
#4 (permalink) | |
|
Advanced Newbie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2001
Location: Bogotá... not that it matters...
Posts: 4,989
|
Re: Re: Texture warping
Quote:
__________________
Main Rig: Pentium Dual-Core E2160 @ 2.5GHz -- 7600GT @ 650/800MHz -- 2GB DDR2-667 4-4-4-12 -- Windows XP Pro SP3 Collecting dust: AMD Athlon XP 2600+ -- ATI Radeon 9500 Pro -- SB Live 5.1 Digital -- 2.5GB DDR 2-2-2-5 Ram -- Windows 2003 server r2 SP1 |
|
|
|
|
|
#7 (permalink) |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: teh intarweb
Posts: 1,718
|
So that would be entirely the fault of the GFX plugin, right?
Since HLE is all about making things look better, I think this should be 'fixed'. I for one wouldn't complain. And I don't have a real PSX, I'm more of a Nintendo guy. I just rent games to play. |
|
|
|
|
#8 (permalink) |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
It's like samor says, the playstation doesn't have perspective correction, and because of the way ePSXe is programmed, it can't add that feature. The only way to do it is High Level emulation, and that is, as far as I am aware, even more complex than the current method, and you would end up with lower overall compatibility - like Ultra HLE, some games would work 100% most will have glitches which make it unplayable
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
#10 (permalink) |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
I think ifit were HLE like most n64 emus, it would need an ini file or something to tell it how to use each game...
I'm not sure, but I remember Pete Burnet, or it may have been Lewpy, talking about this. They said it would be rather fun to get in to HLE. I'm gonna sound like I'm losing my memory here, but I think they were talking about whether or notT&L could be put into the plugins As I understand it, HLE is like wrapping (Glide wrappers, sort of thing)
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
#11 (permalink) |
|
Ebichu!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2001
Location: Tampa Bay, Florida
Posts: 2,089
|
HLE is High Level Emulation, which has nothing to do with the graphics or sounds. It has to do with the accuracy of the emulation of a particular CPU. Basically if an instruction can be executed on the host computer's CPU, then there is no need to emulate that instruction, thereby optimizing the speed of the emulation. however, accuracy is sacraficed since the instruction was never actually emulated. This is what you call High Level Emulation.
Last edited by liquid; January 16th, 2002 at 14:32. |
|
|
|
|
#12 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
|
|
|
|
#13 (permalink) |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
Surely though, if you had an HLE PSX emu, the emu would just send the equivilent of 'draw a texture on this polygon' to the graphics plugin, and the plugin could do what it liked with it
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
#14 (permalink) |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: teh intarweb
Posts: 1,718
|
To quote Lewpy's plugin:
"A 'DMA Chain' is the standard method of how the PSX CPU transfers primitives to the GPU. It is a long linked list of primitives, to be drawn in order." So the CPU sends the 3D commands to the GPU. The plugin converts them to, in this case, Glide3 commands, and feigns the proper responses to the rest of the system, a perfect example of HLE. But how do the textures get drawn? That's what I wanna know. Maybe I should go read some tech docs... Edit: just noticed Lod Kane's post. That's exactly what I'm trying to say. Last edited by The Khan Artist; January 16th, 2002 at 14:56. |
|
|
|
|
#15 (permalink) |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
You may find this educational, I got it from som PSX tech docs
Primitives. A basic figure which the GPU can draw is called a primitive, and it can draw the following: · Polygon The GPU can draw 3 point and 4 point polygons. Each point of the polygon specifies a point in the frame buffer. The polygon can be also be gourad shaded. The correct order of vertices for 4 point polygons is as follows 1 2 3 4 A 4 point polygon is processed internally as two 3 point polygons. also note when drawing a polygon the GPU will not draw the right most and bottom edge. So a (0,0)-(32,32) rectangle will actually be drawn as (0,0)-(31,31). Make sure adjoining polygons have the same coordinates if you want them to touch each other!. · Polygon with texture A primitive of this type is the same as above, except that a texture is applied. Each vertex of the polygon maps to a point on a texture page in the frame buffer. The polygon can be gourad shaded. Because a 4 point polygon is processed internally as two 3 point polygons, texture mapping is also done independently for both halves. This has some annoying consequences. This is where it is
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb Last edited by Lord Kane; January 16th, 2002 at 16:14. |
|
|
|
|
#16 (permalink) |
|
FREAK
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2001
Location: Germany
Posts: 874
|
To do perspective correction, ATI's True Form, real hardware T&L and other fancy stuff the plugin would need the depth info (z-coord) of the polygon points. But all depth infos are calculated internally by the game (usually using GTE commands), and the gpu knows nothing about em.
If psx games would use a standard library for doing the 3d calculations, it would be possible to hook in the libraries, and do some HLE like the current N64 emus are doing it, but most psx games are accessing the psx hardware directly to get more speed, therefore that's not possible, too (and, to be honest: such library HLE for bypassing the real hardware emulation is an hack, nothing more, nothing less... speed will be better that way, sure, but many compatibility issues will show up). Well, a psx emu team could analyze exactly how a certain game is calculating the coords, and extract the extra informations... but be aware that this would only work with exactly THIS game, the next one would be totally different. |
|
|
|
|
#17 (permalink) |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
Basically you would end up with a bleemcast effect: 1 Game 1 Emu. Ok.
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
#18 (permalink) |
|
I code therefore I am.
![]() ![]() ![]() Join Date: Jul 2001
Location: I live therefore it's enough.
Posts: 412
|
HLE is a hack.
If you noticed Ultra HLE has a large INI file for settings for individual games. For the PSX you would need a different setup for each game OR you would have to scan the code loaded in during dynamic REC for GTE opcodes etc. In otherwords it would be a real pain. I suppose setting up an algorythm system for each game could work. However it would require people to experiment with each PSX game out there. The N64 is much easier to look for these things since it's media is just a ROM image. The PSX is an interesting mix of audio videa and executable code on a disk that's 720 Megs in size.. I think this is one of the big pitfalls. Deadalus takes about 30 seconds to find the HLE opcodes for a simple game (mario64). Imagine how long it would take when loading a new executable on the PSX? Consider that FF7 has a different program to run the battles as it does to explore the world.. etc. You have a huge performance hit each time Cyb |
|
|
|
|
#19 (permalink) | |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: teh intarweb
Posts: 1,718
|
Quote:
Maybe after ePSXe is otherwise perfect... or when I learn C++ & PSX emulation tech stuff.
__________________
09 f9 11 02 9d 74 e3 5b d8 41 56 c5 63 56 88 c0 |
|
|
|
|
|
#20 (permalink) |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: teh intarweb
Posts: 1,718
|
Oh, I also tried with VGS, and yeah, it does occur, but, like Samor said, it's just not as noticeably because of the lower res.
Oh, well. I'm still sticking to ePSXe, because it's much faster for me then VGS.
__________________
09 f9 11 02 9d 74 e3 5b d8 41 56 c5 63 56 88 c0 |
|
|
| Thread Tools | |
| Display Modes | |
|
|