Search found 112 matches

by Jae686
Thu Oct 30, 2014 4:44 pm
Forum: Programming Discussion
Topic: 8C07FE68 WARN Accumulation buffer not supported
Replies: 8
Views: 1009

8C07FE68 WARN Accumulation buffer not supported

Good evening. After making a git pull and rebuilding KOS, my code, that previously worked, throws the following errors on lxdream : Descobertos 16 ficheiros para carregar rewinddir: call ignored A carregar o .png inside add_texture: string duplicada overlay WIDTH : 512, HEIGHT : 64 H: 64 W: 512 text...
by Jae686
Sat Oct 25, 2014 2:25 pm
Forum: Programming Discussion
Topic: 4kb Rotating Cube Demo
Replies: 43
Views: 4589

Re: 4kb Rotating Cube Demo

So Dreso741, when will we be able to try out your lib ? Best Regards. I hope to go into an open testing phase of the graphics module by christmas, but I could always use help with testing, documentation, etc. If you're interested in that PM me and I'll get back to you. Why not create a repo and let...
by Jae686
Sat Oct 25, 2014 12:30 pm
Forum: Programming Discussion
Topic: Random WIP shots
Replies: 35
Views: 8842

Re: Random WIP shots

Image

Adding support for simple 2d Overlays. (useful to put graphics such as logos, etc on the screen).
by Jae686
Sat Oct 25, 2014 10:03 am
Forum: Programming Discussion
Topic: 4kb Rotating Cube Demo
Replies: 43
Views: 4589

Re: 4kb Rotating Cube Demo

So Dreso741, when will we be able to try out your lib ?

Best Regards.
by Jae686
Tue Oct 07, 2014 3:27 pm
Forum: Front Page News and Forum Guidelines
Topic: New Open GL API Released
Replies: 65
Views: 25800

Re: New Open GL API Released

Well, doing so it broke my code. I should have probably read the changelog before upgrading.
by Jae686
Sat Oct 04, 2014 12:22 pm
Forum: Programming Discussion
Topic: Open GL API Error Reporting
Replies: 50
Views: 8771

Re: Open GL API Error Reporting

Problems while compiling examples : make[4]: Leaving directory `/home/jaerder/development/Tools/dreamcast/kallistios/examples/dreamcast/kgl/demos/mipmap' make -C multitexture make[4]: Entering directory `/home/jaerder/development/Tools/dreamcast/kallistios/examples/dreamcast/kgl/demos/multitexture' ...
by Jae686
Sat Oct 04, 2014 11:50 am
Forum: Front Page News and Forum Guidelines
Topic: New Open GL API Released
Replies: 65
Views: 25800

Re: New Open GL API Released

Good Afternoon. I've checked out the latest version of the API, but now I get the following error : /home/jaerder/development/Tools/dreamcast/kallistios/utils/bin2o/bin2o romdisk.img romdisk romdisk.o kos-cc -o bin/main.elf bin/asset_loader.o bin/data_estructures.o bin/dc_render.o bin/fnt_parser.o b...
by Jae686
Fri Sep 05, 2014 2:02 pm
Forum: Programming Discussion
Topic: Random WIP shots
Replies: 35
Views: 8842

Re: Random WIP shots

Good evening. When glEnable(GL_KOS_NEARZ_CLIPPING); on lxdream it simply shows a blank screen with a matching glclear() color, until the emulator crashes with --- Aborting with signal 11 --- Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sy...
by Jae686
Thu Sep 04, 2014 4:44 pm
Forum: Programming Discussion
Topic: Random WIP shots
Replies: 35
Views: 8842

Re: Random WIP shots

Well, this is my code running on real HW, but it has some bugs that did not appear on lxdream.



I wonder on how I'm going to debug something running on the real HW..........hummmmmm gotta see if I can get DDD and GDB running on DC hw....
by Jae686
Thu Sep 04, 2014 3:27 pm
Forum: Programming Discussion
Topic: Random WIP shots
Replies: 35
Views: 8842

Re: Random WIP shots

MisterDave, how did you embed the video on your post ?
by Jae686
Thu Sep 04, 2014 12:58 pm
Forum: Programming Discussion
Topic: Issues with glcolor3f() and texture loading
Replies: 4
Views: 773

Re: Issues with glcolor3f() and texture loading

Good afternoon. Hi PH3N0M, the fix did indeed work, but the bitmapped font and the render to texture on my code stopped working. (To be fair, I've pulled the latest version and did the editing you suggested , instead of testing first and then making the edit). How do I revert my copy of libgl ? Usin...
by Jae686
Wed Sep 03, 2014 1:48 pm
Forum: Programming Discussion
Topic: Issues with glcolor3f() and texture loading
Replies: 4
Views: 773

Re: Issues with glcolor3f() and texture loading

After some tests, the issue seems to go away if I comment the following code : glGenTextures(1, txr); glBindTexture(GL_TEXTURE_2D, *txr); glKosTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, iw, ih, 0, PVR_TXRFMT_TWIDDLED, PVR_TXRFMT_ARGB4444, txaddr); Therefore it appears that the gl related textures are cha...
by Jae686
Sat Aug 30, 2014 4:30 am
Forum: Programming Discussion
Topic: Issues with glcolor3f() and texture loading
Replies: 4
Views: 773

Issues with glcolor3f() and texture loading

Good Morning. I've been writing a simple progress bar to show load progress. Although I'm only drawing a quad and setting is color with glColor3f(), the quad's color changes when a texture is loaded, even with glDisable(GL_TEXTURE_2D). And I've been unable to find the cause of this artifact so far. ...
by Jae686
Wed Aug 27, 2014 11:54 am
Forum: Programming Discussion
Topic: Random WIP shots
Replies: 35
Views: 8842

Re: Random WIP shots

Looks very good MisterDave! What algorithm do you use create the blur ?

Best Regards!
by Jae686
Tue Aug 26, 2014 3:42 pm
Forum: Programming Discussion
Topic: Direct Texture Manipulation
Replies: 4
Views: 702

Re: Direct Texture Manipulation

Thank you BlueCrab! It worked after this edit was suggested : void pvr_to_grayscale(pvr_ptr_t texture_ptr, long unsigned int w, long unsigned int h) { uint16** txt_ptr = texture_ptr; uint16 bytemask_r = 0xF800 ; uint16 bytemask_g = 0x7E0 ; uint16 bytemask_b = 0x1F ; uint16 r = 0 ; uint16 g = 0 ; uin...
by Jae686
Tue Aug 26, 2014 2:48 pm
Forum: Programming Discussion
Topic: Direct Texture Manipulation
Replies: 4
Views: 702

Direct Texture Manipulation

Good Evening. I've been attempting to directly modify the texture returned glutCopyBufferToTexture(); function, but I've been unable to access and modify its contents via the pvr_ptr_t. In this example I'm attempting to convert a a RGB 565 texture to gray scale (without changing the texture format o...
by Jae686
Tue Aug 26, 2014 11:00 am
Forum: Programming Discussion
Topic: Issues with render to texture.
Replies: 3
Views: 566

Issues with render to texture.

Good afternoon. I've been having a odd issue while using the render the texture feature. I've copied the code from the examples (the radial blur example) that came with libgl and I'm rendering the texture into a quad (using ortho projection). I'm initializing the texture just like the example and, i...
by Jae686
Mon Aug 25, 2014 2:25 pm
Forum: Programming Discussion
Topic: Random WIP shots
Replies: 35
Views: 8842

Re: Random WIP shots

Image

Starting to experiment with the render to texture feature.

Although que quad only appears mid scene (due to some bug I'm still hunting).
by Jae686
Wed Aug 20, 2014 1:09 pm
Forum: Programming Discussion
Topic: [FIXED] Texture Loading on the New GL API
Replies: 8
Views: 1146

Re: Texture Loading on the New GL API

PH3N0N, glClearColor(1.0f, 1.0f, 1.0f, 1.0f); , appears to have no effect. I should have mentioned that I did not plan to be fully backwards compatible with old KGL API. The old KGL was not exactly doing things by the standard, so in some areas I attempted to be a bit closer to the standard. If you...
by Jae686
Tue Aug 19, 2014 12:34 pm
Forum: Programming Discussion
Topic: [FIXED] Texture Loading on the New GL API
Replies: 8
Views: 1146

Re: Texture Loading on the New GL API

My issue is now fixed. This the the following code to bind a png texture as a OGL texture : (Based on the new examples provided, although I dunno where on earth the .pvr file format came from, I'm only assuming, from the examples, that it is raw texture data plus a header) #include <kos.h> #include ...