Search found 103 matches

by Discostew
Thu Mar 26, 2015 4:25 am
Forum: 3DS Development
Topic: Does the Geometry Shader not accept definable uniforms?
Replies: 2
Views: 9776

Re: Does the Geometry Shader not accept definable uniforms?

I've been attempting to reduce the amount of input that gets sent to the vertex shader by having the geometry shader handle generating vertices that are a set distance from the single vertex input through the use of uniforms. When using a uniform constant set from within the shader, it works fine, ...
by Discostew
Wed Mar 25, 2015 11:23 pm
Forum: 3DS Development
Topic: Does the Geometry Shader not accept definable uniforms?
Replies: 2
Views: 9776

Does the Geometry Shader not accept definable uniforms?

I've been attempting to reduce the amount of input that gets sent to the vertex shader by having the geometry shader handle generating vertices that are a set distance from the single vertex input through the use of uniforms. When using a uniform constant set from within the shader, it works fine, b...
by Discostew
Sun Mar 08, 2015 8:50 pm
Forum: 3DS Development
Topic: V/G shader to properly generate rectangle from 1-2 vertices
Replies: 3
Views: 12646

Re: V/G shader to properly generate rectangle from 1-2 verti

Ok, I believe I got the calculations for positioning correct. In much the same way I had to calculate the right affine matrix (by getting it's inverse), I sorta did the reverse on calculating the position. Now I can work on figuring out which tiles are to be rendered, which if I've thought this out ...
by Discostew
Sun Mar 08, 2015 5:57 am
Forum: 3DS Development
Topic: V/G shader to properly generate rectangle from 1-2 vertices
Replies: 3
Views: 12646

Re: V/G shader to properly generate rectangle from 1-2 verti

Yeah, I started to see that as I kept trying and trying. I resorted to throwing in 4 vertices (and figured out why it wasn't working before). I understand that there may be problems with per-scanline sets, but I'll tackle that when I get to it. First I want to get full-screen, unmodified-scanline Mo...
by Discostew
Sat Mar 07, 2015 7:37 pm
Forum: 3DS Development
Topic: V/G shader to properly generate rectangle from 1-2 vertices
Replies: 3
Views: 12646

V/G shader to properly generate rectangle from 1-2 vertices

Before I start, I want to say that I'm doing this to help StapleButter with BlargSNES. I'm attempting to develop a routine for displaying Mode7 using GPU acceleration, as it currently is handled via software-rendering (which is slow). What I'm looking to do is take either 1 or 2 vertices I input, an...
by Discostew
Sat Mar 07, 2015 9:52 am
Forum: Announcements
Topic: devkitARM release 44 and libraries
Replies: 12
Views: 63279

Re: devkitARM release 44 and libraries

elhobbs wrote:Is the libctru section of the forum supposed to be accessible?
I was wondering that too. Says I don't have permissions to read that forum, yet I can log out and read it. Was hoping to ask a question regarding shaders, but I can't (at least not there).
by Discostew
Sat Mar 07, 2015 12:20 am
Forum: Announcements
Topic: devkitARM release 44 and libraries
Replies: 12
Views: 63279

Re: devkitARM release 44 and libraries

Went and re-installed devkitpro, but it seems Avast is identifying false positives, preventing various parts of the installation from being installed/written (like bin2s within devkitARM), so I had to uninstall that and go with another free anti-virus program. Trying out Panda. At least it doesn't g...
by Discostew
Thu Jul 19, 2012 5:34 am
Forum: maxmod
Topic: Question about possible ADPCM streaming
Replies: 2
Views: 13223

Re: Question about possible ADPCM streaming

An update. I have stereo ADPCM streaming working. I tweaked the asm code and stream-loading code, so the audio should be a bit more fluid. Clicks and popping that remain are probably due to timing issues when dealing with the format ADPCM is enclosed in ('1' 32-bit header + 'n' 4-bit data samples in...
by Discostew
Wed Jul 18, 2012 7:08 pm
Forum: maxmod
Topic: Question about possible ADPCM streaming
Replies: 2
Views: 13223

Re: Question about possible ADPCM streaming

Well, I decided that if I wanted to see if it were possible, then I'd try it myself. I looked into the IMA-ADPCM format specifically used by Microsoft in their WAVE format, and I found something quite convenient. The format that Microsoft IMA-ADPCM data is stored is based on sequential block chunks,...
by Discostew
Mon Jul 16, 2012 8:56 pm
Forum: maxmod
Topic: Question about possible ADPCM streaming
Replies: 2
Views: 13223

Question about possible ADPCM streaming

If I understand the way Maxmod works, ADPCM cannot be streamed because streaming uses a ring-buffer, which would interfere with how ADPCM audio is played (which is having an initial sample and table index, followed by 4-bit values that contribute to the decoding process to 16-bit samples). My questi...