Hello everybody. I have a question.
Is it possible to use bump or normal maps simultaneously with a 3D-model? My attempts were unsuccessful.
I'll explain why this is necessary. It's about Haumea and her rings. When used parameter "SemiAxes", the rings become oval. When the model is used, the rings is round. But our model is smooth. We have fictitious maps of heights and would like to use them simultaneously.
Theoretically, it would be possible to make a model with the necessary dents from a bump map, but I think the main texture will not with them coincide properly (I found that it is superimposed on the model differently than on a simple ellipsoid).
Heights and models
-
Topic authorArt Blos
- Moderator
- Posts: 1160
- Joined: 31.08.2017
- Age: 32
- With us: 7 years 5 months
- Location: Volgodonsk, Rostov Oblast, Russia
Heights and models
Last edited by Art Blos on 22.10.2017, 14:38, edited 1 time in total.
Founder and head of the project "Celestia Origin"
Bump or normal maps are two dimensional optical illusions, they are just virtual shadows and lights basically. 3D models are "real" objects in the virtual space, with "real" shadows...normal maps on 3D models are also illusions...specular maps are the the closest thing to a "real" normal map for a 3D object...
-
Topic authorArt Blos
- Moderator
- Posts: 1160
- Joined: 31.08.2017
- Age: 32
- With us: 7 years 5 months
- Location: Volgodonsk, Rostov Oblast, Russia
I understand the essence of the maps of heights. I am interested in the purely technical side of the matter. In the accessible documentation about the possibility of simultaneous use of heights and models nothing is written.john71 wrote:Bump or normal maps are two dimensional optical illusions, they are just virtual shadows and lights basically. 3D models are "real" objects in the virtual space, with "real" shadows...normal maps on 3D models are also illusions...specular maps are the the closest thing to a "real" normal map for a 3D object...
Founder and head of the project "Celestia Origin"
- FarGetaNik
- Posts: 484
- Joined: 05.06.2012
- With us: 12 years 7 months
- Location: Germany
Art Blos wrote:Is it possible to use bump or normal maps simultaneously with a 3D-model? My attempts were unsuccessful.
Yes it is possible to use a normal map on a cmod model in Celestia. Bump maps won't work. It is quite a difficult process, I discussed the matter on this topic: https://celestia.space/forum/viewtopic.php?f=30&t=17471
This gave me quite the laughs when I tried it maybe this should be something to be fixed in 1.7.Art Blos wrote:When used parameter "SemiAxes", the rings become oval.
What have specular map to do with the matter? Illusion or not, normal maps give quite good results for objects that are relatively round, like planets and the larger dwarf planets.john71 wrote:specular maps are the the closest thing to a "real" normal map for a 3D object...
If the normal map is purely fictional (maybe you are talking about Snowfalls'?) then the best way would be to use an ellipsoid model without topography and apply a normal map to it. The model needs to be a UV-mapped cmod.
Put it and the normal map in a folder where Celestia would expect it, so the mesh in a "models" folder and the normamap and texture in a "textures/medres" folder within the same parent directory. You have to open the cmod in cmodview, then do "Operations/Generate Tangents" and "Operations/Uniquify Vertices". Select the model, in the menue on the right you can now select the normal map and the surface texture. Make sure that all the textures you are using in conjunction (the regular texture map AND the normal map) are in png format, otherwise it won't work. Also the ssc file should not overwrite any textures, it has to be defined within the cmod materials.
Here is Ceres as an example:
-
Topic authorArt Blos
- Moderator
- Posts: 1160
- Joined: 31.08.2017
- Age: 32
- With us: 7 years 5 months
- Location: Volgodonsk, Rostov Oblast, Russia
For me it's not at all fun.FarGetaNik wrote:This gave me quite the laughs when I tried it
Very much I doubt.FarGetaNik wrote:maybe this should be something to be fixed in 1.7.
Thanks, I'll try.FarGetaNik wrote:If the normal map is purely fictional (maybe you are talking about Snowfalls'?) then the best way would be to use an ellipsoid model without topography and apply a normal map to it. The model needs to be a UV-mapped cmod.
Put it and the normal map in a folder where Celestia would expect it, so the mesh in a "models" folder and the normamap and texture in a "textures/medres" folder within the same parent directory. You have to open the cmod in cmodview, then do "Operations/Generate Tangents" and "Operations/Uniquify Vertices". Select the model, in the menue on the right you can now select the normal map and the surface texture. Make sure that all the textures you are using in conjunction (the regular texture map AND the normal map) are in png format, otherwise it won't work. Also the ssc file should not overwrite any textures, it has to be defined within the cmod materials.
Founder and head of the project "Celestia Origin"
Art Blos wrote:Is it possible to use bump or normal maps simultaneously with a 3D-model?
Use Anim8tor for basic UV mapping and after that cmodview (generate tangents). You may have to edit the ascii cmod file.
But in my opinion it is quite hard to match the normal map of a spherical object with the normal map of a much smaller 3D mesh.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 5 months
yes it is possible
have a look at this cmod
-- asteroid Bennu
https://drive.google.com/file/d/0B6ZYAd08tZL-S3NGYWRBaUNraTg/view?usp=sharing
have a look at this cmod
-- asteroid Bennu
https://drive.google.com/file/d/0B6ZYAd08tZL-S3NGYWRBaUNraTg/view?usp=sharing
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 5 months
i used a lores height map( dem ) to make the mesh
then a hires bump map to make the hires normal map
i export a uv mapped mesh with the normal and texture in Blender to a obj mesh
open it in Cmodview
now there is a bit of a bug the textures need to be flipped vertically
then a hires bump map to make the hires normal map
that is a normal everyday cmodWould it be possible to use a model, normal map, AND surface texture all at once?
i export a uv mapped mesh with the normal and texture in Blender to a obj mesh
open it in Cmodview
now there is a bit of a bug the textures need to be flipped vertically
John Van Vliet, would it be possible to not use Blender, because I cannot find out how to use that program to UV map meshes...
I was looking for a method involving cmodview only. I already have the UV mapped mesh, just when I add the normal map and run it in Celestia, the normal map doesn't render (the model appears as if the normal map isn't there). I have no clue what I'm doing wrong...I made sure to use the operations "Generate Tangents" and "Uniquify Vertices".
I was looking for a method involving cmodview only. I already have the UV mapped mesh, just when I add the normal map and run it in Celestia, the normal map doesn't render (the model appears as if the normal map isn't there). I have no clue what I'm doing wrong...I made sure to use the operations "Generate Tangents" and "Uniquify Vertices".
CM1215: Celestial master in learning.
It's impossible to guess what you might be doing "wrong" without having all the information. A typed description often can be misinterpreted or impossible to reproduce.
Among other things I'm probably not thinking of, you'll need to post the original model, the cmod version, all of the texture files you're trying to apply to it and the SSC you're using to try to display it.
Among other things I'm probably not thinking of, you'll need to post the original model, the cmod version, all of the texture files you're trying to apply to it and the SSC you're using to try to display it.
Selden
I can do that. Here I have posted all the files you will need to find out what is wrong. The iapetustest5.cmod is the model that has no normal map applied, and the iapetustest12.cmod is the model that already has the normal map applied, but won't render it in Celestia.selden wrote:you'll need to post the original model, the cmod version, all of the texture files you're trying to apply to it and the SSC you're using to try to display it.
Here is the ZIP file:
CM1215: Celestial master in learning.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 5 months
there are so ,so,so,so,SO,SO,SO,SO many many many tutorials and guides and videos
YouTube alone has like over 5 thousand video guides on using blender
then there are all the step by step tutorials in video and pdf form
MAKE the coffee and doughnuts from the Step #1 Beginners TUTORIAL
a mostly spherical mesh is one of the easiest to do
BUT YOU HAVE TO RTFM AND RUN THROUGH THE INSTRUCTIONS
YouTube alone has like over 5 thousand video guides on using blender
then there are all the step by step tutorials in video and pdf form
MAKE the coffee and doughnuts from the Step #1 Beginners TUTORIAL
a mostly spherical mesh is one of the easiest to do
BUT YOU HAVE TO RTFM AND RUN THROUGH THE INSTRUCTIONS