Hi,
I ve seen 3D buildings with NormalMaps in the Viewport of CityEngine, Can I get the same effect in the CityEngine WebScenes ?
Jawadh
Solved! Go to Solution.
Jawadh,
CityEngine CGA models support 6 kinds of texture layers:
Texturing: Essential Knowledge
uv-set | Texture Layer |
---|---|
0 | colormap |
1 | bumpmap |
2 | dirtmap |
3 | specularmap |
4 | opacitymap |
5 | normalmap |
For export to Web Scenes the models get simplified and only use colormap. This is necessary due to browser limitations and to ensure compatibility on less powerful systems.
CityEngine Web Scene (3ws) Export
In your case I suggest to modify the edges colormap of the window texture to achieve a similar look.
Jawadh,
Can you elaborate on this? I'm not sure what you mean by "3D buildings with NormalMaps" - can you post a screenshot?
Are you referring to how the web scene uses backface culling? The default viewport in CE has backface culling disabled, but you can turn it on so the viewport matches the web scene. In fact, you might make it a habit to test in this mode before publishing a web scene.
Thanks!
Chris
Hi Chris,
Here are some Screenshots.
1. Model in CityEngine Without set(material.normalmap,normalMapTex)
2. Model in CityEngine With set(material.normalmap,normalMapTex)
3. Same model in webscene, but seems like the normalmap is not rendered here.
Can I get the same effect of the normalmap used in the Web Scene also.? I am trying to achieve a window effect
in cityengine with normal maps, so as to get realistic effect.
4. The Normal Map used for creating the Window effect.
Cheers,
Jawadh
Jawadh,
CityEngine CGA models support 6 kinds of texture layers:
Texturing: Essential Knowledge
uv-set | Texture Layer |
---|---|
0 | colormap |
1 | bumpmap |
2 | dirtmap |
3 | specularmap |
4 | opacitymap |
5 | normalmap |
For export to Web Scenes the models get simplified and only use colormap. This is necessary due to browser limitations and to ensure compatibility on less powerful systems.
CityEngine Web Scene (3ws) Export
In your case I suggest to modify the edges colormap of the window texture to achieve a similar look.
Also tried the Back face culling enabled .. still no change..