Forum Karczmy Bezdennego Kufla
Forum świata wyobraźni...
FAQ
Szukaj
Użytkownicy
Grupy
Galerie
Rejestracja
Profil
Zaloguj się, by sprawdzić wiadomości
Zaloguj
Forum Forum Karczmy Bezdennego Kufla Strona Główna
->
Forum Ogólne
Napisz odpowiedź
Użytkownik
Temat
Treść wiadomości
Emotikony
Więcej Ikon
Kolor:
Domyślny
Ciemnoczerwony
Czerwony
Pomarańćzowy
Brązowy
Żółty
Zielony
Oliwkowy
Błękitny
Niebieski
Ciemnoniebieski
Purpurowy
Fioletowy
Biały
Czarny
Rozmiar:
Minimalny
Mały
Normalny
Duży
Ogromny
Zamknij Tagi
Opcje
HTML:
TAK
BBCode
:
TAK
Uśmieszki:
TAK
Wyłącz HTML w tym poście
Wyłącz BBCode w tym poście
Wyłącz Uśmieszki w tym poście
Kod potwierdzający: *
Wszystkie czasy w strefie EET (Europa)
Skocz do:
Wybierz forum
Ogólne
----------------
Forum Ogólne
Karczma
----------------
Informacje
Wolna Twórczość
RPG
----------------
Sesje RPG
Gildie
Dla PCtowców
----------------
MMORPG
cRPG
Inne
Off Topic
----------------
Off Topic
Kosz
----------------
Kosz
Przegląd tematu
Autor
Wiadomość
cheapbag214s
Wysłany: Pią 19:13, 13 Wrz 2013
Temat postu: Jiglib for triangle picking-spun3
Jiglib for triangle picking
I assume you want to choose a triangle in a model mesh as with this demo.
You are able to pick a triangle with jiglibx, provided your models are part of a physics object and fit inside a collisionskin. This because the physics only cares about skins, not the models.
So if your models do all fit inside a collision skin,[url=http://giuseppezanottisneakers.webmium.com/][b]giuseppe zanotti sneakers on sale[/b][/url], you can use SegmentIntersect() to determine what skin you are picking. Detailed objects for example fire hydrants or pipes aren't normally part of the elementary geometry and are instanced objects added at runtime. Those objects tend to have a lower detail collision skin,[url=http://wheretobuyrogerviviershoes.webmium.com/][b]where to buy roger vivier shoes buy roger vivier shoes online[/b][/url], as well as just use primitives. This is the reason why you don't normally see weapon damage on doodads.
If you are attempting to damage something similar to a player model,[url=http://monclerjackendeutschland.albirank.net/][b]http://monclerjackendeutschland.albirank.net/[/b][/url], you are going to need to do some sort of high detail collision test outside of jiglib. This is quite simple, simply do a ray test on your model mesh. There's a few examples about the XNA site.
What you said is kind of weird. Maybe I miss something. I want to retrieve the polygon position or indice inside a mesh,[url=http://peutereyjacketsuppliers.webmium.com/][b]Peuterey Jacket uk[/b][/url], it's suppose to become a level,[url=http://giuseppezanottisneakers.webmium.com/][b]http://giuseppezanottisneakers.webmium.com/[/b][/url], a triangle mesh and it also have to match to actual mesh.
I was thinking jiglibX collision system would be a more sensible choice than with a couple other method. I'm able to produce a secondary collision system ( I wish to create bullet hole) to hold all of the level and let the dynamic one aside,[url=http://woolrichoutletitalia.albirank.net/][b]Woolrich Giacche Outlet online Italia Woolrich Piumini Vendita italy[/b][/url]. Also I'm able to split innto active zone using bounding box contains or someting alike to sort collision which aren't necessary.
Do you consider it would kill my framerate ,[url=http://parajumpersoutletjackets.webmium.com/][b]parajumpers jackets[/b][/url]?
Basic raytesting against a mesh is fairly quick. To optimise it further,[url=http://parajumpersoutletjackets.webmium.com/][b]parajumpers jackets outlet[/b][/url], you can use an oct-tree. JigLib can perform all this for you personally. Since you are testing a static object,[url=http://peutereyjacketsuppliers.webmium.com/][b]Peuterey Jacket outlet[/b][/url], you can use JigLib.
The only real time you would not use JigLib with this is if your collision skin doesn't match your mesh exactly,[url=http://monclerjacketsformenssale.albirank.net/][b]http://monclerjacketsformenssale.albirank.net/[/b][/url], or your object you're tests are moving. Like moving objects won't be oct-tree optimised as that's not something you'd rebuild every frame.
相关的主题文章:
[url=http://www.ariceptjga.fora.pl/forum-testowe,1/buy-fast-track-watches-online-spun4,13001.html#13113]http://www.ariceptjga.fora.pl/forum-testowe,1/buy-fast-track-watches-online-spun4,13001.html#13113[/url]
[url=http://www.compazinegtccv.fora.pl/what-say-watery-smile-work-during-quiet-breath-ambien-strengths-loove-you-iscouraged,1/nike-t90-tracer-soccer-cleats-101,11036.html#11082]http://www.compazinegtccv.fora.pl/what-say-watery-smile-work-during-quiet-breath-ambien-strengths-loove-you-iscouraged,1/nike-t90-tracer-soccer-cleats-101,11036.html#11082[/url]
[url=http://www.cephalexinqxeka.fora.pl/take-them-throaty-laugh-ommy-had-numb,1/online-auction-supports-three-local-conservation-o,8844.html#8876]http://www.cephalexinqxeka.fora.pl/take-them-throaty-laugh-ommy-had-numb,1/online-auction-supports-three-local-conservation-o,8844.html#8876[/url]
[url=http://www.nortriptylinepztbm.fora.pl/jason-clutched-featuring-brand-hand-coming-you-seduced-shoulders-tightened-politics,1/comme-des-garcons-at-h-prices-spun3,8996.html#9012]http://www.nortriptylinepztbm.fora.pl/jason-clutched-featuring-brand-hand-coming-you-seduced-shoulders-tightened-politics,1/comme-des-garcons-at-h-prices-spun3,8996.html#9012[/url]
[url=http://www.linefriends.com/user_blog.php]http://www.linefriends.com/user_blog.php[/url]
[url=http://www.vasotecdzeen.fora.pl/need-you-two-brown-the-hole-prozac-news-positions,1/jordans-on-sale-for-cheap-women-s-soccer-shoes-s,15242.html#15350]http://www.vasotecdzeen.fora.pl/need-you-two-brown-the-hole-prozac-news-positions,1/jordans-on-sale-for-cheap-women-s-soccer-shoes-s,15242.html#15350[/url]
[url=http://vidacristiana.com.ve/red/index.php?do=/blog/436566/living-bangor-daily-news-bdn-maine-spun4/]http://vidacristiana.com.ve/red/index.php?do=/blog/436566/living-bangor-daily-news-bdn-maine-spun4/[/url]
[url=http://development.compuphonic.co.uk/index.php?do=/user/login/]http://development.compuphonic.co.uk/index.php?do=/user/login/[/url]
[url=http://vishivay.ru/forum/viewtopic.php?p=947227#947227]http://vishivay.ru/forum/viewtopic.php?p=947227#947227[/url]
[url=http://myranks.com/profile.php?user=loubointin31&v=comments]http://myranks.com/profile.php?user=loubointin31&v=comments[/url]
[url=http://www.fingerlog.com/index.php?do=/user/login/]http://www.fingerlog.com/index.php?do=/user/login/[/url]
[url=http://www.darknessevolution.fora.pl/1st-pelase-vote-for-maple-galaxy,2/burberry-bags-for-cheap-should-be-it-can-make-spun,66394.html#74978]http://www.darknessevolution.fora.pl/1st-pelase-vote-for-maple-galaxy,2/burberry-bags-for-cheap-should-be-it-can-make-spun,66394.html#74978[/url]
[url=http://margarettucker.org/messageboard/viewtopic.php?f=3&t=255226]http://margarettucker.org/messageboard/viewtopic.php?f=3&t=255226[/url]
[url=http://www.taihome.com/showthread.php?p=376093#post376093]http://www.taihome.com/showthread.php?p=376093#post376093[/url]
[url=http://www.lorazepamfsytk.fora.pl/raina-pushed-tadalafil-soft-some-dumb-hunt-you-horn,1/it-s-a-real-gray-area-spun3,9017.html#9057]http://www.lorazepamfsytk.fora.pl/raina-pushed-tadalafil-soft-some-dumb-hunt-you-horn,1/it-s-a-real-gray-area-spun3,9017.html#9057[/url]
fora.pl
- załóż własne forum dyskusyjne za darmo
Powered by
phpBB
© 2001 phpBB Group
Chronicles phpBB2 theme by
Jakob Persson
(
http://www.eddingschronicles.com
). Stone textures by
Patty Herford
.
Regulamin