• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Interface & Usage v
« Previous 1 2 3 4 5 … 32 Next »
Double-side plane?

 
  • 0 Vote(s) - 0 Average
Double-side plane?

vershner
Offline

Junior Member

Posts: 23
Threads: 6
Joined: Nov 2019
#1
06-30-2021, 05:36 PM
Is there a simple way in Wings to make a plane double-sided?
I have a tree with leaves that are planes. Within Wings, they appear to have textures on both sides, but when exported to .obj and imported into a game, they only have one visible side.
I have fixed this by duplicating the whole thing, and rotating all objects 180 degrees on two axis, but this doubles the number of tris, which isn't ideal. Is there a better way?
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#2
07-01-2021, 09:36 AM
How did you created it?

Usually, Wings3D allows to create manifold objects, which in in this case it means create a cube with one dimension having a zero thickness.

But, there is an option by extracting one cube's face.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
vershner
Offline

Junior Member

Posts: 23
Threads: 6
Joined: Nov 2019
#3
07-05-2021, 05:01 PM
I didn't create it. It was downloaded from from free3d.com. I imported it as an obj.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#4
07-06-2021, 05:59 AM
Quote:I didn't create it. It was downloaded from from free3d.com. I imported it as an obj.
If you import this object in your game, does it looks correctly?
If yes, maybe what you are doing with it on Wings3D before export it again is causing the issue.

The best option would add the link to the .obj file for the foliage you are using and then I can better understand what you are experiencing.

_____

Just to show how this kind of object should look on Wings3D bellow is a example (leaves-texture.wings).

I used a pentagon face for my leaf for convenience, it was extracted and then I get a flat object with two faces sharing the same vertex.

In this case, we UV segment the object selecting the edges and marking them for cut. After unfold the mesh we have the two faces in the AutoUV window which one is the front and other is the back.
By having a prepared texture image we just need to correctly align then over the respective painted images:

[Image: building-leaves-1.png]

[Image: building-leaves-2.png]
* the black area on image is the transparency (the .png alpha channel)
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
vershner
Offline

Junior Member

Posts: 23
Threads: 6
Joined: Nov 2019
#5
07-17-2021, 02:37 PM
I've attached the obj file that I originally imported.

In Wings the texture is seen on both sides.

This image should show the issue in the game:


From above the texture is seen on each face, but from below, the reverse side is invisible.


Attached Files
.zip   uploads_files_2431593_RealisticTree1.zip (Size: 79.44 KB / Downloads: 2)
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#6
07-20-2021, 01:13 AM
Which game engine are you using?
Couldn't the issue be related to a missing setup?!

I exported .obj (with the extra leaves removed) and loaded it in another 3d viewer and it showed the textures correctly.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
vershner
Offline

Junior Member

Posts: 23
Threads: 6
Joined: Nov 2019
#7
07-20-2021, 09:38 AM
The game is Workers & Resources: Soviet Republic. I believe it's a custom engine.

I'll try emailing the developer and asking if there's any setting I can use for double sides textures.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#8
07-20-2021, 01:28 PM (This post was last modified: 07-20-2021, 01:37 PM by micheus.)
vershner, I just took a look at the engine and it has a very nice look.

I also found this information bellow in their Steam Community - Beginner Modders Q&A:
Quote:Modelviewer
Questions about the Modelviewer Tool

:
5. Q: Why are some parts of my model not visible in the game or are visible from the wrong side?
A: If the face is invisible from both sides, that means you used an alpha texture. If it is visible from one side, but not the one you want it to be visible from, that means that you have to flip normals in your 3D program, because the game doesn’t support textures visible from both sides.

Protip: A simple fix in blender is to select the face menu and solidify the area you wish to make dual faced.
In this case, that suggested Solidify in Blender is equivalent to Extrude in Wings3D.

I believe you will need to set a small amount of thickness to not let the faces overlapping, but also without make perceptive the double mesh (like 0.0001).
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
vershner
Offline

Junior Member

Posts: 23
Threads: 6
Joined: Nov 2019
#9
07-20-2021, 02:39 PM
Thank you. I will give that a try.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode