How to load a texture programmatically (

Apr 23, 2009 at 1:59pm

How to load a texture programmatically (

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 at 11:24am

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

Jul 29, 2009 at 8:20pm

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 at 9:32pm

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


You must be logged in to reply to this topic.