These are chat archives for highfidelity/hifi

15th
Apr 2014
Ben Nolan
@bnolan
Apr 15 2014 04:53
Just saw the SVVR meetup video. Awesome stuff.
Ben Nolan
@bnolan
Apr 15 2014 05:11
building qt takes forever
Ben Nolan
@bnolan
Apr 15 2014 05:40
yay cool!
i've been in there :)
Thijs Wenker
@thoys
Apr 15 2014 08:51
@bnolan welcome!
Clément Brisset
@Atlante45
Apr 15 2014 17:52
@birarda @FearghusMcMahon You have to specify the corner closest to the origin (i.e. the one with the lowest coordinates). If the voxel position and scale don’t describe a possible voxel, it will not be created.
Stephen Birarda
@birarda
Apr 15 2014 17:52
oh, we just don’t create them?
Clément Brisset
@Atlante45
Apr 15 2014 17:52
Yep.
Two reasons, their is no real way to know whiche voxel was meant to be created, and if you mess up your js in that manner, at least you won’t erase a bunch of stuff you didn’t want to.
Clément Brisset
@Atlante45
Apr 15 2014 18:00
The scale of a correct voxel needs to be equal to WORLD_SCALE / (2 ^ p), p being a positive integers.
Since WORLD_SCALE = 16384 = 2 ^ 14, that means your voxel scale should be able to be written as 2 ^ p, p < 14 (possibly even negative)
Concerning the position, each coordinate must be a multiple of the scale of the voxel, so if the voxel scale is s = 2 ^ p, that means you should have x = s i, y = s j, z = s * k.
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:01
aaah so if i understand correct...a voxel scale of 10 then actually wouldn't be correct and that might explain why some of the voxels was not in the position i expected them to be? (they was all created)
Clément Brisset
@Atlante45
Apr 15 2014 19:02
Yep, I’m posting something on the forum right now.
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:02
thanks for the explanation :)
Clément Brisset
@Atlante45
Apr 15 2014 19:02
And I’ll make an helper script later this week for people that want to get into script building.
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:03
cool, I had been looking at the example scripts a little already and also the wiki page for the javascript api (is there any other place to look for? stuff like stopscript etc i didn't see there....or is that part of regular javascripting?)
Clément Brisset
@Atlante45
Apr 15 2014 19:04
Here is a little bit more organized explanation
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:07
great!
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:47
where is it stored for the interface.exe to which domain you was last?......interface.exe crashes on windows the moment you try to connect to alpha.highfidelity.io
clearing cache etc won't help either since that will default you back to alpha.highfidelity.io as well
Leonardo Murillo
@murillodigital
Apr 15 2014 19:48
@FearghusMcMahon are you running latest interface build? alpha is now DTLS encrypted
and you will need latest code running on interface, with gnutls available
for it to connect
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:51
i used latest sources from about hour ago
Leonardo Murillo
@murillodigital
Apr 15 2014 19:52
and gnutls is being found when you build?
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:52
yup
Leonardo Murillo
@murillodigital
Apr 15 2014 19:53
what;s your public ip?
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:53
the build i did yesterday included gnutls and that was fine (when the servers was also updated)
one moment
Leonardo Murillo
@murillodigital
Apr 15 2014 19:53
yeah servers were updated to latest code but DTLS was not activated until a few hours ago
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:54
77.175.43.133
Leonardo Murillo
@murillodigital
Apr 15 2014 19:54
can you open itnerface real quick, I want to see what I get for you on the DS side
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:55
just did now
Leonardo Murillo
@murillodigital
Apr 15 2014 19:55
DEBUG] [2014-04-15 19:55:20 +0000] [19682:19680] Beginning DTLS session with node at 77.175.43.133:49223
yeha I see you attempting to connect, I think ure crashing when attempting to do the handshake
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:56
quite possibl
Leonardo Murillo
@murillodigital
Apr 15 2014 19:56
@birarda @FearghusMcMahon may be experiencing issues with DTLS on his windows build
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 19:56

Microsoft Visual C++ Debug Library

Debug Assertion Failed!

Program: E:\GitHub\hifi\build\interface\Debug\interface.exe
File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c
Line: 1322

Expression: _CrtIsValidHeapPointer(pUserData)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)

Abort Retry Ignore

oops....anyways thats the message i get
i can try to update my osx build and see what that one will do
@thoys has the same issue with his windows build
Leonardo Murillo
@murillodigital
Apr 15 2014 19:59
@birarda ^
Thijs Wenker
@thoys
Apr 15 2014 19:59
[domainServerHostname]
domainServerHostname=thoys.nl #solves it
:P
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 20:00
probably cause your server doesn't have the dtls active?
Thijs Wenker
@thoys
Apr 15 2014 20:00
could it be something with particles?
Stephen Birarda
@birarda
Apr 15 2014 20:00
it’s because your server doesn’t have dtls active @thoys
Thijs Wenker
@thoys
Apr 15 2014 20:00
because my build worked worked before on alpha
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 20:00
yeah but they not turned it on until couple hours ago
Thijs Wenker
@thoys
Apr 15 2014 20:00
ah, it worked for me like 2 hrs ago
Stephen Birarda
@birarda
Apr 15 2014 20:01
do you have the gnutls dll in your path
Thijs Wenker
@thoys
Apr 15 2014 20:01
i have all the dll's in the folder
with the exe
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 20:02
i have it in my path too
Thijs Wenker
@thoys
Apr 15 2014 20:03
feel free to debug on my pc, i got teamviewer
 ntdll.dll!77c00574()     
 [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]    
 ntdll.dll!77bc2aba()     
 ntdll.dll!77b91d17()     
msvcr100d.dll!unlock(int locknum) Line 375 C
0cebd810()
libgnutls-28.dll!082127fc()
libgnutls-28.dll!08212c49()
libgnutls-28.dll!082126a9()
interface.exe!DomainHandler::completeDTLSHandshake() Line 124 + 0x13 bytes C++
interface.exe!QtPrivate::FunctionPointer<void (__thiscall DomainHandler::*)(void)>::call<void,void>(void (void) f, DomainHandler o, void arg) Line 142 + 0x14 bytes C++
interface.exe!QtPrivate::QSlotObject<void (__thiscall DomainHandler::*)(void),void,void>::impl(int which, QtPrivate::QSlotObjectBase * this
, QObject r, void a, bool ret) Line 149 + 0x14 bytes C++
thats my stacktrace
Stephen Birarda
@birarda
Apr 15 2014 20:05
okay I will take a look
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 20:05
ah it does mention the handshake thoys
Thijs Wenker
@thoys
Apr 15 2014 20:05
hehe yeh i see
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 20:11
osx build with code updated till just now does not have the issue btw....that one logs into alpha.highfidelity.io without crashing
Stephen Birarda
@birarda
Apr 15 2014 20:15
@murillodigital I need to throw up some bots for freddy in alpha - can you not pass cert and key for now until I can look into this a bit more
Leonardo Murillo
@murillodigital
Apr 15 2014 20:15
sure one sec
Thijs Wenker
@thoys
Apr 15 2014 20:15
cool thanks gatekeeper :)
Leonardo Murillo
@murillodigital
Apr 15 2014 20:18
@birarda ready
@thoys @FearghusMcMahon can you guys try to connect again pls
Thijs Wenker
@thoys
Apr 15 2014 20:19
sure, on my way
so far so good :)
Leonardo Murillo
@murillodigital
Apr 15 2014 20:19
cool
Thijs Wenker
@thoys
Apr 15 2014 20:19
ty
Leonardo Murillo
@murillodigital
Apr 15 2014 20:19
np ;)
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 20:23
yup made it in with the windows interface again too, thanks
Thijs Wenker
@thoys
Apr 15 2014 20:30
btw, @birarda , i see some file extensions missing on your lod levels
Stephen Birarda
@birarda
Apr 15 2014 20:30
thanks, I’ll have to check with ryan about that
FearghusMcMahon
@FearghusMcMahon
Apr 15 2014 20:32
@Atlante45 Thanks btw...now that i use 2^p for voxel scale they actually are "rezzed" where i expect them
Clément Brisset
@Atlante45
Apr 15 2014 20:33
Happy to help ;)
Ben Nolan
@bnolan
Apr 15 2014 23:08
It ran well on my macbook pro retina. It asked for a login/password - where do I get one from?
I just used ben/ben and it seemed to connect ok.
Stephen Birarda
@birarda
Apr 15 2014 23:09
you can click cancel to get past that as well
login is optional (and we should probably do a better job of indicating that)
and actually having a login requires an invite to the alpha program for now
Ben Nolan
@bnolan
Apr 15 2014 23:34
ah ok cool.
so if i'm not logged in, will i see other avatars if anyone else is in there?
Stephen Birarda
@birarda
Apr 15 2014 23:35
yep definitely