Giter VIP home page Giter VIP logo

pyoptix's People

Contributors

ozen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyoptix's Issues

PyOptix More Examples?

Hi Ozen,

I wonder if you have any plans towards enabling more examples, such as loading meshes as in the SDK's optixMeshViewer or refracting says as in optixWhitted example or common tutorials suchs as optixTutorial.

Thank you,

Best regards,
Kaan

example renderings

Do you have any sample code to render a scene with pyOptiX? Would be very helpful to have it!

PyOptix on Windows

Hej!
I cannot make PyOptix run on Windows. Can anyone give me a hint which things I have to change to make it run?

Pyoptimx installation error

hey!
I tried to install Optix, but when I installed setup.py, I encountered the following error:

######################
Traceback (most recent call last):
File "setup.py", line 193, in
main()
File "setup.py", line 156, in main
sources, include_dirs, library_dirs, libraries = extension_prebuild()
File "setup.py", line 129, in extension_prebuild
raise OSError('Boost.Python library not found. Add its path to ldconfig or LD_LIBRARY_PATH.')
OSError: Boost.Python library not found. Add its path to ldconfig or LD_LIBRARY_PATH.
#######################

But I have added the path related to Boost.Python to the LD_LIBRARY_PATH(libboost_python38.so in path usr/lib/x86_64-linux-gnu ):
$ echo $LD_LIBRARY_PATH

/usr/local/lib::/usr/local/cuda/lib64:/usr/local/NVIDIA-OptiX-SDK-5.1.0-linux64/lib64:/usr/share/doc/libboost-python-dev:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu

Looking forward to receiving a response!

How to install PyOptix from the source?

Here is a copy of my journal on how I approach trying your library on my system, at the end you will also find the problem that I am facing currently with the installation:

I started usin NVIDIA OptiX 5.1 version and Ubuntu 16.04:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial

Download OptiX from this website:

https://developer.nvidia.com/optix

This will install a file called NVIDIA-OptiX-SDK-5.1.0-linux64_24109458.sh or similar depending on the version that you are downloading. Extract the content using:

$ cd Downloads
$ chmod +x NVIDIA-OptiX-SDK-5.1.0-linux64_24109458.sh
$ ./NVIDIA-OptiX-SDK-5.1.0-linux64_24109458.sh
$ cd ~
$ sudo cp -R NVIDIA-OptiX-SDK-5.1.0-linux64 /usr/local/

Make sure that you have Optix in your LD_LIBRARY_PATH:

$ echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/NVIDIA-OptiX-SDK-5.1.0-linux64/" >> ~/.bashrc

Make sure you have everything you need for PyOptix:

$ sudo apt-get install -y build-essential python-dev python-setuptools python3-dev python3-setuptools libboost-python-dev

Make sure that you have nvcc:

$ nvcc --help

And install PyOptix using pip3:

pip3 install pyoptix

This is what I got at the end:

:PyOptiX$ python3 setup.py install
/sbin/ldconfig.real: Can't stat /usr/local/cuda-8.0/targets/x86_64-linux/lib: No such file or directory
/sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: No such file or directory
/sbin/ldconfig.real: Can't stat /usr/lib/i686-linux-gnu: No such file or directory
/sbin/ldconfig.real: Path `/usr/local/lib' given more than once
/sbin/ldconfig.real: Path `/usr/lib/nvidia-390' given more than once
/sbin/ldconfig.real: Path `/usr/lib32/nvidia-390' given more than once
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Cannot stat /lib/i386-linux-gnu/libjawt.so: No such file or directory
/sbin/ldconfig.real: /lib/i386-linux-gnu/ld-2.23.so is the dynamic linker, ignoring

/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.23.so is the dynamic linker, ignoring

/sbin/ldconfig.real: Cannot stat /usr/lib32/nvidia-390/libOpenGL.so: No such file or directory
/sbin/ldconfig.real: /lib32/ld-2.23.so is the dynamic linker, ignoring

/sbin/ldconfig.real: Cannot stat /usr/lib/libassimp.so: No such file or directory
/usr/local/lib/liboptix.so
/usr/lib/x86_64-linux-gnu/libfakeroot/liboptix.so
/lib/i386-linux-gnu/liboptix.so
/usr/lib/i386-linux-gnu/liboptix.so
/lib/x86_64-linux-gnu/liboptix.so
/usr/lib/x86_64-linux-gnu/liboptix.so
/usr/lib/nvidia-390/liboptix.so
/usr/lib32/nvidia-390/liboptix.so
/lib32/liboptix.so
/usr/lib32/liboptix.so
/usr/local/cuda-8.0/lib64/liboptix.so
/lib/liboptix.so
/usr/lib/liboptix.so
/usr/lib/i386-linux-gnu/sse2/liboptix.so
/usr/lib/nvidia-390/tls/liboptix.so
/usr/lib32/nvidia-390/tls/liboptix.so
liboptix.so
/usr/local/cuda/lib64/liboptix.so
/usr/local/cuda/lib64/liboptix.so
/usr/local/lib/python3.5/dist-packages/openvr-1.0.801-py3.5.egg/openvr/liboptix.so
/home/kaan/.steam/steam/steamapps/common/SteamVR/bin/linux64/liboptix.so
/home/kaan/.steam/steam/steamapps/common/SteamVR/tools/bin/linux64/liboptix.so
/usr/local/NVIDIA-OptiX-SDK-5.1.0-linux64/liboptix.so
/usr/local/NVIDIA-OptiX-SDK-5.1.0-linux64/liboptix.so
Traceback (most recent call last):
  File "setup.py", line 193, in <module>
    main()
  File "setup.py", line 156, in main
    sources, include_dirs, library_dirs, libraries = extension_prebuild()
  File "setup.py", line 117, in extension_prebuild
    raise OSError('OptiX Library not found. Add its path to ldconfig or LD_LIBRARY_PATH.')
OSError: OptiX Library not found. Add its path to ldconfig or LD_LIBRARY_PATH.

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.