Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Light Texture Coordinates don't match UV values in blender? #395

Closed
lehthanis opened this issue Oct 30, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@lehthanis
Copy link

commented Oct 30, 2018

This may be a documentation issue or is more than likely a lack of understanding on my behalf, but I figured I'd raise it here since this seems to be the only place I can ever get answers about 3d modeling. (Thanks Ted!! If you'd rather me ask these questions elsewhere, let me know)

I'm trying to create a custom light in my cockpit obj and I'm missing the answers to so many questions. The primary of which, is that the UV coordinates provided in the UV editor don't seem to correspond to the S1,T1,S2,T2 values...And I'm not sure what values I should be using? Is 0,0 bottom left of my UV texture space?

If you want to also maybe answer these questions in this space that'd be cool too:
-Can a custom light be part of a cockpit obj?
-Can a custom light be inside of transparent geometry (like a light inside a gear handle)
--Does that gear handle geometry need to be in a separate glass blended obj?
-Does the billboard graphic need to be in the lit texture, or the albedo texture or both?
-and my above question, where do we derive the texture coordinates in blender?

@tngreene

This comment has been minimized.

Copy link
Collaborator

commented Nov 6, 2018

Custom Lights are not deprecated (because they provide a unique feature we don't plan on removing from X-Plane), but also not recommended. They are indeed under documented (but not entirely undocumented!)

Read these

All of LIGHT_CUSTOM's data comes directly from that box, not the UV editor. Its a "manual" process through and through that won't really be getting better, the autocorrect algorithm doesn't even run on it when it could. There isn't any validation either.

Unless these get a LOT more popular this won't change much. Dan Klaue uses these a lot to make hi s airplanes more distinct from the rest. He may or may not want to help you get started using them, because, after all, the more people who use this feature means it has to get more support.

@tngreene

This comment has been minimized.

Copy link
Collaborator

commented Feb 21, 2019

Did you ever figure out what you needed with Custom Lights?

@tngreene tngreene added the in review label Feb 21, 2019

@tngreene

This comment has been minimized.

Copy link
Collaborator

commented May 30, 2019

If you still need help, feel free to comment or get in touch.

@tngreene tngreene closed this May 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.