stride3d / stride3d/stride

Assimp Scene to Model

Open
#474 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Asset area-Graphics enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Hi,

The present assimp importer takes a filename and returns xenko model.
The logic consists two steps:

  1. Load Assimp Scene using Assimp library
  2. Map Assimp Scene to Model

Please split this method into two public methods.

Why?

I have some code which generates Assimp scene on the fly. To convert it to Xenko model, I need to write it into a file and then using xenko's importer. If the methods are split as I said, I can avoid writing the file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Assimp importer entry point described in the issue and trace its two current steps: loading the scene and mapping it to a model. Separate those operations into public methods so an in-memory scene can be converted without writing a file, while preserving the existing filename-based import flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.