View Single Post
  #5  
Old 03-10-2016, 12:51 AM
Novakin Novakin is offline
Member
 
Join Date: Dec 2015
Posts: 9
I'll add a bit of background info. I'm trying to draw the default Vizard gloves (viz.add('glove.cfg') and viz.add('glove_left.cfg')) as my hands using the Razer Hydra. This works great when I set the clip range to something like (0.1, 1000). However, the world we're visualizing is BIG, and a clip range of (10, 100000) is what we're using if we're not using the Hydra (and not showing gloves) but just keyboard and mouse. (Note: can't use a clip range of something like (0.1, 100000), because then we get z-fighting).

So what I'm trying to achieve is use the same big clip range, but then force draw the gloves up close. The code above (in your first and second posts) almost works, but still shows some 'glitches' in the gloves when you're moving and turning them.

If you have any tips, I'm always interested!
Reply With Quote