I found information on web, I need to put "texture, vertex and normal position of object" in the GPU to gain speed (not reload object every frame). It's called VBO.
It's working like loading texture with glBindBuffer, glGenBuffers but I didn't find any example.
Does someone has an example of a very simple object with VBO ?
3d kgl pvr texture format
-
- DCEmu Freak
- Posts: 82
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Thu Mar 10, 2016 7:14 am
- Has thanked: 0
- Been thanked: 1 time
Re: 3d kgl pvr texture format
The concept of VBO does not exist on the consoles of 6th generations (apart perhaps on XBOX).
But the default dreamcast has a vertex buffer, the normal ones are not registered in it (the calculations are done only on the CPU side).
And the textures are already in vram.
The only way to gain speed in these consoles and do the assembler, if you manage to avoid all 'pipelines stall ' in your rendering code (perspective transformation), then you will make the most of your machine.
But the default dreamcast has a vertex buffer, the normal ones are not registered in it (the calculations are done only on the CPU side).
And the textures are already in vram.
The only way to gain speed in these consoles and do the assembler, if you manage to avoid all 'pipelines stall ' in your rendering code (perspective transformation), then you will make the most of your machine.
Re: 3d kgl pvr texture format
Thanks, I'll look at this.Kannagi wrote: ↑Wed May 09, 2018 3:25 pm The concept of VBO does not exist on the consoles of 6th generations (apart perhaps on XBOX).
But the default dreamcast has a vertex buffer, the normal ones are not registered in it (the calculations are done only on the CPU side).
And the textures are already in vram.
The only way to gain speed in these consoles and do the assembler, if you manage to avoid all 'pipelines stall ' in your rendering code (perspective transformation), then you will make the most of your machine.
- lerabot
- Insane DCEmu
- Posts: 134
- Joined: Sun Nov 01, 2015 8:25 pm
- Has thanked: 2 times
- Been thanked: 19 times
Re: 3d kgl pvr texture format
Hey, I don't know what libGL version you're using, but you might wanna toy with Kazade's version, as he's actively working on it.
Also, I think I remember reading that lighting is currently busted on some libGL build. That might be the slowdown?
Also, I think I remember reading that lighting is currently busted on some libGL build. That might be the slowdown?
Re: 3d kgl pvr texture format
I use the "official" at cadcdev/kallistios
I'll make a test without light and find time to test other libgl