Textures again...

Feb 18, 2010 at 10:24 PM
Edited Feb 18, 2010 at 10:25 PM

Ok... i've create a project with the latest dlls from download and the code from your sample...

You can see it here...

The textured material only renders in Geometry primitives...

What the hell am i missing, diferent dlls? Cause it renders perfectly in ur example...

The source code is the same, only im using vs2010 RC...my source is here



Feb 22, 2010 at 8:33 AM


in your sourcecode, is it the teapot.ASE file in the Assets folder you're using?  It does not have any Texture mapping information in its file (The teapot_bricks.ase file does). So in the 3D modelling software you need to apply UV coordinates for the polygons.
(They're called TVERT in the ASE format) 

Feb 23, 2010 at 9:28 PM

Ok thx...i'll try that... :)

Feb 26, 2010 at 12:15 AM

It worked after applying UV coords...thx