Hi again
I have few questions:
1. Are there any methods of making "soft-edge" shadows in irrlicht?
2. How can I make really FAST shadows, which wouldn't slow down FPS?
3. What is the best way of outdoor scene lighting? How many light sources should I use?
4. How to make shadowcasting only from light source I want.
P.S. addShadowVolumeSceneNode method is very slow imho
P.P.S. Excuse my bad english
Ways of making a shadow
I don't know what is lightmapsAnonymous wrote:For outdoor, as well as indoor scene, you can use lightmaps. I would only use dynamic shadows for characters or objects.
Okay, How can I obtain shadow of tree, which consists of few vertical polygons without backface culling and *.png texture with alpha channel?
Hi,
for lightmaps please use google/wikipedia for technique and then the forum here for methods and programs. It depends on your OS and modelling/rendering-package...
Basically its a 'shadow-texture' used with your existing one. There has been written a lot about it .
Your question about tree-shadow: It can be done using lightmaps too. But if your tree is moving, your shadow will stay 'frozen' to the position the lightmap has been rendered to. Then its time for dynamic shadows again...so read a bit about lightmaps - it's really easy to understand.
Cheers,
finger007
for lightmaps please use google/wikipedia for technique and then the forum here for methods and programs. It depends on your OS and modelling/rendering-package...
Basically its a 'shadow-texture' used with your existing one. There has been written a lot about it .
Your question about tree-shadow: It can be done using lightmaps too. But if your tree is moving, your shadow will stay 'frozen' to the position the lightmap has been rendered to. Then its time for dynamic shadows again...so read a bit about lightmaps - it's really easy to understand.
Cheers,
finger007
Lightmaps are basically textures which contain the shadows. The only problem with lightmaps, as finger007 says, is that they're static, so they're only useful for static objects (for example, a wall).
Their advantage relies in that they're very fast and very high quality, since they are pre-rendered.
I don't know how to do them in other software, but if you use 3D studio you will have to use the "render to texture" in the render menu to create the lightmaps.
Their advantage relies in that they're very fast and very high quality, since they are pre-rendered.
I don't know how to do them in other software, but if you use 3D studio you will have to use the "render to texture" in the render menu to create the lightmaps.
Thnx for explanation.
I'm using 3dsmax for modeling and rendering.
I have more questions now
1. How can I make static shadow (which looks like skylight shadow) under the car....One way is to make polygon under the car with alpha channel, but in this case part of my shadow will disappear, when the hills of terrain will be situated between the car's wheels
2. How to make reflection such as raytrace one in 3dmax? I know that cubemaps or something like this should be used, but i don't know exactly, how can I realize this with irrlicht
I'm using 3dsmax for modeling and rendering.
I have more questions now
1. How can I make static shadow (which looks like skylight shadow) under the car....One way is to make polygon under the car with alpha channel, but in this case part of my shadow will disappear, when the hills of terrain will be situated between the car's wheels
2. How to make reflection such as raytrace one in 3dmax? I know that cubemaps or something like this should be used, but i don't know exactly, how can I realize this with irrlicht