Page 1 of 1

How to get smooth environment maps ala NFSU2

Posted: Wed May 18, 2005 1:03 am
by glenneaux
hey,

I have an artist trying to make and environment map a car aiming for similar results as achieved in NFSU2 but we haven't been able to reach that goal.

Image

The material definition for the environment map is:
material 2___Default
{
technique
{
pass
{
cull_hardware none
ambient 0.619608 0.619608 0.619608 1
diffuse 0.619608 0.619608 0.619608 0
specular 0.1 0.1 0.1 1 0

texture_unit
{
cubic_texture cube.dds combinedUVW
env_map cubic_reflection
tex_coord_set 2
colour_op add

}
}
}
}
What are we missing here?

Posted: Wed May 18, 2005 5:33 pm
by sinbad
As you can see from the Demo_Cubemap sample, it's entirely possible to get nice smooth cubic reflections in ogre. Perhaps your model doesn't have enough tesselation (you need smoothly changing normals to make the reflection smooth), or maybe the normals are screwy. The other thing to beware of is using any scaling on the node the entity is attached to.

Posted: Wed May 18, 2005 5:42 pm
by Lioric
Looks like there is some normals problem, and too low poly resolution, or probably is just the screenshot

Lioric

Posted: Mon Jul 04, 2005 3:29 am
by glenneaux
bump

Posted: Mon Jul 04, 2005 3:38 am
by jacmoe
sinbad wrote:Perhaps your model doesn't have enough tesselation (you need smoothly changing normals to make the reflection smooth), or maybe the normals are screwy.
Any comments? :)

Posted: Wed Jul 06, 2005 6:11 pm
by RoundSparrow
Suggestion is to post your original model file and/or mesh file ... see if someone will look at it.

Posted: Thu Jul 07, 2005 12:57 am
by Rixeh
Owch that model just screams "NORMAL MAP ME PLEASE" ;)

Posted: Thu Jul 07, 2005 1:58 pm
by Sindwiller
Rixeh wrote:Owch that model just screams "NORMAL MAP ME PLEASE" ;)
http://developer.nvidia.com/object/melody_home.html

mfg, Sindwiller

Posted: Mon Sep 05, 2005 7:32 am
by glenneaux
bump

j/k :P

Posted: Mon Sep 05, 2005 11:43 am
by sgrgc