[osg-users] Displaying cables
Jean-Sébastien Guay
jean-sebastien.guay at cm-labs.com
Mon Feb 4 11:18:21 PST 2008
Hello Anders,
> I did something similar a while back.
> http://www.vrlab.umu.se/research/colosseum3d/images/cables2.avi
Wow, very nice!
> Also I did not spend that much time on the calculation of texture
> coordinates, which is as far as I know a fairly hard problem.
We're pretty satisfied with just using the world-space distance between
the two ends of a segment to determine the texture coordinates. It's not
perfect but sufficient...
> I was more or less drawing a skewed cylinder between the interpolated
> points.
That's what we're doing. Did you use OSG for your implementation? Care
to share some details on how your geometry is being built?
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
More information about the osg-users
mailing list