Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
V2.1
Browse files Browse the repository at this point in the history
- Add some models
- fixed some bugs
  • Loading branch information
Boris committed Jun 4, 2019
1 parent 5548e7b commit f93d73e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified V-REP data/Models/Path_Programming_Interactor.ttm
Binary file not shown.
Binary file added V-REP data/Models/VR360_cam.ttm
Binary file not shown.
Binary file added V-REP data/Models/flickerLess_floor.ttm
Binary file not shown.
2 changes: 1 addition & 1 deletion V-REP data/Scripts/HTC_VIVE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function sysCall_init()
-- Lighting strength parameters
sim.setFloatSignal('AmbientStrength',0.3) -- 0-1
sim.setFloatSignal('DiffuseStrength',0.7)
sim.setFloatSignal('SpecularStrength',0.7)
sim.setFloatSignal('SpecularStrength',0.3)
sim.setFloatSignal('SpecularPower',5.0)

-- Initalize all possible signals
Expand Down
4 changes: 2 additions & 2 deletions vrep_vtk_engine/vrep_mesh_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void vrep_mesh_object::makeActor() {
};
int goodRender;
simxGetIntegerSignal(clientID, "High_quality_render", &goodRender, simx_opmode_streaming); // whatever this is
if (goodRender == 1) {
//if (goodRender == 1) {
vtkSmartPointer<vtkCleanPolyData> cleanPolyData = vtkSmartPointer<vtkCleanPolyData>::New();
cleanPolyData->SetInputData(meshData);
cleanPolyData->Update();
Expand All @@ -128,7 +128,7 @@ void vrep_mesh_object::makeActor() {
normalGenerator->Update();
meshData->DeepCopy(normalGenerator->GetOutput());
meshData->Modified();
}
//}

vrep_mesh_actor->SetUserTransform(pose);
vrep_mesh_actor->PickableOff();
Expand Down

0 comments on commit f93d73e

Please sign in to comment.