Hi,
Is it possible to have a repeating texture on a line, using mantra line rendering?
Cant seem to put proper UV coordinates since a line is just one point large, the texture gets stretched in the width.
Thanks a lot.
Line texturing ?
6280 7 2- vinz
- Member
- 113 posts
- Joined: Dec. 2007
- Offline
- Wish
- Member
- 282 posts
- Joined: Jan. 2006
- Offline
- vinz
- Member
- 113 posts
- Joined: Dec. 2007
- Offline
- buki
- Member
- 1769 posts
- Joined: Dec. 2006
- Offline
hi!
try to scale the U value at the range attributes
try to scale the U value at the range attributes
daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
- Wish
- Member
- 282 posts
- Joined: Jan. 2006
- Offline
- vinz
- Member
- 113 posts
- Joined: Dec. 2007
- Offline
I've tried your suggestions, but I don't think it can works with tweaking the uv coordinates. Here's a picture showing the problem. On the left is a nurbs grid (0.5*2) with uvtexture set to rows and columns and the y scale is 4. On the right is the line (length = 2, attribute width set to 0.5).
The uvs for the grid are 0,1,0,1,0,1… wich correspond to the left and right point of the grid for uv and go from 0 to 4 for uv.
for the line, it's just 0,0,0,0.. for uv since there are no left and right points.
So I was wondering if something can be done about this.
Thanks again.
The uvs for the grid are 0,1,0,1,0,1… wich correspond to the left and right point of the grid for uv and go from 0 to 4 for uv.
for the line, it's just 0,0,0,0.. for uv since there are no left and right points.
So I was wondering if something can be done about this.
Thanks again.
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
- vinz
- Member
- 113 posts
- Joined: Dec. 2007
- Offline
-
- Quick Links