Making a polygon from predefined points in vex.
4370 6 0- NicTanghe
- Member
- 189 posts
- Joined: Dec. 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 - Oct. 11, 2018 18:05:20
- BabaJ
- Member
- 2024 posts
- Joined: Sept. 2015
- Offline
- NicTanghe
- Member
- 189 posts
- Joined: Dec. 2016
- Offline
- blackpixel_mv
- Member
- 83 posts
- Joined: Aug. 2018
- Offline
- BabaJ
- Member
- 2024 posts
- Joined: Sept. 2015
- Offline
- NicTanghe
- Member
- 189 posts
- Joined: Dec. 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
- 2024 posts
- Joined: Sept. 2015
- Offline
-
- Quick Links