serious lightmap problem
serious lightmap problem
hello,
Im now struggling with this problem for a while and I wonder if someone could help me.
My UVW Maps are totaly displaced when Im rendering some compound cylindrical objects.
with flat objects like boxes or planes I never had problem at all.
Im moddeling whit 3dsmax, render to texture and export it with the my3d plugin. curiously when mapping such an object it affects other compound object mappings in the environment and displaces them.
Seams like the UVW Map somehow roted or moved while loading the engine so I have many black spots on the map.
Now matter how hard I try, in this case I only get one object map rendered correctly, but not all together.
The cylindrical objects are attached together, also the objects that are influenced so perhaps this somehow causes the problems but because of performance problems I cant render them seperately.
If someone has an conclusion or idea to this I would be very thankfull
Im now struggling with this problem for a while and I wonder if someone could help me.
My UVW Maps are totaly displaced when Im rendering some compound cylindrical objects.
with flat objects like boxes or planes I never had problem at all.
Im moddeling whit 3dsmax, render to texture and export it with the my3d plugin. curiously when mapping such an object it affects other compound object mappings in the environment and displaces them.
Seams like the UVW Map somehow roted or moved while loading the engine so I have many black spots on the map.
Now matter how hard I try, in this case I only get one object map rendered correctly, but not all together.
The cylindrical objects are attached together, also the objects that are influenced so perhaps this somehow causes the problems but because of performance problems I cant render them seperately.
If someone has an conclusion or idea to this I would be very thankfull
Im very sad but I think I have to choose another engine because Irrlicht isn't able to handle such a huge project. Id really like to finish it with irrlicht because I thought it is a good engine and there would be also an enormous public effect on the engine due to presenting my project to a lot of people.
The Lightmap Problem is following me since the beginning but the main reason is the performace problem which Im not able to handle.
I reduced my polys and objects to a minimum and tried to seperate them in several scene nodes but Im not able to get a satisfying Frame Rate.
Whit the octree activated it gets obviously better in some areas but in other with more complex objects it slows down to 1 FPS again.
Therefore its not possible to render the complex objects which cause the lightmap problems seperately.
I think the problem with the lightmaps its a kind of bug. If rendering complex objects I found lightmpas from other objects affected that have been rendered long before.
Seems kind of a very strange problem.
The Lightmap Problem is following me since the beginning but the main reason is the performace problem which Im not able to handle.
I reduced my polys and objects to a minimum and tried to seperate them in several scene nodes but Im not able to get a satisfying Frame Rate.
Whit the octree activated it gets obviously better in some areas but in other with more complex objects it slows down to 1 FPS again.
Therefore its not possible to render the complex objects which cause the lightmap problems seperately.
I think the problem with the lightmaps its a kind of bug. If rendering complex objects I found lightmpas from other objects affected that have been rendered long before.
Seems kind of a very strange problem.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Right now you only described a 3dsmax problem. That's probably why no one could help. I was even almost moving this to the graphics forum. So give us some more information.
One guess is that you use texture coord scaling. That's not supported in my3d, simply because the format does not handle texture coord transformations. We had this problem some weeks ago already. It's a flaw in the format, not in the apps (neither the exporter, nor Irrlicht).
One guess is that you use texture coord scaling. That's not supported in my3d, simply because the format does not handle texture coord transformations. We had this problem some weeks ago already. It's a flaw in the format, not in the apps (neither the exporter, nor Irrlicht).
first I also thought it has to be a 3dsmax problem but how is it possible that other, old maps are affected from a displaced map Im loading in the engine.
That made me think its not only a 3dsmax problem but some incompability with the engine.
What do you mean by texture coordinat scaling? I only use a normal UVW Map modyfier on the Objects and then render it with the standard options. This never was a Problem with simple Objects but only with the more complex ones.
I also try to figure out why only this Objects cause the problem. I think in this model I attached some cylinders to some boxes and then render all togehter, maybe this causes a problem somehow.
I would love to post a picture but I have no own webspace and unfortunately dont now how to upload here
That made me think its not only a 3dsmax problem but some incompability with the engine.
What do you mean by texture coordinat scaling? I only use a normal UVW Map modyfier on the Objects and then render it with the standard options. This never was a Problem with simple Objects but only with the more complex ones.
I also try to figure out why only this Objects cause the problem. I think in this model I attached some cylinders to some boxes and then render all togehter, maybe this causes a problem somehow.
I would love to post a picture but I have no own webspace and unfortunately dont now how to upload here
I dont know if this helps but here is the picture
http://i224.photobucket.com/albums/dd14 ... a/bild.jpg
the problem appeared while loading the lightmap of the object on the right side into the engine. The maps of the boxes on the left have been also displaced after loading the lightmap of the object on the right. Before that they have been fine. And even if it looks like its not the same material.
http://i224.photobucket.com/albums/dd14 ... a/bild.jpg
the problem appeared while loading the lightmap of the object on the right side into the engine. The maps of the boxes on the left have been also displaced after loading the lightmap of the object on the right. Before that they have been fine. And even if it looks like its not the same material.
No, I haven't. Which one do you recommend?
Im also wondering if its possible to add some dynamic load points into the scene. The engine isn't able to handel the hole scene in one node.
But exporting to different meshes and deviding them into different scene nodes also effected no improve, always provided that I did nothing wrong.
If someone has an suggestion how to improve framrate or fix the problem with the my3d maps please let me know
Im also wondering if its possible to add some dynamic load points into the scene. The engine isn't able to handel the hole scene in one node.
But exporting to different meshes and deviding them into different scene nodes also effected no improve, always provided that I did nothing wrong.
If someone has an suggestion how to improve framrate or fix the problem with the my3d maps please let me know
You can do as we do in our project and devide the "map" into a matrix and then load the "map" as you progresses. like you have a matrix around you with lets say 3by3 matrix and when your getting close to the edge you load the next part in the matrix and unload the ones that is out of the 3by3 matrix.
For the 3d format im not sure to be honest we use x for everything atm and i havnt testedwith light maps yet. Still learning Lightwave but i gues i could test in lightwave. And load iti nto out Client.
For the 3d format im not sure to be honest we use x for everything atm and i havnt testedwith light maps yet. Still learning Lightwave but i gues i could test in lightwave. And load iti nto out Client.