- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
Projects
>>
In-Development
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
How do I find orientation of a wall
Pages: [
1
]
« previous
next »
Print
Author
Topic: How do I find orientation of a wall (Read 771 times)
harikumar001
Customers
Community Member
Posts: 65
How do I find orientation of a wall
«
on:
September 03, 2010, 10:44:20 PM »
Hey guys,
Have a good day.
My programs draws walls in 3D from 2d lines that the user draws. I use AddWall3D for the same.
The user can draw multiple walls to create a room. I need to know which side of the wall is the interior and which the exterior. From what I understand, I have to get the normals of the wall faces, but i am unable to identify which face represents the interior.
Any pointers would be greatly appreciated.
Regards
Logged
Mithrandir
Community Member
Posts: 325
Re: How do I find orientation of a wall
«
Reply #1 on:
September 04, 2010, 11:38:08 AM »
Create a point along the normal and check whether this point is inside a polygon described by the lines/walls.
You can google out plenty of materials about how to check whether a point is inside a polygon. Or as the wise man said: Google the question.
Logged
harikumar001
Customers
Community Member
Posts: 65
Re: How do I find orientation of a wall
«
Reply #2 on:
September 04, 2010, 11:16:50 PM »
Thanks
mithrandir
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Game Development
-----------------------------
Projects
-----------------------------
=> In-Development
=> Showcase
=> Recruitment
=> Announcements
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.5
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
-----------------------------
TV3D SDK
-----------------------------
===> Shader Development
===> Content Pipeline
===> Bugs
-----------------------------
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