Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Creating a demo with a custom .obj file #103

Copy link
Copy link
@321Proteus

Description

@321Proteus
Issue body actions

I recently tried to compile this project with my own OBJ and MTL files. I want to make a Minecraft head that looks at the cursor. I made the model using Blockbench.
When I ran the "convert" function, I got a JSON file.
It looks like that:

{
  "positions": [
    [0.25, 0.5625, 0.25],
    [0.25, 0.5625, -0.25],
    [0.25, 0.0625, 0.25],
    [0.25, 0.0625, -0.25],
    [-0.25, 0.5625, -0.25],
    [-0.25, 0.5625, 0.25],
    [-0.25, 0.0625, -0.25],
    [-0.25, 0.0625, 0.25]
  ],
  "chunks": [
    {
      "color": [119, 57, 0],
      "faces": [
        [3, 6, 4],
        [2, 3, 1],
        [7, 2, 0],
        [6, 7, 5],
        [5, 0, 1],
        [6, 3, 2]
      ]
    }
  ]
}

It seemed kinda suspicious to me, as the built-in fox model is way bigger...
I built a "normal" demo, but no model displays on the page. What should I do? I'm not very familiar with the rendering system, but I'm sure that the fault lies with Blockbench or the conversion library (all the paths and filenames are correct, I've checked that already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.