Comments (8)
I seem to have one small issue with running
mitsuba
. Looks like I need to run the$ source setpath.sh
command every time I restart the terminal. How can I set/configure the environment variables permanently so that I don't have to do this over and over again?
If you are using bash shell: add source <path-to-folder-with-setpath.sh>/setpath.sh
in ~/.bashrc
(or) echo 'source setpath.sh' >> ~/.bashrc.
If you are using zshell, add the same source <path-to-folder-with-setpath.sh>/setpath.sh
in ~/.zshrc.
from mitsuba2.
The same compilation error occurs on my PC exactly after this commit 2c1b63f, which contains a rebase operation of Embree.
There is no python3-distutils
for Ubuntu 16.04. Can't find it in the list: https://packages.ubuntu.com/xenial/python/
It is offered starting from 18.04:
https://packages.ubuntu.com/bionic/python/
System info:
Linux Mint 19.3 (base on Ubuntu 18.04)
clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
OptiX 6.5
NVIDIA Driver 440.64.00
CUDA 10.2
from mitsuba2.
Thanks for reporting this!
I just fixed this in 4b39198. There was a bug when both Embree and Optix were enabled at the same time.
Regarding python3-distutils
, please let me know if the lack of this package in Ubuntu 16.04 prevents you from building the Python bindings.
from mitsuba2.
Thanks for the response @Speierers and quick update. I tried building with the new commit and it ran without any errors (even without the python3-distutils
and python3-sphinxcontrib.bebtex
).
However, I got the following warning:
$ ninja
[127/264] Building CXX object src/shapes/CMakeFiles/rectangle-obj.dir/rectangle.cpp.o
../src/shapes/rectangle.cpp:211:67: warning: unused parameter 'cache' [-Wunused-parameter]
void fill_surface_interaction(const Ray3f &ray_, const Float *cache,
^
1 warning generated.
[138/264] Building CXX object src/shapes/CMakeFiles/disk-obj.dir/disk.cpp.o
../src/shapes/disk.cpp:181:66: warning: unused parameter 'cache' [-Wunused-parameter]
void fill_surface_interaction(const Ray3f &ray, const Float *cache,
^
1 warning generated.
[264/264] Generating dist/data/srgb.coeff
I will try running a few examples to see if this an issue or not.
from mitsuba2.
My bad, this should be fixed now: f30bd5c
Thanks!
from mitsuba2.
Thanks for the responses and updates to the package.
I seem to have one small issue with running mitsuba
. Looks like I need to run the $ source setpath.sh
command every time I restart the terminal. How can I set/configure the environment variables permanently so that I don't have to do this over and over again?
I am not too familiar with updating bash profiles, etc. Hence some detailed pointers would be very helpful for me.
from mitsuba2.
Thanks, @acrlakshman - it works well now.
@Speierers - Does Mitsuba2 work with OptiX 5.1?
My NVIDIA driver (410.48) isn't compatible with OptiX 6.5.
from mitsuba2.
@abhinavvs This was never tested. Although I doubt it would work with OptiX 5.1
from mitsuba2.
Related Issues (20)
- [🔨 compilation issue] 'cmake -GNinja' step HOT 3
- [❔ other question] How to convert/extract enoki.autodiff_cuda.Float32 type array from Bitmap class? HOT 4
- [❔ other question]runtime API error = 0719 HOT 1
- [🐛 bug report] importing Pytorch after mitsuba => Segmentation fault (core dumped) HOT 1
- [❔ other question] Performance on Windows much lower than Linux? HOT 5
- [🐛 bug report] hdrfilm.cpp: duplicate channel detection HOT 3
- [❔ other question] how to uninstall mitsuba2 in linux? HOT 4
- The examples of Differentiable rendering applications HOT 2
- [🐛 bug report] OptiX "arithmetic involving uninitialized variable!" with Certain Scenes HOT 1
- [✨ feature request] Tutorial on differential rendering material acquisition HOT 1
- Something about code HOT 1
- Caught a critical exception: main [properties.cpp:401] └1∩Æ∞☺
- [✨ feature request] Does the mitsuba2 support bsdf for cloth model? HOT 1
- 用java或C++用物件導向的概念設計程式解下面的問題:讀取一組時間,計算出時針與分針的夾角,時間的格式是0:00到12:00,小時數可能為1或2位數,分鐘數總是2位數,00到59之間。輸出腳讀為0到180之間的值,角度的精確度到千分之一。例如9:00是90.000度,不是-90,也不是270,2:00則是60 HOT 1
- Rendered polarized images' intensity doesn't change according to the change of polarization angle- [❔ other question] HOT 1
- [❔ other question] setting the variant("llvm_spectral_polarized"), the code didn't work HOT 2
- [❔ other question]How can we output UV map in python? HOT 1
- - [❔ other question] I want to optimize the values in the transform component of my sensor plugin HOT 1
- Unable to compile: Windows 10: Visual Studio Community 2022 HOT 1
- White noise in spectral rendering - [❔ other question] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mitsuba2.