Jump to content

Disappearing objects outside the window


robur

Recommended Posts

Posted

Hello!
Sorry for my English, I think it is fairly understandable
I have a problem with objects that disappear behind windows, most often cars. I make my own models and it is problematic. Is there any solution for this?

Here are photos of how it looks: https://imgur.com/a/EhP1EWM

Posted (edited)

Yes i turned on the alpha transparency flag.
After changing to id 17448 it happened: https://imgur.com/a/d1xk8BC half of the building disappeared

After making the glass from this guide:

The glass is not visible

"3. Give the window glass a new material which has opacity set to 35/100. Do not give it any bitmap/texture"

Is this value an alpha channel?

 

H7vnuj8.png

 

Edited by robur
  • Moderators
Posted

Sorry, I meant that you should replace the ID only for the glass. The ID uses the correct alpha rendering flags from its object IDE.

Separate the glass into a new object and replace the ID I provided. It's for transcluent materials only.

Yeah that's the alpha channel. Though I believe Kam's scripts wants a bitmap in the slot for it to even export, so you may have to provide one.

 

I'm moving this to the Modelling forum for best results.

Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime - Lao Tzu

  • Moderators
Posted

It doesn't look like there's anything you can do on a modeling level to fix this. It's something that MTA would have to patch, and I believe there's an issue for it on our Github.

You may be able to circumvent the issues by using shaders, however I'm not knowledgeable in that area.

Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime - Lao Tzu

Posted (edited)

Hello again
I noticed that through the first glass I created in 3ds max you can see all objects normally. But after this glass is cloned, objects begin to penetrate the glass. I'm sending photos of what it looks like: 1 glass is basic 2 glass is clone 1 m2eQaMx.jpg

Texture i was adding Magic.TXD compressed DXT5

Edited by robur
  • Moderators
Posted

I'm unsure what you mean with cloned glass and object penetration.

Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime - Lao Tzu

Posted

But after this glass is cloned in 3ds max, disappearing objects outside the window* And through the first glass you can see normally.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...