Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - draga

#16
Support / Re: obj world
December 09, 2009, 08:44:13 PM
thanks for your answer.

It seems that JPCT loads the textures automatically...It came always a message that the textures are already defined, after I run my "mtl texture loader"...
By the way...I only have white meshes, textures don't work at me...

Can you say what could be going wrong??
#17
Support / obj world
December 01, 2009, 01:31:25 PM
Hello,

I've done a world in obj-format (+mtl file).
In the obj file there are many objects (trees,grasses).

If I now Load by the Loader Class, I get an Array of Object3D.
But how should I now load the textures ( with setTexture()  ) from an Object3D?
I don't know what texture should be assigned to the Object3D...



#18
Support / Re: multi texturing
November 28, 2009, 11:01:41 AM
thanks, it works ;)
#19
Support / Re: multi texturing
November 27, 2009, 06:54:06 PM
yes, Thanks it works ;)

I have another question:
I want to add the 2nd texture as a detail layer, so I have tried to make TextureInfo.ADD,
but now the terrain is overlighten, what should I do ?
I want a additive Layer. With  TextureInfo.MODE_MODULATE is to dark...
Should I play with Alpha on texture?

#20
Support / multi texturing
November 27, 2009, 04:40:56 PM
Hello,

I have a question:
I have a terrain in obj-file and a mtl with texture info.
Now I want to add another texture over the whole terrain AND I want to make a uv-repeat by 200*200.

Is this possible? and how?

best regards,
draga