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

Recognize brush's face texture scaling from .MAP files. #109

Open
jaruizramon opened this issue Dec 14, 2024 · 0 comments
Open

Recognize brush's face texture scaling from .MAP files. #109

jaruizramon opened this issue Dec 14, 2024 · 0 comments

Comments

@jaruizramon
Copy link

jaruizramon commented Dec 14, 2024

TBroom 5.15.2

Consider this brush:

// brush 1
{
( -688 600 -30.85714285714772 ) ( -688 -576 -30.857142857145828 ) ( -688 -576 -320 ) 256x256/Tile/Tile_11-256x256 0 -17.777775 0 1.5 0.9642858
( -688 600 -30.85714285714772 ) ( 1960 600 -30.857142857147146 ) ( 1960 -576 -30.857142857145252 ) 256x256/Stone/Stone_11-256x256 0 0 0 1.5 1.5
( -688 -576 -30.857142857145828 ) ( 1960 -576 -30.857142857145252 ) ( 1960 -576 -320 ) 256x256/Stone/Stone_11-256x256 0 -17.777775 0 1.5 0.9642858
( 1960 -576 -320 ) ( 1960 600 -320 ) ( -688 600 -320 ) 256x256/Stone/Stone_11-256x256 0 0 0 1.5 1.5
( 1960 600 -320 ) ( 1960 600 -30.857142857147146 ) ( -688 600 -30.85714285714772 ) 256x256/Tile/Tile_11-256x256 0 -17.777775 0 1.5 0.9642858
( 1960 -576 -30.857142857145252 ) ( 1960 600 -30.857142857147146 ) ( 1960 600 -320 ) 256x256/Tile/Tile_11-256x256 0 -17.777775 0 1.5 0.9642858
}

This brush has faces with a texture scale of 1.5 for x and y respectively, but on Godot, the scaling of the textures seem like 0.1 for both axes.

This is the sample map from Tbroom.
image

This is Tbloader's output in Godot.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant