| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| I guess I don't understand texture filtering??? | |
|---|---|
| Tweet Topic Started: Dec 17 2012, 11:37 AM (149 Views) | |
| h0tp0ck3t | Dec 17 2012, 11:37 AM Post #1 |
|
Newbie
![]() ![]() ![]()
|
My game is to use pretty simple 3d and a pixel art aesthetic. The problem is right now I assume the filtering is making the textures blurry ingame even when the camera is right next to them. I read the info doc and it seems what I should be doing is setting the texture filter to nearest point so that the textures all look sharp and pixelly instead of blurry (since they are very low res). I tried messing around with the functions related to mip maps and the texture filter but I guess I am doing it wrong since it is staying consistently blurry, so I am resigning to ask. What exact functions should I use for this and when do I need to run them? I would guess I am to use SetFilter(1,1) in the room creation but obviously that did not work. Thanks! Oh also, is there a way to make the window caption not "Basic Ultimate 3D application"? I tried window_set_caption but it just changes it back rapidly. |
![]() |
|
| zelda4evr | Dec 17 2012, 12:52 PM Post #2 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The window caption is most likely being set in the room settings. But I'll let someone that has used game maker more recently answer the filter question. |
![]() | |
![]() |
|
| Despellanion | Dec 17 2012, 01:35 PM Post #3 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Normally you use SetFiler and MipMapCount in the control object before you load your textures. |
![]() |
|
| h0tp0ck3t | Dec 17 2012, 02:24 PM Post #4 |
|
Newbie
![]() ![]() ![]()
|
Thanks to both of you! I feel like an idiot for completely forgetting the room caption existed, and it appears I was doing the filter and mipmap settings correctly except that I set the texturestage to 1 instead of 0. Problem solved. |
![]() |
|
| zelda4evr | Dec 17 2012, 08:19 PM Post #5 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Isn't the texture stage used for if you have more texture passes like bump mapping and such? |
![]() | |
![]() |
|
| Despellanion | Dec 17 2012, 08:22 PM Post #6 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You can use i to set the filter for on-screen textures drawn with DrawTex/Ex, too. |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)




2:21 AM Jul 11