- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.3
>>
Delete a wall
Pages: [
1
]
« previous
next »
Print
Author
Topic: Delete a wall (Read 476 times)
rott7
Community Member
Posts: 3
Delete a wall
«
on:
May 21, 2008, 10:59:28 AM »
How can i delete a wall from the scene? Thanks
Logged
newborn
Customers
Community Member
Posts: 2437
Re: Delete a wall
«
Reply #1 on:
May 21, 2008, 07:29:52 PM »
wall.destroy
Logged
rott7
Community Member
Posts: 3
Re: Delete a wall
«
Reply #2 on:
May 22, 2008, 10:20:49 AM »
no, i have a scene called 'shop' then i do shop.addwall(.....) how can i delete all walls from scene?
if i destroy the scene i destroy the cam too? beacuse when i do shop.destroy all it's black
Logged
sciophyte
Customers
Community Member
Posts: 214
Re: Delete a wall
«
Reply #3 on:
May 22, 2008, 12:53:05 PM »
there's no deleting unless you destroy the whole object. if you want to destroy or swap components you're best off making each 'part' a seperate object, so maybe an array of meshes, one element for the floor, one element for each wall, etc.
Logged
jviper
Community Member
Posts: 1365
Discipline in training
Re: Delete a wall
«
Reply #4 on:
May 22, 2008, 01:53:26 PM »
The only other way to delete that wall is you have to know the FaceID of that wall. Then you have to go into TVInternalObjects, or use GetTriangle/SetVertexInfo/GetGeometry and SetGeometry to modify the index buffer. It's just the way DirectX is, it makes a Mesh.DeleteFace(FaceID) very complicated.
Logged
JAbstract.....Don't just imagine, make it happen!
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
=> TV3D SDK 6.5
===> Bugs
===> Content Pipeline
===> Shader Development
-----------------------------
Projects
-----------------------------
=> Announcements
=> In-Development
=> Showcase
=> Recruitment
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
=> Game Development
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks