realined Mercury texture
Posted: 10.02.2007, 06:53
--- edit ---
Real-time 3D visualization of space
https://celestiaproject.space/forum/
https://celestiaproject.space/forum/viewtopic.php?f=5&t=10741
john Van Vliet wrote:hi my 8k Mercury map was 195 px. off .So seeing as i had a bit of time i reoffset it and did a bumpmap ( 100% airbrushed ) and a normalmap using nms
hear are the links
Mercury_L0123.zip --------- http://www.filefactory.com/file/7928b9
8kMerBump16bit.zip -------- http://www.filefactory.com/file/287816/
MercuryNormal_L0123.zip --- http://www.filefactory.com/file/398709/
the bumpmap is a 16 bit unsinged .gray image
I work with unsinged and not singed images
here is a hack for using unsinged images in nmsCode: Select all
short readS16(FILE *in)
{
short b2;
fread(&b2, 2, 1, in);
if (byteSwap == 1)
b2 = (((b2 & 0xff00)) >> 8) | (((b2 & 0x00ff)) << 8);
return (short) (b2 +32767);
}
-------------------------------------- orig-------------------------------------
short readS16(FILE *in)
{
short b2;
fread(&b2, 2, 1, in);
if (byteSwap == 1)
b2 = (((b2 & 0xff00)) >> 8) | (((b2 & 0x00ff)) << 8);
return (short) b2 ;
}
Johaen wrote:The textures work just fine for me in 1.5.0 pre2. I used the base map and the normal map. Some work was needed to put the textures in their proper folders, create the .ctx for the normal map and the .ssc for the alt texture. It looks properly aligned to me, and looks quite detailed, although it's fairly obvious where the edge of the "limit of knowledge" is. Probably not easy to do anything about that though. Thanks for your work John.
john Van Vliet wrote:To: danielj
"
Could be hardware compatibility.You have a MONSTER COMPUTER,with dual core,lots of RAM and even 512 MB of video.Maybe this helps or maybe you only get it by chance...
Anyway,I put the VT straight in the solarsys.ssc and didn??t create any ssc.But the problem is even for non begginers,it??not that easy to create VT textures,because your VT texture should be adjusted to the specific normal texture and not for a generic normal texture...
"
i run celestia on a very OLD dell ( aprox 6 years old)
PEN 4 350 GIG FER.
512 MEG RAM
AND A NIVIDA GE0-FORCE440 WITH 64 MEG ON BORAD RAM
a very old system and i get about 35 frames/ sec. with ALL my BIG maps