These are chat archives for highfidelity/hifi

1st
Jun 2016
aoighost
@aoighost
Jun 01 2016 06:49
Clement: RealXtend uses assimp
I ran AFL against assimp for a while last year or the year before and got a ton of crashes, should probably retry
BillWindwalker
@BillWindwalker
Jun 01 2016 07:48
3D TV side by side stereo works on Samsung vr linked to the desktop computer so I can use the Samsung vr headset it's like Google cardboard
Oh and it seems I never see many people online yet
So I will have to spam twitter and Google plus a few times
aoighost
@aoighost
Jun 01 2016 14:23
Question, how much of physics is open to scripting at the moment?
aoighost
@aoighost
Jun 01 2016 16:10
Can you create entity components in javascript? Trying to tackle the vehicle worklist and wondering if I can create things like wheels in js, or if I need to C++
Also, did a bit of research in the API, looks like physics isn't fully exposed to scripting. Would need to do that for a good vehicle implementation along with creating ECs in JS
Also would be a good idea to make physics a pluggable system to allow multiple physics engines, IE JSBSim, and use Double precision in Bullet
Coming from a background doing research in virtual globes, when you get to larger size worlds, you need double and a logarithmic depth buffer or z-fighting occurs
I wish i-novae still had their old forum and blog posts available, there was a lot of good stuff there.
outerra has a lot of good stuff on their blog still
Clément Brisset
@Atlante45
Jun 01 2016 16:46
A good amount, you got access to gravity, velocities, damping, collision groups, actions. Some stuff is till missing but it'll come in time.
making wheels/vehicle is really hard(impossible?) right now from a JS perspective, but we have a project in the works that makes it much easier/reliable.
aoighost
@aoighost
Jun 01 2016 16:47
any details on the project?
If it's this one: https://worklist.net/20825 I'm trying to brainstorm how to pull it off
Clément Brisset
@Atlante45
Jun 01 2016 16:49
That's not it , it's an internal project to read physics constraints from models.
Re: pluggable physics system, this would be a massive undertaking since we do distributed physics simulation.
aoighost
@aoighost
Jun 01 2016 16:53
ah, got it.
I guess it's time to implement certain things using Bullet then :D
I understand where you're coming from on the distributed physics.
Didn't realize it wasn't all done clientside
Will the physics project be read only, or can you create/write using JS as well?
Clément Brisset
@Atlante45
Jun 01 2016 16:56
First step will be read only. But we want to increase control over time.
aoighost
@aoighost
Jun 01 2016 16:57
Alright, any time estimated on that?
Clément Brisset
@Atlante45
Jun 01 2016 16:58
Yeah, all clients do part of the simulation they are in. Eventually, we want to add the possibility to have assigned clients do that too.
Which part?
aoighost
@aoighost
Jun 01 2016 16:58
the physics constraints
I want to work on the vehicle stuff, but need to be able to access physics in order to do it from scripting
Creating a vehicle, the more I think about it, should not just be scripted, but also config based.
Clément Brisset
@Atlante45
Jun 01 2016 17:01
Arf, went back to check the timeline, and I'd misunderstood the project. It's for automatic collision shape computation, not physics constraints.
aoighost
@aoighost
Jun 01 2016 17:01
From dealing with ArmA 3, hard coding vehicle expectations is a bad idea. Scripting works some, but you don't want to have to write a new script for every vehicle.
ah
Would you say it would be worth it to do an exposure of bullet classes to JS then?
aoighost
@aoighost
Jun 01 2016 17:09
Argh, trying to build on my laptop, it can't find NeuronDataReader.h
aoighost
@aoighost
Jun 01 2016 17:37
yeah, cmake is broken on current master, something to do with neuron (not sure what that is)
AndrewMeadows @AndrewMeadows rebuilds hifi/master to verify
Clément Brisset
@Atlante45
Jun 01 2016 17:41
Oh I remember that. it's not broken, there's something not working with the latest cmake.
Get the version recommended in the build doc and it'll work: https://github.com/highfidelity/hifi/blob/master/BUILD.md
aoighost
@aoighost
Jun 01 2016 17:44
i see nothing mentioning neuron in the build doc
Clément Brisset
@Atlante45
Jun 01 2016 17:47
It gets automatically download as a dependency. You shouldn't have to do anything specific for it.
aoighost
@aoighost
Jun 01 2016 17:47
well it's not doing it for some reason

"Could NOT find BugSplat (missing: BUGSPLAT_INCLUDE_DIRS BUGSPLAT_LIBRARIES BUGSPLAT_DLL_PATH BUGSPLAT_RC_DLL_PATH BUGSPLAT_EXE_PATH)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Neuron (missing: NEURON_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindNeuron.cmake:26 (find_package_handle_standard_args)
cmake/macros/TargetNeuron.cmake:12 (find_package)
plugins/hifiNeuron/CMakeLists.txt:14 (target_neuron)

"

Clément Brisset
@Atlante45
Jun 01 2016 17:49
Sorry, should have been more clear, when I said: "Get the version recommended in the build doc" I was talking about CMake
aoighost
@aoighost
Jun 01 2016 18:00
ah
aoighost
@aoighost
Jun 01 2016 18:13
copy and pasted it in, now it's breaking during build saying that the include can't be found
Clément Brisset
@Atlante45
Jun 01 2016 18:14
Hmmm, did you clean build/clean cmake?
aoighost
@aoighost
Jun 01 2016 18:17
yep
Clément Brisset
@Atlante45
Jun 01 2016 18:33
Are you using VS 2013?
aoighost
@aoighost
Jun 01 2016 18:34
yup
Clément Brisset
@Atlante45
Jun 01 2016 18:34
try deleting the ./build/ext/vc12/neuron directory, and redo a cmake/build.
$ ls -R neuron/
neuron/:
cmake_install.cmake  CMakeFiles/  INSTALL.vcxproj  INSTALL.vcxproj.filters  neuron.vcxproj  neuron.vcxproj.filters  neuron.vcxproj.user  PACKAGE.vcxproj  PACKAGE.vcxproj.filters  project/  x64/

neuron/CMakeFiles:
Debug/  generate.stamp  generate.stamp.depend  neuron.dir/

neuron/CMakeFiles/Debug:
neuron-complete

neuron/CMakeFiles/neuron.dir:
Labels.json  Labels.txt

neuron/project:
src/  tmp/

neuron/project/src:
neuron/  neuron_datareader_b.12.zip  neuron-build/  neuron-stamp/

neuron/project/src/neuron:
NeuronDataReader_Mac/  NeuronDataReader_Windows/

neuron/project/src/neuron/NeuronDataReader_Mac:
bundle/  dylib/  include/  LICENSE.txt  Release_Notes.txt

neuron/project/src/neuron/NeuronDataReader_Mac/bundle:
NeuronDataReader.bundle/

neuron/project/src/neuron/NeuronDataReader_Mac/bundle/NeuronDataReader.bundle:
Contents/

neuron/project/src/neuron/NeuronDataReader_Mac/bundle/NeuronDataReader.bundle/Contents:
Info.plist  MacOS/

neuron/project/src/neuron/NeuronDataReader_Mac/bundle/NeuronDataReader.bundle/Contents/MacOS:
NeuronDataReader

neuron/project/src/neuron/NeuronDataReader_Mac/dylib:
NeuronDataReader.dylib

neuron/project/src/neuron/NeuronDataReader_Mac/include:
NeuronDataReader.h  SocketCommand.h

neuron/project/src/neuron/NeuronDataReader_Windows:
bin/  demo_cs/  include/  lib/  LICENSE.txt  Release_Notes.txt

neuron/project/src/neuron/NeuronDataReader_Windows/bin:
x64/  x86/

neuron/project/src/neuron/NeuronDataReader_Windows/bin/x64:
demo_cs.exe*  NeuronDataReader.dll*

neuron/project/src/neuron/NeuronDataReader_Windows/bin/x86:
demo_cs.exe*  NeuronDataReader.dll*

neuron/project/src/neuron/NeuronDataReader_Windows/demo_cs:
App.config  App.xaml  App.xaml.cs  demo_cs.csproj  MainWindow.xaml  MainWindow.xaml.cs  Properties/

neuron/project/src/neuron/NeuronDataReader_Windows/demo_cs/Properties:
AssemblyInfo.cs  Resources.Designer.cs  Resources.resx  Settings.Designer.cs  Settings.settings

neuron/project/src/neuron/NeuronDataReader_Windows/include:
NeuronDataReader.cs  NeuronDataReader.h  SocketCommand.h

neuron/project/src/neuron/NeuronDataReader_Windows/lib:
x64/  x86/

neuron/project/src/neuron/NeuronDataReader_Windows/lib/x64:
NeuronDataReader.dll*  NeuronDataReader.lib

neuron/project/src/neuron/NeuronDataReader_Windows/lib/x86:
NeuronDataReader.dll*  NeuronDataReader.lib

neuron/project/src/neuron-build:

neuron/project/src/neuron-stamp:
Debug/                 neuron-download-Debug.cmake       neuron-download-MinSizeRel.cmake       neuron-download-Release.cmake         neuron-download-RelWithDebInfo-impl.cmake
download-neuron.cmake  neuron-download-Debug-impl.cmake  neuron-download-MinSizeRel-impl.cmake  neuron-download-Release-impl.cmake    neuron-urlinfo.txt
extract-neuron.cmake   neuron-download-err.log           neuron-download-out.log                neuron-download-RelWithDebInfo.cmake  verify-neuron.cmake

neuron/project/src/neuron-stamp/Debug:
neuron-build  neuron-configure  neuron-done  neuron-download  neuron-install  neuron-mkdir  neuron-patch  neuron-update

neuron/project/tmp:
neuron-cfgcmd.txt  neuron-cfgcmd.txt.in

neuron/x64:
Debug/

neuron/x64/Debug:
neuron/

neuron/x64/Debug/neuron:
neuron.log  neuron.tlog/

neuron/x64/Debug/neuron/neuron.tlog:
custombuild.command.1.tlog  custombuild.read.1.tlog  custombuild.write.1.tlog  neuron.lastbuildstate
That's what you should have in it after build.
aoighost
@aoighost
Jun 01 2016 18:57
had to manually extract the zip that was downloaded to ext and then build
if I clean it wipes the manual extracted files and I have to reextract
Clément Brisset
@Atlante45
Jun 01 2016 20:36
Yeah I remember seeing that a couple months ago while setting up a dev machine. I could swear installing the older cmake was the fix.