Giter Club home page Giter Club logo

Comments (7)

Desoroxxx avatar Desoroxxx commented on May 29, 2024 3

Hello, this if fixed would bring compatibility to a mod called Little Tiles

from farplanetwo.

Fureniku avatar Fureniku commented on May 29, 2024 1

no, it actually wouldn't - Little Tiles uses a non-standard system for rendering blocks, and all the actual tile data is stored in tile entity data rather than the block state. it's unlikely that Little Tiles' blocks will ever show up properly with FP2, even with integration from their end.

will this be the case with any mods that use custom renders? I know a few people are excited to use this alongside my Road mod (being able to see roads for miles would obviously have big benefits) but I'm literally halfway through switching from the blockstate system to rendering directly by creating baked models at runtime (which weirdly improves performance overall).
Would my blocks still work as they're using baked models even though there is no data about them in the blockstate, or should I offer some kind of basic blockstate fallbacks for farplane to use to at least show something at distance?

(Also do you have a discord server for this?)

from farplanetwo.

DaMatrix avatar DaMatrix commented on May 29, 2024

no, it actually wouldn't - Little Tiles uses a non-standard system for rendering blocks, and all the actual tile data is stored in tile entity data rather than the block state. it's unlikely that Little Tiles' blocks will ever show up properly with FP2, even with integration from their end.

from farplanetwo.

Heath123 avatar Heath123 commented on May 29, 2024

For snow, can't you just make snowy grass render properly? It wouldn't be perfect but it would at least make it show on grass

from farplanetwo.

Heath123 avatar Heath123 commented on May 29, 2024

(Also do you have a discord server for this?)

https://discord.gg/FrBHHCk
It's one of the badges

from farplanetwo.

DaMatrix avatar DaMatrix commented on May 29, 2024

will this be the case with any mods that use custom renders? I know a few people are excited to use this alongside my Road mod (being able to see roads for miles would obviously have big benefits) but I'm literally halfway through switching from the blockstate system to rendering directly by creating baked models at runtime (which weirdly improves performance overall). Would my blocks still work as they're using baked models even though there is no data about them in the blockstate, or should I offer some kind of basic blockstate fallbacks for farplane to use to at least show something at distance?

(Also do you have a discord server for this?)

as long as a block state's model is present in the standard model registry (i.e. the model is present in BlockModelShapes), fp2 will try its best to determine which TextureAtlasSprite to use for each of the 6 block faces. this auto-detection is currently pretty bad, but will be improved in the future.

for modded blocks which use a custom rendering system (or if you simply aren't happy with the TextureAtlasSprite auto-detected by fp2 and want to manually override it), fp2 exposes an api (which will likely be modified in the future, so i would advise against using it for now) which allows other mods to tell fp2 how it should render a block. for every block state, you can define which texture atlas coordinates should be used for each of the 6 block faces. you don't get access to tile entity data, though, so if you need that to determine the texture then you're out of luck.

from farplanetwo.

 avatar commented on May 29, 2024

I'd like to add that in the latest download the same issue is still occurring, but the blocks load in as you get closer to them.

from farplanetwo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.