Acnirak
08-11-2010 15:34:27
Hi, I want to add some texture on meshes by using Projective Texturing but i have some problems with a mesh;
when i have tried it it has worked without a problem in beginning,
for example it is result when i tried it on ogre head:
But i have some problems with this mesh:
it seems normal now but when i place second or third texture Visual Studio gives Acces Violation Error in rendering;
no problem written in ogre log;
to make it clear, this target mesh has been built from a lot of submeshes and it is created in runtime, from manual object then converting to mesh
i needed a generic and a target as a variable(circle numbers or its radiuses may be changed ), so i have made it from submeshes , every circle in it is a submesh.
I have started to think maybe a lot of submeshes make a problem in this case but i am not sure...
Any help will be appreciated.
when i have tried it it has worked without a problem in beginning,
for example it is result when i tried it on ogre head:
But i have some problems with this mesh:
it seems normal now but when i place second or third texture Visual Studio gives Acces Violation Error in rendering;
no problem written in ogre log;
to make it clear, this target mesh has been built from a lot of submeshes and it is created in runtime, from manual object then converting to mesh
i needed a generic and a target as a variable(circle numbers or its radiuses may be changed ), so i have made it from submeshes , every circle in it is a submesh.
I have started to think maybe a lot of submeshes make a problem in this case but i am not sure...
Any help will be appreciated.