Jump to content

Recommended Posts

Posted

For example: you have a 5mx5m mesh plane that has a 5x5 division resulting in 50 triangles that are all using the exact same material (which then would be considered one surface). Now using a pick based on mouse position on the mesh, how would you determine what vertex your mouse was over? I do not see a GetVertex() or GetTriangle() that could allow you determine which vertex index you are near... and you need this vertex index to be able to get/set the vertex position, color, etc..

 

Unless I am missing something obvious, it appears theres a command missing in the wiki?

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

does pick.triangle only work for C? can anyone thats using C or C++ check to see if it returns anything besides zero? In lua and bmax that's all it ever returns...

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...