Texture Problem
Texture Problem
Hi All
i have problem with .3ds format when i import in irrlicht tiled texture wont work do i have to write any code for that please help
Regards
Max Man
i have problem with .3ds format when i import in irrlicht tiled texture wont work do i have to write any code for that please help
Regards
Max Man
Please, be more explicit. In version 0.3 there was a problem loading textures (you must put the image file in the executable dir), but well, 0.3 is ancient history.
If you use linux, please notice that 3d max stores filenames in uppercase inside 3ds files and you must rename the image files to match the names inside the 3ds.
In 3ds files exported from Milkshape the filenames are truncated at certain length (correct me if Im wrong).
If you use linux, please notice that 3d max stores filenames in uppercase inside 3ds files and you must rename the image files to match the names inside the 3ds.
In 3ds files exported from Milkshape the filenames are truncated at certain length (correct me if Im wrong).
A quick tip on Milkshape and textures.
Milkshape loves PNGs, especially for the texture placing tool.
Irrlicht doesn't like PNGs, so I convert the PNGs to Bitmaps.
My little work around for it is to apply the bitmap texture to the model after loading the model. This also allows me to have multiple skins for each mesh.
Milkshape loves PNGs, especially for the texture placing tool.
Irrlicht doesn't like PNGs, so I convert the PNGs to Bitmaps.
My little work around for it is to apply the bitmap texture to the model after loading the model. This also allows me to have multiple skins for each mesh.
Crud, how do I do this again?
texture tile problem
thanks for reply
i can see textures after loading 3ds file. displying a textures is no problem with 3ds file but tileing of texture is my problem
let me put this way i have room with floor(a box). i have applied a texture"floor.jpg" and tiled for 7 times. but when i import. it display only one tile on entire floor do i have to write code saying tile "floor.jpg" 7 times
in simple word 3ds file doesnt give tiled texture in irrlicht
waiting for reply
Regards
Max Man
i can see textures after loading 3ds file. displying a textures is no problem with 3ds file but tileing of texture is my problem
let me put this way i have room with floor(a box). i have applied a texture"floor.jpg" and tiled for 7 times. but when i import. it display only one tile on entire floor do i have to write code saying tile "floor.jpg" 7 times
in simple word 3ds file doesnt give tiled texture in irrlicht
waiting for reply
Regards
Max Man
Re: texture tile problem
Max Man wrote:thanks for reply
i can see textures after loading 3ds file. displying a textures is no problem with 3ds file but tileing of texture is my problem
let me put this way i have room with floor(a box). i have applied a texture"floor.jpg" and tiled for 7 times. but when i import. it display only one tile on entire floor do i have to write code saying tile "floor.jpg" 7 times
in simple word 3ds file doesnt give tiled texture in irrlicht
waiting for reply
Regards
Max Man
Please Please solve my problem
Texture Problem images
please check the url where i uploaded images t1.jpg shows 3d file with texture tiles correctly
http://ravishekdar.netfirms.com/t1.jpg
and when i export as 3ds file and open with irrlicht-0.4 it shows single tile texture
http://ravishekdar.netfirms.com/t2.jpg
Now tell me am i doing wrong i tried with DIRECTX and OPENGL method too.
the result is same.
If you want to try with my file i can mail across u Please
Regards
Max Man
http://ravishekdar.netfirms.com/t1.jpg
and when i export as 3ds file and open with irrlicht-0.4 it shows single tile texture
http://ravishekdar.netfirms.com/t2.jpg
Now tell me am i doing wrong i tried with DIRECTX and OPENGL method too.
the result is same.
If you want to try with my file i can mail across u Please
Regards
Max Man
Yes, could you send the file to me please? irrlicht@users.sourceforge.net
Hope I'll find the bug.
Hope I'll find the bug.
i have mailed to you the fileniko wrote:Yes, could you send the file to me please? irrlicht@users.sourceforge.net
Hope I'll find the bug.
soory for last reply i was in hurry
forgot to mention url
http://ravishekdar.netfirms.com/Release.zip
please download and check it
it may ask some missing texture but ignore it i am not using those texture in file
regards
Max Man
forgot to mention url
http://ravishekdar.netfirms.com/Release.zip
please download and check it
it may ask some missing texture but ignore it i am not using those texture in file
regards
Max Man
Why don't you create floor as 2 triangles? The way you create a room is bulky, there is 62 triangles, 108 vertices! You can do the same with the 12 triangles, 8 vertices.
One more - seems you are using groups in 3dmax (or levels maybe?). Forget about it. Engine doesn't understand grouping.
RTFM about texture-mapping, please.
(For example I using LithUnwrap for it)
Here is good tutorial for Milkshape: http://www.psionic.pwp.blueyonder.co.uk/tuts/msmap.html
Here is another one for LithUnwrap: http://www.bzuniverse.com/~fish.xsi/skin.htm
Finally I found skinning tutorial for MAX: http://www.cschell.com/skinmaxtut.html
One more - seems you are using groups in 3dmax (or levels maybe?). Forget about it. Engine doesn't understand grouping.
RTFM about texture-mapping, please.
(For example I using LithUnwrap for it)
Here is good tutorial for Milkshape: http://www.psionic.pwp.blueyonder.co.uk/tuts/msmap.html
Here is another one for LithUnwrap: http://www.bzuniverse.com/~fish.xsi/skin.htm
Finally I found skinning tutorial for MAX: http://www.cschell.com/skinmaxtut.html
Max Man
Really thabks for those linkspuh wrote:Why don't you create floor as 2 triangles? The way you create a room is bulky, there is 62 triangles, 108 vertices! You can do the same with the 12 triangles, 8 vertices.
One more - seems you are using groups in 3dmax (or levels maybe?). Forget about it. Engine doesn't understand grouping.
RTFM about texture-mapping, please.
(For example I using LithUnwrap for it)
Here is good tutorial for Milkshape: http://www.psionic.pwp.blueyonder.co.uk/tuts/msmap.html
Here is another one for LithUnwrap: http://www.bzuniverse.com/~fish.xsi/skin.htm
Finally I found skinning tutorial for MAX: http://www.cschell.com/skinmaxtut.html
yes i know i have created bulky model since there are lot of things are going to come.
But that is not solve my problem i am not using any groups as far as texture is there i collapse all mesh and apply texture (ie material) to
individual polygon once textures are applied then applu UNwrapUVW i again collapse all modifiers and convert into mesh and then export it and i save texture co-ordinate info
_____________________
USING IRRLICHT 0.4
I TRIED TO DO SIMPLE EXPRIEMENT WITH 3DS FILE I CREATED SINGLE PLANE IN 3DSMAX WITH SINGLE POLYGON(2 TRIANGLE) AND I APPLIED TEXTURE TO IT IN MATERIAL ATTRIBUTE I INCREASED TILE VALUE TO 5 EACH BUT IN IRRLICHT IT SHOWS SINGLE TILE TEXTURE
________
Please tell me is there any problem with my technic or my disply driver
Regards
Max Man
Wonders of 3ds format
That simple expriement gives me landed me some other problem that
i dont understand
when i export plane with texture tiled 5 times,in irrlicht 3ds file shows one
same file if i import it shows perfectly 5 times
But now if i import into mikshape3d it shows 1 tile So i used tile texture mapper and exoport it.after milkshape export it shows right
what ciould be the BUG is it with 3dsmax5.0 or ME
i am really going mad
please help me
Max Man
i dont understand
when i export plane with texture tiled 5 times,in irrlicht 3ds file shows one
same file if i import it shows perfectly 5 times
But now if i import into mikshape3d it shows 1 tile So i used tile texture mapper and exoport it.after milkshape export it shows right
what ciould be the BUG is it with 3dsmax5.0 or ME
i am really going mad
please help me
Max Man
The problem with your model. I've change size of UV coordinates, now texture is:
You can take my update of your test.3ds here http://cadkey.times.lv/t/test.3DS
I don't know 3dmax, so your problem with it remains.
You can take my update of your test.3ds here http://cadkey.times.lv/t/test.3DS
I don't know 3dmax, so your problem with it remains.