These are chat archives for highfidelity/hifi

21st
Mar 2017
Trent Polack
@mittens
Mar 21 2017 19:29
so, I'm trying to setup a light sandbox for testing isolated changes and the like
and... clear as mud now
but trying to debug/step-through file parsing code in the main interface env is like... pain
Melissa Brown
@themelissabrown
Mar 21 2017 19:46
/all anyone here that can talk about meshes? @mittens pointed out that it looks like this OBJ reader generates one mesh with two materials which would explain why it just renders everything with one material, but wants to be sure there isn't something downstream that takes care of it
@/all
Trent Polack
@mittens
Mar 21 2017 19:46
^ that too
(also placing an OBJ in the world crashes my interface session)
(sans any local modifications)
Melissa Brown
@themelissabrown
Mar 21 2017 20:01
@cozza13 might have some insight
Melissa Brown
@themelissabrown
Mar 21 2017 20:28
@huffman might be able to help troubleshoot why placing an OBJ in the world crashes interface or sandbox
Clément Brisset
@Atlante45
Mar 21 2017 20:28
@mittens DO you mean a simple stand-alone renderer?
Unfortunately no.
I can walk you through setting up a sandbox if needed though.
Trent Polack
@mittens
Mar 21 2017 20:34
@themelissabrown rocked me through the sandbox intro
thanks muchly, though
i would have preferred your help. mel is so mean
she kept calling me a peasant
Ryan Huffman
@huffman
Mar 21 2017 20:43
That shouldn't happen - is it the motobug objs that are crashing your interface, @mittens ?
Trent Polack
@mittens
Mar 21 2017 20:43
yeah
nothing particularly special about them other than the multi-material
Clément Brisset
@Atlante45
Mar 21 2017 20:47
FYI, there is some model work coming soon.
We writing a baking tool to reduce network load and get a low LOD render up on screen faster.
This will probably include some changes to the way we store/process models.
Trent Polack
@mittens
Mar 21 2017 20:47
well that doesn't help me with this worklist task :P
but yeah, my wonder was if the MTL had to be directly loaded in order for the OBJ placement into the world to work
but still crashyville
Clément Brisset
@Atlante45
Mar 21 2017 20:48
And this work will definitely rely on the branch in the works right now, that switches us to using KTX textures.
Do you know where it crashes?
Got a stack trace?
Trent Polack
@mittens
Mar 21 2017 20:49
one sec
Ryan Huffman
@huffman
Mar 21 2017 20:49
Hmm, are you running latest master @mittens ?
Trent Polack
@mittens
Mar 21 2017 20:50
yes indeedo
that's the exported OBJ with the MTL + assorted textures
Ryan Huffman
@huffman
Mar 21 2017 20:54
@mittens Yep, that's the one I was using! I got it from your PR
Trent Polack
@mittens
Mar 21 2017 20:54
well you're a sorcerer
Ryan Huffman
@huffman
Mar 21 2017 20:55
;)
I just tried with a debug build off this morning's master and it is working
Do you consistently crash?
Trent Polack
@mittens
Mar 21 2017 20:57
100%
Ryan Huffman
@huffman
Mar 21 2017 21:01
Are you using the obj as the collision shape for your entity?
Trying it now
Clément Brisset
@Atlante45
Mar 21 2017 21:02
What process do you go through to import it?
Trent Polack
@mittens
Mar 21 2017 21:02
assets->import file
Clément Brisset
@Atlante45
Mar 21 2017 21:03
Ohhh, ok.
That won't work.
Though, it shouldn't crash
Will file as a bug
This is to import entity files. This is different.
Trent Polack
@mittens
Mar 21 2017 21:03
ahhhh
Clément Brisset
@Atlante45
Mar 21 2017 21:03
You should have a tool back.
Click "Edit"
A new toolbar should show up.
Trent Polack
@mittens
Mar 21 2017 21:04
meshes?
Clément Brisset
@Atlante45
Mar 21 2017 21:04
Yes, and then put a ref to the local file.
Trent Polack
@mittens
Mar 21 2017 21:05
so i have the obj in: hifi\build\interface\Debug\resources\meshes\test\motobug.obj
what's the proper ref url for that?
Clément Brisset
@Atlante45
Mar 21 2017 21:06
C:\path\to\model.obj
Trent Polack
@mittens
Mar 21 2017 21:06
...
oh.
Clément Brisset
@Atlante45
Mar 21 2017 21:06
Can I come to your domain?
Trent Polack
@mittens
Mar 21 2017 21:08
hifi://ivory-bandwidth-2342
?
Clément Brisset
@Atlante45
Mar 21 2017 21:08
Yup
Can you see me?
Trent Polack
@mittens
Mar 21 2017 21:09
yes!
and then I jumped to look at the bug
which was apparently in deep space
Clément Brisset
@Atlante45
Mar 21 2017 21:10
Hmmm, I can see you. I can hear your music too. but apparently you can't hear me.
You should check that your audio devices are correctly selected in the "Audio" menu.
Trent Polack
@mittens
Mar 21 2017 21:11
yeah, they're set right
Clément Brisset
@Atlante45
Mar 21 2017 21:12
Hmmm, looks like you dropped a model that broke rendering xD
Trent Polack
@mittens
Mar 21 2017 21:12
hahaha
i'm good at that
it's interesting that it didn't load its associated textures either
Clément Brisset
@Atlante45
Mar 21 2017 21:13
=)
Just curious, did you drag'n'drop the model into interface?
Trent Polack
@mittens
Mar 21 2017 21:13
just jumped out
have to wrap things up for the day
but no, i just opened up the mesh menu and pasted the local URL to the OBJ
Clément Brisset
@Atlante45
Mar 21 2017 21:14
Ok, no worries. We'll figure it out next time.
Trent Polack
@mittens
Mar 21 2017 21:14
I'll ping you in the morning; I appreciate the help
Clément Brisset
@Atlante45
Mar 21 2017 21:15
No problem, see ya.
Trent Polack
@mittens
Mar 21 2017 21:15
melissa is forwarding me things so I'm not so dumb within the actual interface as well
I tell you, she holds this stuff back just to mock me later
Melissa Brown
@themelissabrown
Mar 21 2017 21:15
it's usually true
Clément Brisset
@Atlante45
Mar 21 2017 21:15
Ahahahah, I bet she does ^^
Melissa Brown
@themelissabrown
Mar 21 2017 21:15
in this case, I was just told that something I thought was for interface users is actually for devs as well
:)