Created at 8pm, Feb 3
bsrcnncTechnology
1
3D-Graphics-Modelling-and-Rendering-mini-HOWTO
-JwkCz6Q_ew18g_BJDNmEWiqERj4kZl2cscKOw3UIIs
File Type
PDF
Entry Count
17
Embed. Model
jina_embeddings_v2_base_en
Index Type
hnsw

3D-Graphics-Modelling-and-Rendering-mini-HOWTO

3.1. Warning First, let it be known that this document only covers how to get up and running using RedHat v7.0. Whenever given the choice as to which software package to download, please make sure it is compatible with the flavour of Linux you happen to be running. Second, please only send E - mail if you have information that would be helpful to other people who might read this document (such as explaining how to install other tools, pointers to other tutorials, missing steps grammar and/or speling mistakes and/or tpyos, etc.). If software doesnt compile, or you cant figure it out, please read its accompanying documentation. Please understand that your system may be completely different, and as such debugging problems via E - mail across the Internet is not a task anyone enjoys. ; - ) Third, these are software packages that installed without any severe hitches (read: severe headaches). In the Related Links section, there
id: d607728916d2b3af46ef6d70b5c31e46 - page: 22
Note that just because a given software package is not covered in depth does not mean it is any worse (or better) than those chosen to install. Good luck! 3.2. Download the Software Before you begin, you will need a web browser and Unix shell. If you dont know how to use a shell [bash, ksh, etc.], youre own your own (although instructions are given in both English and shell commands). Unless otherwise specified, all instructions are to be carried out as root. 1. Create a new directory usrlocal/archives for the packages: mkdir usrlocal/archives 2. Download the following packages (in .tar.gz form) into the newly created directory (homepages are given, as well as links to download pages, and minimum software version): Mesa Graphics Library < v3.4.1: www.mesa3d.org/download.html < Blue Moon Rendering Toolkit < v2.6beta:
id: 0c455af51861ae7801473e20341a17b6 - page: 23
bmrt.org/BMRTdownload/index.html < The Mops < - rostock.de/~rschultz/mops/> v0.42d: www.informatik.uni - rostock.de/~rschultz/mops/download.html < - rostock.de/~rschultz/mops/download.html> 3.3. Install the Graphics Library Old versions of tar do not support the z argument. For those systems, leave out the z argument and use gunzip on the file before using tar. 1. Change to the usrlocal/archives directory: cd usrlocal/archives 2. Extract Mesa (substitute version number where required): tar zxf MesaLib - 3.4.1.tar.gz tar zxf MesaDemos - 3.4.1.tar.gz 3. Change to the MesaLib subdirectory: cd Mesa - 3.4.1 4. Configure, make, and install Mesa with the following sequence of commands: ./configure; make; make install 5. Edit etcld.so.conf, and ensure you have a line that reads: usrlocal/lib 6. Run the dynamic library configuration program: ldconfig
id: a882537c5a4a4b525a8821ee28c12289 - page: 24
3.4. Install the Graphics Renderer 1. Return to the usrlocal/archives directory: cd .. 2. Extract the Blue Moon Rendering Toolkit (substitute version number where required): tar zxf BMRT2.6beta.linux - glibc2.tar.gz 3. Change to the BMRT subdirectory: cd BMRT2.6 4. Copy files to appropriate destination directories: cp bin/ * usrlocal/bin/ cp lib/lib * usrlocal/lib/ cp include/ * usrlocal/include/ 5. Make a directory for the shaders, ensure it is world - writable, then copy the shader files into it: mkdir usrlocal/shaders chmod 777 usrlocal/shaders cp shaders/ * .sl * usrlocal/shaders/ cp shaders/ * .h usrlocal/shaders/ cp examples/ * .sl * usrlocal/shaders/ cp examples/ * .h usrlocal/shaders/ 6. Edit the system login profile (etcprofile or equivalent), and add the line:
id: e1534d79d789274d3ec823a720323ae0 - page: 26
How to Retrieve?
# Search

curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "-JwkCz6Q_ew18g_BJDNmEWiqERj4kZl2cscKOw3UIIs", "query": "What is alexanDRIA library?"}'
        
# Query

curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "-JwkCz6Q_ew18g_BJDNmEWiqERj4kZl2cscKOw3UIIs", "level": 2}'