Forums > Dev

How to load a texture programmatically (

Apr 23 2009 | 1:59 pm

I have written a java external that draw some objects in a scene. I want to set a textures for the objects.
I can create a texture object like
texture = new JitterObject("");
but I don’t know how to load the texture file or how to use that texture on a object
can you help?

Apr 24 2009 | 11:24 am

Guys I would really appreciate any help on this matter
I can’t be the first person trying this ….

Jul 29 2009 | 8:20 pm

Hi wijesijp,

Why don’t you load the texture outside of you java external, in a [] located in your patcher?
It works with javascript.

Aug 16 2009 | 9:32 pm

jitter JS tutorial 45 shows how to load a file in qtmovie.
I think it is probably similar in java with textures …

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Dev