Giter Site home page Giter Site logo

3d-graph's Introduction

Hey there, I'm Archit 👋

I'm an undergraduate at Indian Institute of Technology Kharagpur working in the fields of Robotics, Computer Vision and Reinforcement Learning. In the past, and often when I find the time, I also work on software and backend development.

Present

Currently I'm working on bridging OpenCV and Julia. This is my return to software development after a long break and I'm seriosuly enjoying the work aswell as community involvement in open source work.

Apart from that I'm also working on some projects related to Aerial Robots and RL. Very excited about the things to come.

You can find more about me at archit.me but I'd rather prefer you just send me an email and I'd be happy to talk. ✌️ Peace out!

3d-graph's People

Contributors

altafahmad623 avatar archit120 avatar aswinigh avatar jedi18 avatar nehadalmia avatar shreyanshdarshan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

3d-graph's Issues

Texture support

Add support for rendering basic jpeg or bmp texture in triangle and render

Improve Rendering Speed

Most of the calculations for the rendering can be represented as operations on matrices. These can be vectorized to increase speed dramatically.

Add triangle support in render.h

Having support for triangles will allow us to render surfaces more easily. This should be a simple function taking in 3 screen coordinates (x,y) and color and filling the space with the color.

Compiling errors when using make

Hi dear experts
I'm building 3D-Graph these days and following the steps here:
$mkdir build
$cd build
$cmake ..
$make
but the errors occurred here:

pwang@pwang-OptiPlex-7060:~/tools/VR/27/3D-Graph/build$ ls
CMakeCache.txt  CMakeFiles  cmake_install.cmake  Makefile
pwang@pwang-OptiPlex-7060:~/tools/VR/27/3D-Graph/build$ make
Scanning dependencies of target vec2
[  8%] Building CXX object CMakeFiles/vec2.dir/3D_Graph/Vector2D.cpp.o
[ 16%] Linking CXX static library libvec2.a
[ 16%] Built target vec2
Scanning dependencies of target vec3
[ 25%] Building CXX object CMakeFiles/vec3.dir/3D_Graph/Vector3D.cpp.o
[ 33%] Linking CXX static library libvec3.a
[ 33%] Built target vec3
Scanning dependencies of target camera
[ 41%] Building CXX object CMakeFiles/camera.dir/3D_Graph/Camera.cpp.o
[ 50%] Linking CXX static library libcamera.a
[ 50%] Built target camera
Scanning dependencies of target conloop
[ 58%] Building CXX object CMakeFiles/conloop.dir/3D_Graph/ControlLoop.cpp.o
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:1:17: warning: extra tokens at end of #ifdef directive
 #ifdef __APPLE__||__linux__
                 ^~
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp: In static member function ‘static void ControlLoop::loop(Camera&, double&)’:
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:72:2: error: ‘POINT’ was not declared in this scope
  POINT p;
  ^~~~~
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:73:16: error: ‘p’ was not declared in this scope
  GetCursorPos(&p);
                ^
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:73:2: error: ‘GetCursorPos’ was not declared in this scope
  GetCursorPos(&p);
  ^~~~~~~~~~~~
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:73:2: note: suggested alternative: ‘SetCursorPos’
  GetCursorPos(&p);
  ^~~~~~~~~~~~
  SetCursorPos
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp: In static member function ‘static void ControlLoop::UserInput(Camera&)’:
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:91:6: error: ‘_kbhit’ was not declared in this scope
  if (_kbhit())
      ^~~~~~
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:91:6: note: suggested alternative: ‘_Exit’
  if (_kbhit())
      ^~~~~~
      _Exit
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:94:7: error: ‘_getch’ was not declared in this scope
   c = _getch();
       ^~~~~~
/home/pwang/tools/VR/27/3D-Graph/3D Graph/ControlLoop.cpp:94:7: note: suggested alternative: ‘getc’
   c = _getch();
       ^~~~~~
       getc
CMakeFiles/conloop.dir/build.make:62: recipe for target 'CMakeFiles/conloop.dir/3D_Graph/ControlLoop.cpp.o' failed
make[2]: *** [CMakeFiles/conloop.dir/3D_Graph/ControlLoop.cpp.o] Error 1
CMakeFiles/Makefile2:106: recipe for target 'CMakeFiles/conloop.dir/all' failed
make[1]: *** [CMakeFiles/conloop.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2  

thank you
Best Regards
William

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.