Making a polygon from predefined points in vex.
4471 6 0- NicTanghe
- Member
- 193 posts
- Joined: 12月 2016
- Offline
Total noob qestion here i was having some dificulity finding an answer to my question.
i was trying to make a road in a tunnel.
i started by wanting to make a polygon by feeding the points 0,1,21,23 into addprim.
as such
int road1 = addprim(0;“poly”; points) For some reason the array i put here does not not apear 1,0,23,21.
Nothing happened. now i'm stuck.
also anny help with making some sort of for loop to automaticly add poligons to all the bottom surfaces whould be greatly apreciated.
i was trying to make a road in a tunnel.
i started by wanting to make a polygon by feeding the points 0,1,21,23 into addprim.
as such
int road1 = addprim(0;“poly”; points) For some reason the array i put here does not not apear 1,0,23,21.
Nothing happened. now i'm stuck.
also anny help with making some sort of for loop to automaticly add poligons to all the bottom surfaces whould be greatly apreciated.
Edited by NicTanghe - 2018年10月11日 18:05:20
- BabaJ
- Member
- 2042 posts
- Joined: 9月 2015
- Offline
- NicTanghe
- Member
- 193 posts
- Joined: 12月 2016
- Offline
- blackpixel_mv
- Member
- 83 posts
- Joined: 8月 2018
- Offline
- BabaJ
- Member
- 2042 posts
- Joined: 9月 2015
- Offline
- NicTanghe
- Member
- 193 posts
- Joined: 12月 2016
- Offline
ok so i'm switching to a new tactic for creating the tunnel so the points are lined up.
However i am having issues with creating a for each loop in vex. i can not figure it out for the life ofme.
I tried in vex and with a normal for each loop. i cant figure out how to do for each point in ID (or group.)
i whould greatly apreasiate anny help that can be offered.
However i am having issues with creating a for each loop in vex. i can not figure it out for the life ofme.
I tried in vex and with a normal for each loop. i cant figure out how to do for each point in ID (or group.)
i whould greatly apreasiate anny help that can be offered.
- BabaJ
- Member
- 2042 posts
- Joined: 9月 2015
- Offline
-
- Quick Links