Skip to main content
GameDev.net gamedev.net
🔒 Locked

Splitting A Model into 4 segments

Started by hahaha Feb 20, 2008 at 12:15 AM 0 replies 950+ views
Original Post
hahaha
hahaha
I load a model into memory and i have the vertices and faces of it. i want to divide the faces into the segments 1-4 |-----------| |..1..|..2..| |.....|.....| |-----|-----| |..3..|..4..| |.....|.....| |-----------| How would i sort the faces into their correct segment based on their position? Thanks
Rasmadrak
Rasmadrak
You simply loop through each triangle and insert it where it can fit, plenty of code is available on google. :)
Search for something like AABB (Axis-aligned bounding box) + triangles or something similar.
"Game Maker For Life, probably never professional thou." =)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.