Welcome, Guest

Author Topic: how do you make textures and put them on planets  (Read 11524 times)

hgfggg

  • **
  • Posts: 13
how do you make textures and put them on planets
« on: June 18, 2010, 07:06:41 PM »
how do you make textures and put them on stuff?

Chuck14

  • ***
  • Posts: 23
Re: how do you make textures and put them on planets
« Reply #1 on: June 18, 2010, 11:39:37 PM »
yes please!!!

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: how do you make textures and put them on planets
« Reply #2 on: June 19, 2010, 12:09:05 AM »
In the XML script, you must put the tag <Texture>file.jpg</Texture> in the Body that you want it on. The texture that you want, must be in the Media folder for US.

infringement153

  • ****
  • Posts: 48
Re: how do you make textures and put them on planets
« Reply #3 on: June 19, 2010, 12:13:05 AM »
How do you make spherical jpgs then?

And can they be other image file types?


Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: how do you make textures and put them on planets
« Reply #4 on: June 19, 2010, 12:47:46 AM »
How do you make spherical jpgs then?
You make a normal 2-dimensional image and let the program wrap it around the body.
Wikipedia - Sphere mapping]=http://en.wikipedia.org/wiki/Sphere_mapping]Wikipedia - Sphere mapping
Wikipedia - World map
I don't know any program where you can actually draw on a sphere and convert it to a 2D texture, but if anyone does, it would be awesome.

And can they be other image file types?
Yes, they can also be .png and probably also other common types.

Here is a texture of Earth:
« Last Edit: June 19, 2010, 12:54:07 AM by Bla »

infringement153

  • ****
  • Posts: 48
Re: how do you make textures and put them on planets
« Reply #5 on: June 19, 2010, 01:25:51 AM »
So what type of map projection does it have to be?  And what size/resolution should the file be?

US2 should come with a manual.

Laura

  • *****
  • Posts: 123
Re: how do you make textures and put them on planets
« Reply #6 on: June 19, 2010, 04:03:17 AM »
I don't know any program where you can actually draw on a sphere and convert it to a 2D texture, but if anyone does, it would be awesome.

Newer versions of Photoshop can do it. There's also Deep Paint 3D.

Quote from: infringement153
So what type of map projection does it have to be?  And what size/resolution should the file be?
It's usually known as spherical projection, but also equirectangular projection.
The size of texture depends on the level of detail you want, really. I tend to use 2048x1024. Always use textures that are twice as wide as they are high.

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: how do you make textures and put them on planets
« Reply #7 on: June 19, 2010, 06:09:12 AM »
Newer versions of Photoshop can do it. There's also Deep Paint 3D.
Thanks. :) I did know about Photoshop, but not the other one. Anyways, I said something different. I was thinking about some free, malware-free software.

So what type of map projection does it have to be?
It doesn't matter, it is what you prefer. All the program does is to wrap an image around a sphere, it doesn't care about the content of it. :)
Just ensure that the projection is a square and not round for example, because it will also wrap the black borders around the round edges of the map on the body (since it doesn't care about the content of the image). Also make sure, if you make your own texture, that the two sides fit together.

Laura

  • *****
  • Posts: 123
Re: how do you make textures and put them on planets
« Reply #8 on: June 19, 2010, 07:53:18 AM »
I doubt there's freeware which provides that capability.

Chuck14

  • ***
  • Posts: 23
Re: how do you make textures and put them on planets
« Reply #9 on: June 19, 2010, 10:26:14 PM »
haha i still dont get it ??? ???

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: how do you make textures and put them on planets
« Reply #10 on: June 20, 2010, 01:02:52 AM »
haha i still dont get it ??? ???
1: Find, download, edit or make a texture for the body you want to use it on.
- The image should be twice as wide as long (like 1024x512, 2048x1024 etc.).
- The image should be fully used, no empty space (like a black background behind a non-square map-projection) on it. If there's empty space, it will show up on the body as well.
- .jpg and .png work.

2: Place the map in User\Documents\Universe Sandbox\Media.

3: Go to User\Documents\Universe Sandbox\Systems

4: Open a system you want to edit in Notepad, or create a new one.
- When you save a system, you should use the extention .xml in the filename.

5: Add the objects and bodies you want in your system. You can use an exsisting system for to find codes you can use.

6: As NeutronStar said, the tag <Texture>File.png</Texture> takes File.png from the Media folder and wraps it around the body with the tag. You can replace File.png with anything, you should use the name.extention of the file in the Media folder you want to use on the body.

infringement153

  • ****
  • Posts: 48
Re: how do you make textures and put them on planets
« Reply #11 on: June 20, 2010, 01:19:46 AM »
What happens if you increase the mass of the object you put the texture on to a star?  Does the texture go away, and all you see turns into brightness?  (bad grammar)

infringement153

  • ****
  • Posts: 48
Re: how do you make textures and put them on planets
« Reply #12 on: June 20, 2010, 01:41:15 AM »
Also, does anybody have a grid image that I could put on a planet, to see the distortion level?

Naru523

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 1295
  • let's walk the true path of life
Re: how do you make textures and put them on planets
« Reply #13 on: June 20, 2010, 09:49:55 AM »
What happens if you increase the mass of the object you put the texture on to a star?  Does the texture go away, and all you see turns into brightness?  (bad grammar)


I tried (on both US1 and 2) but it doesnt work. Seems like you can only put it on planets and lower.

hgfggg

  • **
  • Posts: 13
Re: how do you make textures and put them on planets
« Reply #14 on: May 15, 2011, 06:57:24 PM »
I HATE XMLs. THEY DO NOT WORK. I WANT TO KNOW HOW TO PUT THEM IN UBOX FILES.

dissatisfied

  • *
  • Posts: 7
Re: how do you make textures and put them on planets
« Reply #15 on: May 15, 2011, 07:11:58 PM »
I HATE XMLs. THEY DO NOT WORK. I WANT TO KNOW HOW TO PUT THEM IN UBOX FILES.

you sir are clearly an enlightened individual. your mastery of capitalization knows no bounds.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: how do you make textures and put them on planets
« Reply #16 on: May 16, 2011, 02:32:09 PM »
I HATE XMLs. THEY DO NOT WORK. I WANT TO KNOW HOW TO PUT THEM IN UBOX FILES.

I'm sorry you're having trouble. Try reading this:
http://universesandbox.com/help/ubox/

In short... use the built in 'File Tools' to create UBOX files.