Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-vr-interactive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-vr-interactive
Commits
475731b6
Commit
475731b6
authored
5 years ago
by
Milan Jaros
Browse files
Options
Downloads
Patches
Plain Diff
fix linux
parent
1b4faca5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cesnet/cesnet.cpp
+4
-0
4 additions, 0 deletions
cesnet/cesnet.cpp
cyclesphi/CMakeLists.txt
+5
-0
5 additions, 0 deletions
cyclesphi/CMakeLists.txt
vrclient/CMakeLists.txt
+1
-1
1 addition, 1 deletion
vrclient/CMakeLists.txt
with
10 additions
and
1 deletion
cesnet/cesnet.cpp
+
4
−
0
View file @
475731b6
#include
"cesnet.h"
#include
"cesnet.h"
#include
<cstdio>
#include
<cstdio>
// camera view matrix
void
cesnet_get_camera_matrices
(
float
view_matrix
[
12
])
{
void
cesnet_get_camera_matrices
(
float
view_matrix
[
12
])
{
printf
(
"get_camera_matrices
\n
"
);
printf
(
"get_camera_matrices
\n
"
);
}
}
// rendering buffer - results in YUV I420 format
void
cesnet_set_render_buffer_yuv_i420
(
unsigned
char
*
y
,
unsigned
char
*
u
,
unsigned
char
*
v
)
{
void
cesnet_set_render_buffer_yuv_i420
(
unsigned
char
*
y
,
unsigned
char
*
u
,
unsigned
char
*
v
)
{
printf
(
"set_render_buffer_yuv_i420
\n
"
);
printf
(
"set_render_buffer_yuv_i420
\n
"
);
}
}
// flag for breaking of rendering/cyclesphi loop
bool
cesnet_is_required_exit
()
{
bool
cesnet_is_required_exit
()
{
printf
(
"is_required_exit
\n
"
);
printf
(
"is_required_exit
\n
"
);
return
false
;
return
false
;
}
}
// info about resolution and base position of camera
void
cesnet_init_info_buffer
(
int
width
,
int
height
,
float
view_matrix
[
12
])
{
void
cesnet_init_info_buffer
(
int
width
,
int
height
,
float
view_matrix
[
12
])
{
printf
(
"init_info_buffer: %d x %d
\n
"
,
width
,
height
);
printf
(
"init_info_buffer: %d x %d
\n
"
,
width
,
height
);
}
}
...
...
This diff is collapsed.
Click to expand it.
cyclesphi/CMakeLists.txt
+
5
−
0
View file @
475731b6
...
@@ -165,4 +165,9 @@ add_library(cyclesphi${CLIENT_SUFFIX} STATIC ${SRC})
...
@@ -165,4 +165,9 @@ add_library(cyclesphi${CLIENT_SUFFIX} STATIC ${SRC})
# add_dependencies(cyclesphi${CLIENT_SUFFIX} cycles_kernel_cuda)
# add_dependencies(cyclesphi${CLIENT_SUFFIX} cycles_kernel_cuda)
#endif()
#endif()
if
(
WITH_CLIENT_CESNET
)
add_dependencies
(
cyclesphi
${
CLIENT_SUFFIX
}
cesnet
${
CLIENT_SUFFIX
}
)
endif
()
install
(
TARGETS cyclesphi
${
CLIENT_SUFFIX
}
DESTINATION lib
)
install
(
TARGETS cyclesphi
${
CLIENT_SUFFIX
}
DESTINATION lib
)
This diff is collapsed.
Click to expand it.
vrclient/CMakeLists.txt
+
1
−
1
View file @
475731b6
...
@@ -22,6 +22,6 @@ endif()
...
@@ -22,6 +22,6 @@ endif()
include_directories
(
${
INC
}
)
include_directories
(
${
INC
}
)
add_executable
(
vrclient
${
CLIENT_SUFFIX
}
${
SRC
}
${
SRC_HEADERS
}
)
add_executable
(
vrclient
${
CLIENT_SUFFIX
}
${
SRC
}
${
SRC_HEADERS
}
)
target_link_libraries
(
vrclient
${
CLIENT_SUFFIX
}
c
esnet
${
CLIENT_SUFFIX
}
c
yclesphi
${
CLIENT_SUFFIX
}
${
MPI_msmpi_LIBRARY
}
)
target_link_libraries
(
vrclient
${
CLIENT_SUFFIX
}
c
yclesphi
${
CLIENT_SUFFIX
}
c
esnet
${
CLIENT_SUFFIX
}
${
MPI_msmpi_LIBRARY
}
)
install
(
TARGETS vrclient
${
CLIENT_SUFFIX
}
DESTINATION bin
)
install
(
TARGETS vrclient
${
CLIENT_SUFFIX
}
DESTINATION bin
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment