Gamestudio Links
Zorro Links
Newest Posts
no trade when there is a negative trained WFOcycle
by maxwellreturn. 08/24/19 22:33
Skip Stepcycle
by maxwellreturn. 08/24/19 22:27
Script filename
by MatPed. 08/24/19 20:49
Any Old Timers Still Around?
by pyramide. 08/24/19 18:23
Oanda FIFO issue?
by AndrewAMD. 08/24/19 12:10
IG plugin initial release
by Dalla. 08/24/19 06:06
Tutorial for Vector Graphics
by Dooley. 08/23/19 22:32
Issue with dataParse function
by byakuren81. 08/23/19 21:57
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
1 registered members (AndrewAMD), 627 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Ysbail, trader4321, GorgonzolaBYTE, Southqvist, tawin
18272 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,844
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,844
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,844
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,844
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: 6
Mainz
NnamueN Offline
Newbie
NnamueN  Offline
Newbie

Joined: Feb 2010
Posts: 6
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, elsewood, 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