Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (opm), 778 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
bounding box of invisible entities and sprites #386658
11/07/11 15:42
11/07/11 15:42
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
Hi!
I would find it useful to include in the features of d3d_lines representing the bounding boxes of invisible models, and (visible) sprites too.
Sometimes I use hidden object for collision (e.g. now because of the new decal shadow system, which really works fine now after I revised my codes), and rarely, but I do use non-passable sprites too.
I hope it is not so complicated as collision representation... laugh


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: bounding box of invisible entities and sprites [Re: sivan] #386659
11/07/11 16:27
11/07/11 16:27
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Yes, that would be nice.

Meanwhile you can use ent_next and draw_box3d as a workaround to show all bounding boxes.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: bounding box of invisible entities and sprites [Re: Superku] #386660
11/07/11 19:33
11/07/11 19:33
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
pressing F11 twice with default.c lets you see all the bounding boxes, I think invisible model boxes are not seen though

Last edited by painkiller; 11/07/11 19:35.

3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: bounding box of invisible entities and sprites [Re: painkiller] #386662
11/07/11 19:51
11/07/11 19:51
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
The function on F11 simply sets d3d_lines to specific values and yes, the bboxes of invisible models are not shown, that's why sivan has made the request.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: bounding box of invisible entities and sprites [Re: Superku] #386665
11/07/11 21:50
11/07/11 21:50
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
thanx SuperKu, I'll try that! it is really what I need beside d3d_lines=1 laugh
but F11 would be easier grin


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: bounding box of invisible entities and sprites [Re: Superku] #387470
11/19/11 08:33
11/19/11 08:33
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
finally I implemented it because I really need it...
draw_box3d is okay only for axis aligned box drawing, and I have rotated entities too, so I had to use 12 pcs of 3D lines per entity with proper rotation for each... if someone is interested I can share it, the price is a beer laugh


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: bounding box of invisible entities and sprites [Re: sivan] #476223
02/05/19 21:22
02/05/19 21:22
Joined: Feb 2010
Posts: 7
Mainz
NnamueN Offline
Newbie
NnamueN  Offline
Newbie

Joined: Feb 2010
Posts: 7
Mainz
Hello sivan, can i get your solution. I need exactly the same too

cu Roman


So Long, and Thanks For All the Fish.
Es geht nicht darum im höchsten Level zu sein, sondern alle die vorherigen erlebt und verstanden zu haben !

Moderated by  aztec, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1