Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounding Box Camera #334

Merged
merged 57 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
8ffe11d
Bounding Box Camera
AmrElsersy Jun 5, 2021
40a15d5
Bounding Box Example
AmrElsersy Jun 5, 2021
aa027b7
remove colored boxes
AmrElsersy Jun 5, 2021
dee519d
checking visiblity before getting bboxes in full bboxes
AmrElsersy Jun 7, 2021
9007ae1
solving some CI warnings
AmrElsersy Jun 7, 2021
673cb6d
Bounding Box Test
AmrElsersy Jun 9, 2021
15bacc7
Integration Test
AmrElsersy Jun 14, 2021
d7905ae
edit example
AmrElsersy Jun 14, 2021
2c34331
style
AmrElsersy Jun 14, 2021
dd6e64a
3D mesh vertex to 2D
AmrElsersy Jun 29, 2021
5692a25
New format for 2D boxes
AmrElsersy Jul 1, 2021
668c56c
3D Bounding Boxes
AmrElsersy Jul 15, 2021
2273327
Testing 3D boxes
AmrElsersy Jul 15, 2021
1e09827
Fix crash in FullBox2D mode (it was working on only local position)
AmrElsersy Jul 16, 2021
930573d
Merge branch 'main' of https://github.com/ignitionrobotics/ign-render…
AmrElsersy Jul 22, 2021
323e456
2D Boxes for Multi Model
AmrElsersy Jul 22, 2021
653d60a
style
AmrElsersy Jul 22, 2021
adbb7bb
solve boxes order
AmrElsersy Jul 30, 2021
872c7f0
Merge branch 'main' of https://github.com/ignitionrobotics/ign-render…
AmrElsersy Aug 2, 2021
19db425
remove background label for unlabeled items
AmrElsersy Aug 2, 2021
fa70909
Combine Mesh vertices for 3D boxes merging
AmrElsersy Aug 16, 2021
e7cfb64
Merge branch 'main' of https://github.com/ignitionrobotics/ign-render…
AmrElsersy Aug 16, 2021
4e80532
Merge branch 'main' into BoundingBox_camera
adlarkin Aug 16, 2021
e544c9c
Merge branch 'BoundingBox_camera' of https://github.com/AmrElsersy/ig…
AmrElsersy Aug 16, 2021
a4da149
Update Render() to be with the new format (FlushGpu)
AmrElsersy Aug 17, 2021
ce201f7
Merge 3D boxes for multi-links models
AmrElsersy Aug 18, 2021
25ac55a
style
AmrElsersy Aug 18, 2021
d0a300a
style
AmrElsersy Aug 18, 2021
73a6e55
style
AmrElsersy Aug 21, 2021
132bc7e
Merge branch 'main' into BoundingBox_camera
adlarkin Sep 1, 2021
c526174
Get projected vertices of the 3D box
AmrElsersy Sep 1, 2021
6a7cc11
3D Visualization & Bresenham Algorithm to draw lines
AmrElsersy Sep 2, 2021
8ce2c83
edit example type
AmrElsersy Sep 2, 2021
61ef336
Merge branch 'main' into BoundingBox_camera
adlarkin Sep 17, 2021
929deb7
update to ogre2.2
adlarkin Sep 17, 2021
5467cd9
try cohen-sutherland for 3d box visualization line clipping
adlarkin Sep 17, 2021
8a4008b
use IsFinite to check for NaNs
adlarkin Sep 17, 2021
399b7d8
cleanup
adlarkin Sep 19, 2021
7d4d640
style nits
adlarkin Sep 20, 2021
f7d0fec
Not drawing boxes with some vertices behind the camera
AmrElsersy Sep 22, 2021
4162fd7
Merge branch 'main' of https://github.com/ignitionrobotics/ign-render…
AmrElsersy Sep 22, 2021
950d32c
Merge branch 'ign-rendering6' into BoundingBox_camera
adlarkin Apr 21, 2022
dd2a781
fix build
adlarkin Apr 21, 2022
301a83b
Merge branch 'ign-rendering6' into BoundingBox_camera
chapulina Jun 1, 2022
226b9fa
tutorial, API, warning
chapulina Jun 2, 2022
4a60d79
pointers, declaration order, private...
chapulina Jun 2, 2022
024c4a7
warnings
chapulina Jun 2, 2022
59f6ca2
Fix 2d_full
chapulina Jun 6, 2022
5e009ac
fix image name
chapulina Jun 6, 2022
c682a5d
Windows warnings
chapulina Jun 6, 2022
f77c40a
Merge branch 'ign-rendering6' into BoundingBox_camera
chapulina Jun 9, 2022
2420479
merged from ign-rendering6
chapulina Jun 15, 2022
729ad33
Windows warnings
chapulina Jun 15, 2022
4c638d2
Windows warnings, disable test for ogre
chapulina Jun 15, 2022
36d4142
space
chapulina Jun 15, 2022
d3f80b9
Skip more tests on Ogre
chapulina Jun 15, 2022
47b4456
fix test
chapulina Jun 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions examples/boundingbox_camera/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
project(ignition-rendering-boundingbox-camera)
find_package(ignition-rendering6 REQUIRED)

include_directories(SYSTEM
${PROJECT_BINARY_DIR}
)

find_package(GLUT REQUIRED)
include_directories(SYSTEM ${GLUT_INCLUDE_DIRS})
link_directories(${GLUT_LIBRARY_DIRS})

find_package(OpenGL REQUIRED)
include_directories(SYSTEM ${OpenGL_INCLUDE_DIRS})
link_directories(${OpenGL_LIBRARY_DIRS})

if (NOT APPLE)
find_package(GLEW REQUIRED)
include_directories(SYSTEM ${GLEW_INCLUDE_DIRS})
link_directories(${GLEW_LIBRARY_DIRS})
endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")

configure_file (example_config.hh.in ${PROJECT_BINARY_DIR}/example_config.hh)

add_executable(boundingbox_camera Main.cc GlutWindow.cc)

target_link_libraries(boundingbox_camera
${GLUT_LIBRARIES}
${OPENGL_LIBRARIES}
${GLEW_LIBRARIES}
${IGNITION-RENDERING_LIBRARIES}
)

add_custom_command(TARGET boundingbox_camera POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_SOURCE_DIR}/media
$<TARGET_FILE_DIR:boundingbox_camera>/media)
Loading