LuxCoreRender / LuxCoreRender/BlendLuxCore

Add support for PLY proxy objects

Open
#110 11 comments 0 reactions 1 assignee View on GitHub

@neo2068 is already working on this.

Since Apr 9, 2018.

enhancement
Dominant language
Python
Stars
877
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Planned workflow:

  • Select object that has a long export time and/or makes OpenGL viewport sluggish (e.g. trees)
  • Press a "make proxy" button (or a menu entry in the export menu?)
  • Object is exported to disk as PLY and converted to a low-resolution proxy object in Blender

Implementation:

  • The proxy has to support multiple materials. Back in LuxBlend we split it into multiple objects with one material each and parented them to one object, but this is far from ideal (user can accidentally move a part, and it is clumsy to use). A better idea:
    • Only one proxy object in Blender
    • Has properties attached with information about the multiple PLY files attached to the proxy and which material belongs to which PLY
  • We will probably need to add a function to pyluxcoreforblender that exports a Blender mesh to PLY because the PLY exporter in Blender is written in Python and super slow.

Details:

  • The preview mesh should have equal density over its volume (not depending on the original mesh density). Otherwise you get the problem that e.g. the preview mesh of a tree with highpoly leaves and a lowpoly trunk has almost no density around the trunk. (forum post)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.