repeating textures

Started by acorn98, January 05, 2004, 12:04:51 AM

Previous topic - Next topic

acorn98

hi,

I've got a 3ds file with loads of textured objects, where the textures repeat, like tiles. It works great using the fps demo, with no problems.

I've now converted the app to run as an applet, but suddenly all my textures only appear once on each object - they're no longer tiling. The rest of the untextured area shows a repeated one-pixel edge from the texture. I know the 3ds file is fine, because it renders correctly in the non-applet version.

I suspect there's some property or other i need to set on my loaded objects, but I can't find anything in the API docs.

Any suggestions/pointers greatly appreciated..

EgonOlsen

Quote from: "acorn98"but I can't find anything in the API docs.
But there is... :wink: :

QuoteTexture coordinates are supported, but texture tiling is supported only by the OpenGL- and the SoftGL-renderer. The legacy renderer doesn't support it and will clamp the coordinates instead.

I assume that you haven't changed the renderer in the applet version and are using the (default) legacy software, which doesn't support tiling.
Change to the software renderer in OpenGL mode and things should work fine again.

Hope this helps.

acorn98

... now works perfectly.  thanks!!