rubasurex
23-04-2006 01:44:32
Hi, I'm new to the forums and I've been playing around with oFusion trying to make a simple map to use in a basic FPS I've been working on.
What I want to do is create a flat plane, add a number of shapes to it (like boxes, etc...), then put textures on everything, add a light source and create a light-map. Then I want to export the whole lot out and load it into Ogre so I can fly around it. Sounds simple enough?
I know the basics of 3dsmax, so I can create the plane and add the shapes, no problem. I've been through the tutorials on the oFusion website, so I know how to add the light, set up textures and create the light-map. However, I just don't know how to fit all this knowledge together to make a complete map. Do you know what I mean? I can do each step on its own, but how to integrate the steps together is where I'm having trouble.
One of the key concepts I don't understand is how the textures work in relation to the light-map. Let me run you through some examples. Assume I have a scene with a textured object in it and a light source.
1. I select the object and create a light-map for it. The light-map is then created as a Self-Illumination map in the material. If I convert the material to an OgreMaterial, I have two passes, one for the diffuse and one for the light-map. Is this how it is supposed to work?
2. If I try and use an OgreMaterial directly, I can't seem to create the light-map. I need to use a Standard material first, then convert it to an OgreMaterial. Why is that?
3. If I add a second object to the scene and apply the same material to it (as the first object), I cannot create the light-map as the drop-down list that allows you to select Self-Illumination is empty. Why is this? Am I not able to share materials across different objects?
I have several different textures (such as a brick texture, grass texture, concrete texture, etc...) When I'm creating my scene, I just assign each object a material that it should have. Which means all the grass areas share the same grass material. Then I want to create a light-map across the whole map. This process isn't working for me (since I can't select Self-Illumination as mentioned above), so I'm wondering what I'm doing wrong.
How do you guys create your scenes, texture them and light-map them? Is there anywhere I can find a step-by-step how to for a simple scene with a box and a plane with texturing? The tutorial on the oFusion website doesn't use textures, so it doesn't help me.
What I want to do is create a flat plane, add a number of shapes to it (like boxes, etc...), then put textures on everything, add a light source and create a light-map. Then I want to export the whole lot out and load it into Ogre so I can fly around it. Sounds simple enough?
I know the basics of 3dsmax, so I can create the plane and add the shapes, no problem. I've been through the tutorials on the oFusion website, so I know how to add the light, set up textures and create the light-map. However, I just don't know how to fit all this knowledge together to make a complete map. Do you know what I mean? I can do each step on its own, but how to integrate the steps together is where I'm having trouble.
One of the key concepts I don't understand is how the textures work in relation to the light-map. Let me run you through some examples. Assume I have a scene with a textured object in it and a light source.
1. I select the object and create a light-map for it. The light-map is then created as a Self-Illumination map in the material. If I convert the material to an OgreMaterial, I have two passes, one for the diffuse and one for the light-map. Is this how it is supposed to work?
2. If I try and use an OgreMaterial directly, I can't seem to create the light-map. I need to use a Standard material first, then convert it to an OgreMaterial. Why is that?
3. If I add a second object to the scene and apply the same material to it (as the first object), I cannot create the light-map as the drop-down list that allows you to select Self-Illumination is empty. Why is this? Am I not able to share materials across different objects?
I have several different textures (such as a brick texture, grass texture, concrete texture, etc...) When I'm creating my scene, I just assign each object a material that it should have. Which means all the grass areas share the same grass material. Then I want to create a light-map across the whole map. This process isn't working for me (since I can't select Self-Illumination as mentioned above), so I'm wondering what I'm doing wrong.
How do you guys create your scenes, texture them and light-map them? Is there anywhere I can find a step-by-step how to for a simple scene with a box and a plane with texturing? The tutorial on the oFusion website doesn't use textures, so it doesn't help me.