Search found 134 matches
- Sun Jun 04, 2017 10:07 am
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Re: Freeing Texture problem?
let's imagine that I have an array of gameObject, and that member 1 uses the same texture as member 0. if I run this: glDeleteTextutes(1, obj[0].tex.id); glDeleteTextutes(1, obj[1].tex.id); I will delete 2 texture, the texture used for gameObject 0 and another texture. I'll run this some other time ...
- Sat Jun 03, 2017 1:53 pm
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Re: Freeing Texture problem?
I figured it out, Some of my gameObject use texture from other gameObject. Deleting the texture will delete the next texture loaded. Is that supposed to happen? Right now I'm just deleting them manually and it's working fine, but I wonder if there's a way (within openGL) to know if a texture slot ho...
- Sat Jun 03, 2017 1:53 pm
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Re: Freeing Texture problem?
I figured it out, Some of my gameObject use texture from other gameObject. Deleting the texture will delete the next texture loaded. Is that supposed to happen? Right now I'm just deleting them manually and it's working fine, but I wonder if there's a way (within openGL) to know if a texture slot ho...
- Fri Jun 02, 2017 7:13 pm
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Re: Freeing Texture problem?
I have a wierd issue now and I can,t put my finger on why it does that. Depending on what order I free my textures, I don't get the same memory back? I have 2 arrays, one is a texture array, the second one is a "gameObject" array. Each gameObject contains a texture aswell. I load my textur...
- Fri Jun 02, 2017 9:17 am
- Forum: Programming Discussion
- Topic: Tracking memory usage
- Replies: 6
- Views: 1016
Re: Tracking memory usage
Check this topic from not too long ago, there's also some good link further down. http://dcemulation.org/phpBB/viewtopic.php?f=29&t=104322 Just keep in mind that if you,re freeing texture of PVR related stuff you need to use pvr_mem_free(). Since you work with -lgl (right?), glDeleteTexture() wi...
- Thu Jun 01, 2017 11:56 am
- Forum: Front Page News and Forum Guidelines
- Topic: Xenocider open for pre-order! New demo out!
- Replies: 59
- Views: 36510
Re: Xenocider open for pre-order! New demo out!
Also commenting on this to say that this last level looks BEAUTIFUL! It's keep on looking better. Keep up the good work!
- Thu Jun 01, 2017 11:46 am
- Forum: Front Page News and Forum Guidelines
- Topic: Xenocider open for pre-order! New demo out!
- Replies: 59
- Views: 36510
Re: Xenocider open for pre-order! New demo out!
Also commenting on this to say that this last level looks BEAUTIFUL! It's keep on looking better. Keep up the good work!
- Mon May 29, 2017 11:14 am
- Forum: Programming Discussion
- Topic: freeglut+libEGL+libGLU ports
- Replies: 21
- Views: 4139
Re: freeglut+libEGL+libGLU ports
Sorry for my dumb question, but is EGL main purpose is to provide OS-free implementation of openGL?
Just trying to see what is EGL about...
Just trying to see what is EGL about...
- Thu May 25, 2017 9:45 am
- Forum: Programming Discussion
- Topic: DC-TOOL-IP Linux Tutorial
- Replies: 9
- Views: 2515
Re: DC-TOOL-IP Linux Tutorial
I'm not a Dreamcast guru, but I usually prefer CDI files, even if it mean booting on windows to burn them. They're usually hassle-free and just work well.
- Tue May 23, 2017 3:34 pm
- Forum: Programming Discussion
- Topic: DC-TOOL-IP Linux Tutorial
- Replies: 9
- Views: 2515
Re: DC-TOOL-IP Linux Tutorial
Thanks everyone. I'll work on this a bit, namely adding a selfbooting .iso file
- Sun May 21, 2017 11:55 am
- Forum: Programming Discussion
- Topic: DC-TOOL-IP Linux Tutorial
- Replies: 9
- Views: 2515
Re: Freeing Texture problem?
Wow, this look pretty messy on the forum but I'm sure there's a way to make this look ok on the wiki. Feel free to edit the download sources if there's more reliable one. If someone has a precompiled DC-TOOL-IP 1.0.4, I'll gladly take it. :wink: As for the arp command, if you have a better idea on h...
- Sun May 21, 2017 11:50 am
- Forum: Programming Discussion
- Topic: DC-TOOL-IP Linux Tutorial
- Replies: 9
- Views: 2515
DC-TOOL-IP Linux Tutorial
This is a tutorial to get DC-TOOL-IP running on linux. My setup has the dreamcast is connected directly to my computer, no router in between. 1 - Get DC-LOAD-IP 1.0.4 from this source - https://drive.google.com/open?id=1tT_zDa8J3YosjZQMH3uXI79y0nM5mnLd This is selfboot .cdi image. I've burned it wit...
- Fri May 19, 2017 1:28 pm
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Re: Freeing Texture problem?
Thanks so much guys, I have a way better idea at how I should manage texture now. It's so nice to work with KOS, the number of ported librairies, documentation and tool make it a blast to work with. Also, as I was looking around for info, and learning how to make thing, I've wrote "basic" ...
- Tue May 16, 2017 8:06 pm
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Re: Freeing Texture problem?
After making sure that I free the data after it's being assigned to a glTexture, my game doesn't crash anymore! But the images end up being all black. Not after the first load tho, after the 6-7 load! Making progress... After reading those thread, I have one big question, PHEN0M said this: like Blue...
- Mon May 15, 2017 6:10 pm
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Re: Freeing Texture problem?
I'll look at the PNG loading code again before sending code.
Do you know if there's a function like pvr_mem_available() or any thing else useful I could use to keep track of memory?
Thanks so much bogglez.
Do you know if there's a function like pvr_mem_available() or any thing else useful I could use to keep track of memory?
Thanks so much bogglez.
- Sun May 14, 2017 2:48 pm
- Forum: Programming Discussion
- Topic: Freeing Texture problem?
- Replies: 18
- Views: 2533
Freeing Texture problem?
I've hit a wall recently checking for memory leak. Here's a simple structure of my code: I use -lGL to load my texture using the png_to_texture function from the DCEmu tutorial. I made myself a couple of classes to handle stuff like scene, and gameObjects. I was trying to figure out memory usage by ...
- Fri May 05, 2017 4:45 pm
- Forum: Programming Discussion
- Topic: openGL alpha problem
- Replies: 7
- Views: 1350
Re: openGL alpha problem
lxdream couldn't handle the transparency.
code is fine
code is fine
- Thu May 04, 2017 12:31 pm
- Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
- Topic: ElysianVMU: Open letter to authors of Dreamcast emulators
- Replies: 6
- Views: 5182
Re: ElysianVMU: Open letter to authors of Dreamcast emulator
I currently use both lxdream and reicast (and the DC of course) to test some code I'm working on. I haven't started using VMU right now as my stuff is pretty bare bone, but I would defenitly be interested in using EVMU to test/debug whatever is gonna happen in the VMU. I compiled reicast for linux, ...
- Thu May 04, 2017 11:44 am
- Forum: Official Reicast Discussion Forum
- Topic: Can someone please send me a link?
- Replies: 1
- Views: 1266
- Tue May 02, 2017 9:06 am
- Forum: First Person Shooters Development
- Topic: The Ascension Of Vigil
- Replies: 789
- Views: 171482
Re: The Ascension Of Vigil
Damn! Quite a suprise! THe video looks super good, remind me of Gauntlet in a very good way!