Page 1 of 1

Particle Hair on WebGL

PostPosted: Fri Aug 11, 2017 5:00 pm
by jcpalmer
https://palmer-jc.github.io/scenes/QueuedInterpolation/hair_coloring/index.html

I have recently posted how far I am getting with regards to exporting stranded hair to Babylon.JS.

The biggest limitation I am facing is line width is fixed. When far away, looks like shag carpet. Too close and you can see right thru. I have a couple of things I am going to try to minimize these.

Blender cycles is out of the question on WebGL. I am using vertex color. As I would have to program this regardless, I am not computing it until it is imported. You save on the data bandwidth by computing in Blender & exporting, as well as be able to change it in the browser. This little scene, can help determine the settings to use on export without exporting by trial and error.

Re: Particle Hair on WebGL

PostPosted: Sun Aug 13, 2017 1:54 am
by RobBaer
Really interesting project. Amazing how much life you get out of the blink, but the hair does fall a bit shorter than ideal :?

Re: Particle Hair on WebGL

PostPosted: Tue Aug 15, 2017 8:12 pm
by jcpalmer
Thanks. FYI, I have tried to make a sort of triangular spaghetti from the data instead of just drawing a line. It has sort of worked, but the original link is out of commission. I have a thread about this on another forum. Will update this as the original scene become operational again.

Here is a live scene of something that is working.

Re: Particle Hair on WebGL

PostPosted: Tue Aug 15, 2017 8:38 pm
by jcpalmer
The original scene failed due to massive console logging. I turned it off. Zoom looks great from certain angles. It is kind of difficult to relate issues here. See other site, if interested.

Re: Particle Hair on WebGL

PostPosted: Thu Sep 21, 2017 8:59 pm
by jcpalmer
There has been progress on the stranded hair front. I had shelved this, because a potential client was asking about speech, so I needed to finish that. I am back to finish hair. It is starting to look very high quality. Maybe check that thread a couple of times in the near future, if interested. To go directly to the test scene, https://palmer-jc.github.io/scenes/QueuedInterpolation/hair_coloring/index.html