Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperCube > Programming and Scripting
[Extension] Texture Filtering
Author Text

mutan
Guest
Quote
2020-07-29 19:30:51

Greetings!
So, I made an extension that can help you change the texture filtering mode of a scene node. Is that enough? no? Okay, you can change the texture filtering mode of a whole scene!

Still don't get it? Well, let me explain it a bit further.
You can do it on your own, by writing a line of code for a texture.
So, 6 textures in a node needs 6 lines of codes.
If you have 100 nodes, then there will be 600 textures. Means 600 lines of codes are necessary.

Wait , REALLY?
The answer is, no. Why? Because with this extension, all you have to do is just press a key, and the extension will do the thing for you.

Link: https://www.mediafire.com/file/u...

Demo scene is included. So, enjoy!


count2rfeit
Registered User
Quote
2020-07-29 23:24:35

sorry, I am confused... you're JS looks great. but I checked your demo, and it doesn't seem to implement your script anywhere and there is no key to press.... am I missing something....


Robo
Guest
Quote
2020-07-30 07:31:28

Nice !
I just finished implementing a texture quality load setting in my game so can now add the 3 filtering methods also shown here...

Cheers!


mutan
Guest
Quote
2020-07-30 19:47:24

@count2rfeit Hehe, sorry but i made a little mistake in that demo. Here's a new one: https://www.mediafire.com/file/j...

I registered the extension as a behavior of the camera.
In case someone need more help, here's a guide (PDF): https://www.mediafire.com/file/r...

@Robo Sorry, but I can't understand your message. Please re-write


Robo
Guest
Quote
2020-07-31 05:23:42

mutan wrote:
@Robo Sorry, but I can't understand your message. Please re-write


I just posted a video about it - check it out..


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internationa?" (you are not logged in)


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons