Particle Hair on WebGL

Works in progress and technical screen shots.

Moderator: joepal

Particle Hair on WebGL

Postby jcpalmer » Fri Aug 11, 2017 5:00 pm

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.
jcpalmer
 
Posts: 106
Joined: Tue Dec 16, 2014 4:14 pm

Re: Particle Hair on WebGL

Postby RobBaer » Sun Aug 13, 2017 1:54 am

Really interesting project. Amazing how much life you get out of the blink, but the hair does fall a bit shorter than ideal :?
User avatar
RobBaer
 
Posts: 894
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: Particle Hair on WebGL

Postby jcpalmer » Tue Aug 15, 2017 8:12 pm

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.
jcpalmer
 
Posts: 106
Joined: Tue Dec 16, 2014 4:14 pm

Re: Particle Hair on WebGL

Postby jcpalmer » Tue Aug 15, 2017 8:38 pm

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.
Attachments
head with tris.jpg
jcpalmer
 
Posts: 106
Joined: Tue Dec 16, 2014 4:14 pm

Re: Particle Hair on WebGL

Postby jcpalmer » Thu Sep 21, 2017 8:59 pm

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
jcpalmer
 
Posts: 106
Joined: Tue Dec 16, 2014 4:14 pm


Return to WIP (Work In Progress)

Who is online

Users browsing this forum: No registered users and 1 guest