Hi Eleni, very good! I think you should definitely now look for a nice texture for at least the moon, so that we can end up with something that can really be merged to trunk. Cheers, Fabien
On Mon, Sep 19, 2011 at 19:24, Eleni-Maria Stea <[email protected]> wrote: > it wasn't very clear but of course you can name the textures as you > like :) just said test.png and test_nmap.png because that's what I > used in the venus record :) to add a normal map just add normal_map = > filename.png... > > best, > eleni > > On 19 September 2011 20:20, Eleni-Maria Stea <[email protected]> wrote: >> Hello Fabien and everybody else :) >> >> I managed to finish the bump mapping for the ESA SOCIS (of course >> there are still many minor things to do in the code such as improve >> the coding style, add doxygen documentation parameter etc... but I >> thing the heavy stuff is over now). >> >> The code is here: https://code.launchpad.net/~hikiko/stellarium/socisplanet >> >> and here are some screenshots using a random texture and its normal map: >> (I experimented in Venus) >> >> http://i.imgur.com/GgW0F.jpg >> http://i.imgur.com/Wedo9.jpg >> >> Here is the same rendering without the texture (so that you can see the >> bumps): >> >> http://i.imgur.com/urvzj.jpg >> http://i.imgur.com/4xNPe.jpg >> >> If you want to run it here are the maps: >> >> texture map used: http://i.imgur.com/6mBWn.jpg (you need to convert it >> to png and name it "test.png") >> normal map used: http://i.imgur.com/TGcsF.jpg (you need to convert it >> to png and name it "test_nmap.png") >> >> then you can replace the record for Venus in ssystem.ini with the >> following and copy the maps inside the texture folder: >> >> [venus] >> name = Venus >> parent = Sun >> radius = 6051.8 >> halo = true >> color = 1.0,1.0,0.9 >> tex_map = test.png >> normal_map = test_nmap.png >> tex_halo = star16x16.png >> coord_func = venus_special >> lighting = true >> albedo = 0.77 >> rot_periode = -5832.479839 >> rot_rotation_offset = 137.45 >> rot_pole_ra = 272.76 >> rot_pole_de = 67.16 >> #rot_obliquity = 178.78 >> #rot_equator_ascending_node = 300.22 >> orbit_visualization_period = 224.70 >> atmosphere = 1 >> >> Then it will probably run :) >> >> I think that next task should be: >> find height or normal maps from nasa, esa etc >> if this is not possible maybe I should add some code that generates >> random maps (using noise for example) >> and then of course write the doxyzen documentation. >> >> What do you think about this? >> Do you think that I should do something else before this task? (for >> example try to implement something else from the blueprints?) >> >> Thanks in advance :)) >> Best regards, >> Eleni >> > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
