repeated textures on custom objects (Blender 2.81)

All about making tracks for MX Simulator
Post Reply
ChaosLasse
Posts: 21
Joined: Fri Oct 04, 2019 5:35 pm
Team: Privateer

repeated textures on custom objects (Blender 2.81)

Post by ChaosLasse »

Hello everybody,
sooo, I am trying to make some costum trees and stuff. I basically have everything ready to export, so I exported and my tree is missing half of its textures. (One half of the trunk is textured, the other one is transparent)
In Blender i got the repeating working through some uv coordinate conversions in the "node" tabe. (just the side with the bark texture is repeated)
The leaves are fine.

I guess the nodes do not make it in the .jm file but i dont know how to solve this.

I was trying to follow jlv's tutorial on making trees that he posted in here, but i am having trouble with that dou the differed Blender Versions.

I will add pictures if necessary.

strike me with knowledge :D
Wahlamt
Posts: 7934
Joined: Mon Sep 13, 2010 3:15 pm
Team: MLG Compton
Location: Sweden
Contact:

Re: repeated textures on custom objects (Blender 2.81)

Post by Wahlamt »

I'm not a 3d guy, but duplicate and flip the faces or something similar.
ChaosLasse
Posts: 21
Joined: Fri Oct 04, 2019 5:35 pm
Team: Privateer

Re: repeated textures on custom objects (Blender 2.81)

Post by ChaosLasse »

I had a problem like that earlier with the leaves not having textures on bothe sides and fixed it like that so that the normals of the faces are facing away from each other.
I checked the normals again and the are still facing the outside on the trunk.

Btw you tutorials on track making helped ne a lot.
Not with modeling but the rest of track making :D

If i dont find a solution, i will just make to statues, of the trunk and one of the leaves and place them in the Same Spot :D
aeffertz
Posts: 4031
Joined: Sat Sep 06, 2014 7:01 am
Team: Studio ATE
Location: Wiscansin

Re: repeated textures on custom objects (Blender 2.81)

Post by aeffertz »

MXS doesn't allow double sided planes, so you have to duplicate the faces and flip the normal so each side is facing out. To have a repeating texture, make sure it's properly unqwrapped first. Then you will need to name the files correctly by adding -repeat on the textures. Example:

treebark.jm
treebark-repeat.png
treebark_norm-repeat.png
treebark_spec-repeat.png

Adding -repeat to your textures will tile the texture across your unwrapped UV map, so make sure the part you want to have a tiled texture on is unwrapped larger than the actual UV map.
Image
ChaosLasse
Posts: 21
Joined: Fri Oct 04, 2019 5:35 pm
Team: Privateer

Re: repeated textures on custom objects (Blender 2.81)

Post by ChaosLasse »

Ah thanks man, going to try that when I am Home. :)
Post Reply