As I consider this more, there is a better way, which I amy look into. Generate a network of 4( or 3) sided polygons that form the out side of the sphere and map to those. I do not remember the formular for a sphere, but with that, generating a sphere that is not a collection of cylinders is possible.
For what I wanted the sphere to be, this one works well. If anyone wants the VB code, to improve on this, email or pm me.
I have created a small utility to create a sphere in BVE csv format. It is in the attached zip file below. I wanted a hemisphere, not a full sphere, but was just as easy to make. Enter the radius in meters and munber of segments. Number of segments should be even to make a good sphere. The more the smoother, but the more resources it takes to show the sphere. Color can be any XXX,XXX,XXX to generate any color. XXX,XXX,XXX,XXX will gnerate a transparent sphere, but this is not a good effect.
What I need help with is how I would make a texture map for the sphere. I need a method that is repatable so I can make the utility do it.
BTW, enter some odd numers to look at the effect, 3 segments maks a pyrimid of sourts. This is also a beta test, I would loke any feed back on errors.
It came to me while asleep, as do many good ideas. Here is the version that will also alow texture mapping. The more segments, the better the map. Note it is not perfect, but for an object seen a little ways off, not bad. Enjoy
Luigi pointed out some errors in the version 2 that made the textures not quite right. Attached it version 3. If no one else finds any errors this week, I will upload to my page and the train-sim library, attached below. Note the globe is a 36 element sphere
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We do not share information about our users with anyone. For additional details, refer to our Privacy Policy.
By clicking "I UNDERSTAND" below, you consent to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment