Giter Site home page Giter Site logo

kalufinnle / mitsuba-shapenet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shi-jian/mitsuba-shapenet

0.0 1.0 0.0 102.51 MB

Mitsuba for ShapeNet

License: GNU General Public License v3.0

Python 0.92% Shell 0.12% C 2.45% Makefile 0.01% C++ 91.38% XSLT 0.17% Batchfile 0.01% PowerShell 0.01% Objective-C 4.22% Objective-C++ 0.38% GLSL 0.32% CSS 0.01%

mitsuba-shapenet's Introduction

mitsuba-shapenet

Most ShapeNet models are exported from SketchUp with double-faces. In original Mitsuba renderer without back-face culling, there are black pixels when intersecting the 'back side' face. There are also some categories, such as cars, are not double-sided. Some of them only have flipped faces, which makes backface culling not work.

This fork simply implements a 'shapenet' shape importer. It reads model and material from ShapeNet .obj files and assign them with proper 'twosided' BSDF.

For more details about mitsuba renderer, please visit its homepage at https://www.mitsuba-renderer.org/ .

And for the dependency of the project, please check https://www.mitsuba-renderer.org/repos/ .

On Windows, you can simply put the dependencies_windows repo under the project folder and rename it as mitsuba-shapenet\dependencies. It would automatically find required headers and libraries.

If you meet the problem of missing header such as mitsuba_precompiled_header.hpp, please turn off MTS_USE_PCH flag during CMake.

Currently it cannot handle per-vertex normal or smooth group in ShapeNet obj. You can use 'maxSmoothAngle' to add some smoothness rendering effect.

Samples

Rendering scripts and results can be found here. Images rendered with this ShapeNet importer(left) and Mitsuba OBJ importer(right):

alt text alt text

alt text alt text

mitsuba-shapenet's People

Contributors

edgarv avatar wjakob avatar shi-jian avatar amyspark avatar merlinnd avatar beltegeuse avatar cdonovick avatar dvicini avatar rgirish28 avatar jonasdeyson avatar chaosink avatar qnzhou avatar diiigle avatar tofeg avatar

Watchers

James Cloos avatar

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.