Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Get Island Polygons

Get Island Polygons

2005-02-09       - By Andrea Padovan XSI Dev

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi guys,

how to get disconnected polygons Inslads in a polygon mesh via scripting or c++
in quick way ?
For example...
You have a polygon sphere this some three Islands...

CreatePrim "Sphere", "MeshSurface"
ApplyTopoOp "DisconnectComponent", "sphere.poly[35-38]", siUnspecified,
siPersistentOperation
ApplyTopoOp "DisconnectComponent", "sphere.poly[12-14,20-22]", siUnspecified,
siPersistentOperation

How is the best way for to get an PolygonIndexArray for each Island ?
It could be works in a scripted Operator compiled in C++.

Thanks a lot!

Andrea.




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#aca899>
<DIV><FONT face=Arial size=2>Hi guys,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>how to get disconnected polygons Inslads in a
polygon mesh via scripting or c++ in quick way ?</FONT></DIV>
<DIV><FONT face=Arial size=2>For example... </FONT></DIV>
<DIV><FONT face=Arial size=2>You&nbsp;have a polygon sphere this some&nbsp
;three
Islands...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>CreatePrim "Sphere", "MeshSurface"</FONT></DIV>
<DIV><FONT color=#0000ff size=2>ApplyTopoOp "DisconnectComponent",
"sphere.poly[35-38]", siUnspecified, siPersistentOperation</FONT></DIV>
<DIV><FONT size=2><FONT color=#0000ff>ApplyTopoOp "DisconnectComponent",
"sphere.poly[12-14,20-22]", siUnspecified,
siPersistentOperation</FONT></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How is the best way for to get an
PolygonIndexArray
for each Island ?</FONT></DIV>
<DIV><FONT face=Arial size=2>It could be works in a scripted Operator compiled
in C++.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks a lot!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Andrea.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>