Search found 121 matches

by NITROYUASH
November 27th, 2019, 7:56 pm
Forum: Graphics/GPU
Topic: What format should I use for animated models?
Replies: 12
Views: 2565

Re: What format should I use for animated models?

Thanks for that source. It will help me when i will do some experiments with animation. c:
by NITROYUASH
November 27th, 2019, 3:18 pm
Forum: Graphics/GPU
Topic: What format should I use for animated models?
Replies: 12
Views: 2565

Re: What format should I use for animated models?

Just one question.
Can we see what inside SGM_UpdateModel() function ? :)
by NITROYUASH
November 19th, 2019, 4:32 am
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

Oh, i have a small question about the 3D sorting now. It’s not worth it to create another topic here :> What's the best type of sorting the polygons for my game scene? Some pseudo-code: Version 1: Main: int main(void) { SetDispMask(1); while (1) { PrepDisp(); SortStuff(); Display(); } } return(0); F...
by NITROYUASH
November 17th, 2019, 11:43 pm
Forum: General Chat / Messaging
Topic: Which replacement laser for which revision?
Replies: 5
Views: 2462

Re: Which replacement laser for which revision?

I bought PS1 FAT with a broken CD Drive for only 14-15$ (lol) and just replace the entire broken SCPH-5502 CD Drive (KSM) using CD Drive (BAM) from the latest PSOne and it works like it's always been there. But yes, I needed to buy a laser ribbon extension because a cable from BAM too short for my P...
by NITROYUASH
November 17th, 2019, 4:50 pm
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

Yep, after removing GsSortOt, everything will be fine again. Hmm. That's very interesting. I didn't realise that it caused such a massive performance drop! :? As said Lameguy, it's maybe a problem with OT overflow (OT_ENTRIES?), not in SortOT. I should test it when i will need that function. Thanks...
by NITROYUASH
November 15th, 2019, 4:59 am
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

Off Topic
I noticed that this SDK From this site works in 3D
What SDK?
by NITROYUASH
November 14th, 2019, 2:33 am
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

Yep, after removing GsSortOt, everything will be fine again.
by NITROYUASH
November 14th, 2019, 1:19 am
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

Yes, i just added it to main loop. #define OT_LENGTH 12 #define OT_ENTRIES (1<<OT_LENGTH) // Main OT (Main position) GsOT myOT[2]; GsOT_TAG myOT_TAG[2][OT_ENTRIES]; // Second OT (Second position) GsOT myOT2[2]; GsOT_TAG myOT2_TAG[2][OT_ENTRIES]; void PrepDisp() { //. . . . GsClearOt(0, 0, &myOT[Acti...
by NITROYUASH
November 13th, 2019, 3:05 pm
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

Tried to use this function, but for some reason, this will reduces the frame rate to 5-10 frames. Here is a quick-fix for the floor: // Floor planes is the... Um... Floor, okay? // This fix will need to correctly draw the objects like sprite on the floor // It will shift the OTz a little // So you'l...
by NITROYUASH
November 12th, 2019, 3:01 pm
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

The problem is not in the billboard. In fact, the problem applies to all 3D polygons. As you can see, when the sprite-object (it just POLY_FT4) is not centered on the floor-object (POLY_ANYTHING?), something weird will start happening with the Z-Sort between sprite and the floor. The larger the poly...
by NITROYUASH
November 11th, 2019, 1:58 pm
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

Re: I have a problem with 2D sprite in 3D game

Just thought about potential quick-fix.
Maybe i should mark somewhere the floor polygons. Then add the second OT or something like that just for problematic polygons and then draw the sprites always in front of that polygons.

What do you guys think about this?
by NITROYUASH
November 11th, 2019, 3:10 am
Forum: Graphics/GPU
Topic: I have a problem with 2D sprite in 3D game
Replies: 20
Views: 4424

I have a problem with 2D sprite in 3D game

Hi PSXDEV. What is the name of this problem? For some reason, a 2D sprites in my game will not drawing correctly when they stand on the floor. Can i fix that using the PS1 function or this is more complicated problem? Can't find a sample by the way because i don't know what kind of problem is it. (S...
by NITROYUASH
November 3rd, 2019, 12:52 pm
Forum: Sound/SPU
Topic: [Tutorial] Converting MIDI + Samples to SEQ + VAB
Replies: 12
Views: 2700

Re: [Tutorial] Converting MIDI + Samples to SEQ + VAB

I'm thinking about documenting most of the things I do this time. Because if I happen to give up, at least it could serve as a starting point for someone else. This is a great idea. Well, I would probably write a lot of guides, but i am not so good at English. Maybe you'll fix that lack of informat...
by NITROYUASH
November 3rd, 2019, 12:15 pm
Forum: Sound/SPU
Topic: [Tutorial] Converting MIDI + Samples to SEQ + VAB
Replies: 12
Views: 2700

Re: [Tutorial] Converting MIDI + Samples to SEQ + VAB

Well done! This is actually a pretty helpful information!
Actually I know about this stuff and already worked with PS sound files (thanks Psy-Q samples), but it will definitely help someone :)
by NITROYUASH
October 12th, 2019, 7:16 pm
Forum: Graphics/GPU
Topic: [Question] AABB/Plane intersection PS1 interpretation
Replies: 2
Views: 1529

Re: [Question] AABB/Plane intersection PS1 interpretation

Write to me in PM what you need for this and I will send it. :)
by NITROYUASH
October 6th, 2019, 8:23 pm
Forum: Graphics/GPU
Topic: [Question] Screen scale?
Replies: 13
Views: 5282

Re: [Question] Screen scale?

Don't want to make another theme so i decided to ask here.
Can i change the Black Flag for a prepared data for VRAM (StoreImage/LoadImage method)?
I mean, this flag can be turned off for TIM's:
Image
by NITROYUASH
September 30th, 2019, 10:15 am
Forum: Graphics/GPU
Topic: [Question] Depth Cueing fog + texture
Replies: 9
Views: 2573

Re: [Question] Depth Cueing fog + texture

The only thing than you can draw outside screen resolution is the textures, UI elements (fonts, interface graphics...), CLUT (4b/8b palette) and something like this. I never saw a game that actually uses the screen more than the 640x480/512. But you can change the resolution on the fly. I mainly use...
by NITROYUASH
September 29th, 2019, 10:55 pm
Forum: Graphics/GPU
Topic: [Question] Depth Cueing fog + texture
Replies: 9
Views: 2573

Re: [Question] Depth Cueing fog + texture

You mean the biggest video resolution?

If i understand you correctly:
640x480 NTSC and 640x512 PAL
by NITROYUASH
September 28th, 2019, 6:52 am
Forum: Graphics/GPU
Topic: [Question] Depth Cueing fog + texture
Replies: 9
Views: 2573

Re: [Question] Depth Cueing fog + texture

I made it :> Tested on 4b textures // DPQ FOG CLUT typedef struct { u_long *timaddr; CVECTOR fog_clr; u_short cdpq; } DPQCLUT; int clut_dpq_fog(DPQCLUT *dclut) { long stp; long p,i,j; TIM_IMAGE timinfo; CVECTOR ccout; RECT rect; u_short *clut; u_short newclut[256]; // Open TIM file if (OpenTIM(dclut...