Skip to content

Support for complexe shape #29

@SirJackblue

Description

@SirJackblue

Hello !

Recently, I started to work on a Voxel Engine, and your project helped me a lot !
I would like to add support for complexe shape, not only draw brick/voxel.
I understand how the Brick Render Component works but I have few questions concerning:

  • How unreal normalize UByte4N, normally each byte will be normalized with this formula:
    divide to 255 = x / max_x * 255, where max_x is the highest byte value and x the current byte value.
    My question here is does Unreal follow this rule.
  • How uint8 X is converted to UByte4N (I think each bytes has the value of X) ?
  • What is the usage of the 4th bytes of the UByte4N ?
  • If I use a Float4 instead of UByte4N for the ComponentPosition of the DataType, and I normalize it like a UByte4N, can I achieve what I want (complexe bricks like stairs, half-block, etc..) ?

Thank you in advance :)

Cordially, Jackblue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions