prvi_treti Posted April 1, 2015 Share Posted April 1, 2015 Hello there, I just finished MVA course (thanks to English subtitles (jk)) and hope my question makes some sense As I consider an isometric game involving map, I need something like, as in Dao Chemicals building of Simcity 4. When I asked Ocean Quigley about it, he briefly said that "We UV'd the building sprites onto those boxes" . But considering that I will use prerendered assets ie sprite, I wonder if it is wiser and/or possible to use a bounding box for sprite , something like And considering that I also need to highlight sprite when mouse is over like So my question is, should I go with UVing simple geometry or use sprite with bounding box? And In case of latter (which I favor), does it lead to any issue I can't foresee atm? Thanks in advance, Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 1, 2015 Share Posted April 1, 2015 Hey, thank you for my english accent I would rather go with UVing simple geometry because you will have more control over positioning, collisions and special effects Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted April 1, 2015 Author Share Posted April 1, 2015 Hey, thank you for my english accent I would rather go with UVing simple geometry because you will have more control over positioning, collisions and special effects Thanks for reply. Beside the fact that I still didn't fully get how to UV simple geometry because at all examples they UV a crate , wouldn't it be a problem to highlight "texture" when mouse is over box but not over texture itself? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 1, 2015 Share Posted April 1, 2015 Do you want to highlight only when mouse is over the texture right? Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted April 2, 2015 Author Share Posted April 2, 2015 Do you want to highlight only when mouse is over the texture right? Sorry for late reply. Indeed, I want to highlight texture/sprite only when mouse is over/down. In addition to this, for future collision detection I need a bounding box(/mesh/simple geometry ? not sure how to call it) as well. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 2, 2015 Share Posted April 2, 2015 Bounding boxes/bounding spheres collisions are provided out of the boxFor texture picking, you can use scene.pick and then use the pickingResult object to get the UV of the picked point Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted April 9, 2015 Author Share Posted April 9, 2015 Bounding boxes/bounding spheres collisions are provided out of the boxFor texture picking, you can use scene.pick and then use the pickingResult object to get the UV of the picked point Sorry for late reply, pity didn't have chance to try your suggestion yet but will be pleased if you can clarify whether (for example), container next to building (outlined in red) can be picked this way or not. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 9, 2015 Share Posted April 9, 2015 Is it an object in this case? or is it part of the big box? Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted April 9, 2015 Author Share Posted April 9, 2015 Is it an object in this case? or is it part of the big box? Indeed, it's a separate object. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 10, 2015 Share Posted April 10, 2015 so no problem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.